Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8927

Re: Providing values to formulas from vb.net

$
0
0

I've just resolved my problem.  The answer was to remove the single quotes (Chr(39)) from around the numeric variable I was setting the function to.  Instead of this:

 

 

     lrptInvoice.DataDefinition.FormulaFields("ShopSuppliesAmount").Text = Chr(39) & mdecShopSuppliesAmount.ToString & Chr(39)

 

 

I should have coded this:

 

 

     lrptInvoice.DataDefinition.FormulaFields("ShopSuppliesAmount").Text = mdecShopSuppliesAmount.ToString

 

 

The report is working perfectly now.


Viewing all articles
Browse latest Browse all 8927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>