G
Guest
Ok, I have an unusual problem with a report. I'll try to explain. I have a
main report that prints some header/footer data with no problem. In the
detail section of the report is a subreport that has a group on StockNum.
The detail section of the sub report has serial#s but they are not printed in
the detail section. Instead, I'm stringing them together in the subreport
Detail_Format event and then printing that string in the subreport footer.
Everything works beautifully until it prints the last page (only if more than
one page). On the last page, the serial# string that gets printed on the sub
report's 1st group footer is the serial # string of the last group footer of
the page - instead of the 1st serial# string of the page. I know this may be
confusing so here's an example.
last page of report:
1st group footer prints
Stock# abcd
Serial# 9999
2nd group footer prints
Stock# efgh
Serial# 2222
3rd (and last of page/report) group footer prints
Stock# ijkl
Serial# 9999
The serial# of the 1st group footer should be 1111 not 9999 (the last
serial#). This occurs everytime, no matter what the data.
If I open the subreport by itself, the serial# are correct for each footer.
Sorry if this doesn't make sence and any help is greatly appreciated.
main report that prints some header/footer data with no problem. In the
detail section of the report is a subreport that has a group on StockNum.
The detail section of the sub report has serial#s but they are not printed in
the detail section. Instead, I'm stringing them together in the subreport
Detail_Format event and then printing that string in the subreport footer.
Everything works beautifully until it prints the last page (only if more than
one page). On the last page, the serial# string that gets printed on the sub
report's 1st group footer is the serial # string of the last group footer of
the page - instead of the 1st serial# string of the page. I know this may be
confusing so here's an example.
last page of report:
1st group footer prints
Stock# abcd
Serial# 9999
2nd group footer prints
Stock# efgh
Serial# 2222
3rd (and last of page/report) group footer prints
Stock# ijkl
Serial# 9999
The serial# of the 1st group footer should be 1111 not 9999 (the last
serial#). This occurs everytime, no matter what the data.
If I open the subreport by itself, the serial# are correct for each footer.
Sorry if this doesn't make sence and any help is greatly appreciated.