Dear All,

I referred report No: 1001 Inventory Valuation for the dataitem Value Entry. I found that it contains CALCTOTALS Function with variables into it. I just want to know how the function works as it was written onPreDataItem trigger.




From my understanding, you “Declare” what fields or variables you wish to create totals for (in the predataitem), then when you display this feild or variable in the footer it will display the sum of all occurances. this is great for using it in reports you dont need to write Xtotal += X… this same feature is availabe in the properties for the DATAITEM but it will only apply to the fields in that table.

Hope this helps

Thank u very much Ziad… Your description made me conceptually clear about the function CALCTOTALS.