Hi all,
I have tried search though online and forum but I can't find related post, maybe i using wrong keyword or something.
Anyway, back to the point.
Due to many reason, I have a report that need print from multiple source(record). For example, Item and Sales Header, and the request page will show 2 filter section, 1 for item and the other for Sales Header.
So my question is, can i hide the individual section based on condition?
For example, if I print from Item, it will only show Item filter section and vise versa.
I know the easiest way is split to multiple report, but again, due to many reason, specially maintenance of layout.
I did try set the sorting in DataItemTableView properties to hide the filter and set filter when print from item, to see I can "force" the filter come out or not. But no luck at the end, either hide or show the section only.
I can guess that this is not possible in Navision, however I hope I wrong.
Thank in advance.
Answers
You could also create a function on the report itself and call that before running the report and then checking in the PreDataitem if the condition is met then break out of the dataitem.
This I had think before, however might not a good way as i cant keep add if user request to add new filter.
You could also create a function on the report itself and call that before running the report and then checking in the PreDataitem if the condition is met then break out of the dataitem.
I not quiet sure the meaning of " then break out of the dataitem.", can you explain further?