G
Guest
I have reports created where the filter is created based on criteria chosen
from the calling report. Additionally, before the report opens, the user
enters a beginning and ending date via an input box, and those dates are
stored in variables. I have specified those variables in the arguments of
the docmd.open report, and it works as planned, picks up the correct date.
However, once the report is open, I want the beginning and ending dates to
appear in text boxes on the report, specifically in the page header -- but
can't seem to do that. Once the docmd open statement is run and the dates
are used to filter the info that appears, the variables empty out, even
though the calling report has not closed yet (so I would have thought they'd
still be in scope).
Is there a way of doing this that I'm just not seeing? Or do I need to make
a whole form for thee inputs?
Thanks.
from the calling report. Additionally, before the report opens, the user
enters a beginning and ending date via an input box, and those dates are
stored in variables. I have specified those variables in the arguments of
the docmd.open report, and it works as planned, picks up the correct date.
However, once the report is open, I want the beginning and ending dates to
appear in text boxes on the report, specifically in the page header -- but
can't seem to do that. Once the docmd open statement is run and the dates
are used to filter the info that appears, the variables empty out, even
though the calling report has not closed yet (so I would have thought they'd
still be in scope).
Is there a way of doing this that I'm just not seeing? Or do I need to make
a whole form for thee inputs?
Thanks.