I've got report header a, which contains a sub-report with headers a and b. The reason for this layout is that in the subreport, I do a sql lookup to find which header to suppress (a db lookup based on the main report's parameter). This part works great, and doesn't interfere with the main report's SQL (my whole reason for doing this convoluted way.)
Now, however, I can't seem to tie into the pagecount of the main report for my Page N of M page numbering field. Instead, I just get "Page 1 of -1"
Any ideas on tying in the main report's page count into a sub-report's "other" field types???
Otherwise,is there a better way to do this so I won't have to?
Thanks,
-Bob
Now, however, I can't seem to tie into the pagecount of the main report for my Page N of M page numbering field. Instead, I just get "Page 1 of -1"
Any ideas on tying in the main report's page count into a sub-report's "other" field types???
Otherwise,is there a better way to do this so I won't have to?
Thanks,
-Bob