S
Steve
I am working on a report that has a subreport in the page footer. The
subreport adds blank lines at the bottom of each page.The subreport's
recordsource is a query. The query gets a parameter from a textbox in the
report's page footer. As the report's print event executes, the value in the
textbox is created. The textbox has a different value on each page; thus the
query has a different parameter value for each page and consequently, a
different number of blank lines is added to the bottom of each page. The
problem seems to be that the value of the textbox has no value when the
report first opens and consequently no blank lines are created at the bottom
of the first page. As the report goes from page to page, the subform in the
page footer does not "refresh" and therefore every page has no blank lines
at the bottom. I have a message box in the page footer that displays the
value of the textbox and the value of the parameter and they are correct. I
also have code in the page footer that opens the query and the query
contains the correct number of blank lines at each page.
Is there some code that can be added to the page footer taht will cause the
subform to display the correct number of blank lines at each page. Something
like a refresk command???
Thanks!
Steve
subreport adds blank lines at the bottom of each page.The subreport's
recordsource is a query. The query gets a parameter from a textbox in the
report's page footer. As the report's print event executes, the value in the
textbox is created. The textbox has a different value on each page; thus the
query has a different parameter value for each page and consequently, a
different number of blank lines is added to the bottom of each page. The
problem seems to be that the value of the textbox has no value when the
report first opens and consequently no blank lines are created at the bottom
of the first page. As the report goes from page to page, the subform in the
page footer does not "refresh" and therefore every page has no blank lines
at the bottom. I have a message box in the page footer that displays the
value of the textbox and the value of the parameter and they are correct. I
also have code in the page footer that opens the query and the query
contains the correct number of blank lines at each page.
Is there some code that can be added to the page footer taht will cause the
subform to display the correct number of blank lines at each page. Something
like a refresk command???
Thanks!
Steve