I have a report that needs to print the DataBand the number of times equal to the value of the OnHand column
In the Before Print event on the DataBand, I have the following code DataBand1.CountData = products.onhand;
I have also tried {DataBand1.CountData = products.onhand;} and {DataBand1.CountData = products.onhand} and DataBand1.CountData = products.onhand
I have seen the above syntax in other posts on the forum, except they are 4-5 years old. Has the syntax changed any?
The result is each band prints only once no matter which syntax I use.
CountData property not working
Re: CountData property not working
We figured this out, we had to use JS syntax
DataBand2.countData = parseInt(products.getData("onhand"));
DataBand2.countData = parseInt(products.getData("onhand"));
-
- Posts: 7291
- Joined: Tue Mar 20, 2018 5:34 am
Re: CountData property not working
Hello,
Thank you for the information.
Thank you for the information.