Hi all,
suppose i have two data items A and B
I have a groupheader on dataitem A.
then i do some verifications in dataitem B.
Now if dataitem B does not produce any records, how do i prevent my report from printing groupheader of dataitem A.
thankx in advance
0
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I think this is because in the dataitem B i have written some codes where it may happen it skips certain records in dataitem B.
is there any other way??
Declare another variable with the same record as DataItem B. Then in the OnPreSection trigger of Groupheader of Dataitem A. Process the same processing as DataItem B does using your new created variable. Now if variable does not produce any records. Then you can now use CurrReport.SHOWOUTPUT(variable.count <> 0);