T
Tommy T
Ken Snell and FredG,
I have been following the thread started 11/13/2002 and have been successful
so far with my report and underlying parameter query however I have a
strange situation occurring on my report. I hope you can help me out.
I created a parameter query with these criteria "between [Enter Start Date:]
and [Enter End Date:]" and based my report on that query which worked fine.
I thought I would make it look a bit more professional by creating a
Query-by-Form that requested both dates. The underlying query parameters
were changed to "Between [Forms]![frmEnterDates2]![txtBegin] And
[Forms]![frmEnterDates2]![txtEnd]" and added a button that calls the report
based on my parameter query. The Query-by-Form and its button worked just
fine. Now I wanted those date ranges printed on the report so the user would
know what dates he or she entered into the Query-by-Form. In the Page Header
I entered into a Text Box ="From " & Forms!frmEnterDates2!txtBegin & " to "
& Forms!frmEnterDates2!txtEnd. The date range prints fine on the first page
but on subsequent pages thereafter it prints #Error. What is going on and
how do I correct the problem?
P.S.: What code would I enter into the button on the Query-by-Form that
calls the report to close the Query-by-Form after the report is rendered on
screen?
Thank you in advance. All assistance will be much appreciated.
TommyT
I have been following the thread started 11/13/2002 and have been successful
so far with my report and underlying parameter query however I have a
strange situation occurring on my report. I hope you can help me out.
I created a parameter query with these criteria "between [Enter Start Date:]
and [Enter End Date:]" and based my report on that query which worked fine.
I thought I would make it look a bit more professional by creating a
Query-by-Form that requested both dates. The underlying query parameters
were changed to "Between [Forms]![frmEnterDates2]![txtBegin] And
[Forms]![frmEnterDates2]![txtEnd]" and added a button that calls the report
based on my parameter query. The Query-by-Form and its button worked just
fine. Now I wanted those date ranges printed on the report so the user would
know what dates he or she entered into the Query-by-Form. In the Page Header
I entered into a Text Box ="From " & Forms!frmEnterDates2!txtBegin & " to "
& Forms!frmEnterDates2!txtEnd. The date range prints fine on the first page
but on subsequent pages thereafter it prints #Error. What is going on and
how do I correct the problem?
P.S.: What code would I enter into the button on the Query-by-Form that
calls the report to close the Query-by-Form after the report is rendered on
screen?
Thank you in advance. All assistance will be much appreciated.
TommyT