I would like to group item by Inventory posting group in Value Entry, so I decided put all text box to Group Footer (or Group Header still ok). The simple process, ex. counting line for each item worked well, report can loop through each item and show all item by group. But I want to put some code to filter data, report cannot loop, it just run at the first item and stop ](*,) . Please help!
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thanks for replying, I put it on Value Entry, GroupFooter - OnPreSection here is my code :
I also put the same code in Value Entry - OnAfterGetRecord, but still get the same result
Furthermore, why are you using SETRANGE and FINDFIRST on primary keys ? I'd replace with And that also goes for when you are getting your Inventory Posting Group.
This code is already run ok, difference is the structure of the old one is: DataItem Level
Item
Value Entry
Because user change Inventory posting group when posting, so this structure cannot get the value in Value entry table, so I just use only one Data Item is Value Entry. Here I should transfer code to this new report and don't understand why it don't loop and show all item with my code.
Just as you said. I define the new one and it ok, thanks you so much!