T
Tamiyra
Guest
Hi,
If anyone can help, i would appreciate it.
This is kinda hard to explain so please bare with me. Ok my main report is set up as follows:
pageHeader
subreport1
conditional pagebreak...
subreport2
subreport3
subreport4
PageFooter
Basically each subreport is its own complete report and the main report is used only to merge the reports into one report package. The problem I am having is that I want the page numbers on the subreports to carry over and be the same as they were when the subreports were standalone reports (Indivdual Page numbers for each subreport). But when i run the main report, the page numbers all appear as zero.. I have tried making my own counters in replace of the [page] report variable, and that works when the subreport is run, but when the report is called from main report it doesn't work properly. It is like the code on the subform is ran in a totally different way if it is viewed by itself or from a master form. I have tried just resetting the [page] variable with code and with a macro also but still it displays 0. Is there a way around this, if anybody can understand what I am trying do...
Any suggestions would be extremley helpful......Cause i have spent 2 days on this now and have no clue how to accomplish this....

If anyone can help, i would appreciate it.
This is kinda hard to explain so please bare with me. Ok my main report is set up as follows:
pageHeader
subreport1
conditional pagebreak...
subreport2
subreport3
subreport4
PageFooter
Basically each subreport is its own complete report and the main report is used only to merge the reports into one report package. The problem I am having is that I want the page numbers on the subreports to carry over and be the same as they were when the subreports were standalone reports (Indivdual Page numbers for each subreport). But when i run the main report, the page numbers all appear as zero.. I have tried making my own counters in replace of the [page] report variable, and that works when the subreport is run, but when the report is called from main report it doesn't work properly. It is like the code on the subform is ran in a totally different way if it is viewed by itself or from a master form. I have tried just resetting the [page] variable with code and with a macro also but still it displays 0. Is there a way around this, if anybody can understand what I am trying do...
Any suggestions would be extremley helpful......Cause i have spent 2 days on this now and have no clue how to accomplish this....