T
Tom MacKay
To set the table...
1) I have a simple database with a report that...you guessed it...requires a
pair of date parameters to trap the data to be reported.
2) I have looked at the methods to do this...and to report the values on the
report...and chosen the simplest (I thought) route.
3) I have a make-table query...with a Criterion value of 'Between [A] and
' on the date column
4) That make-table query is called whenever a certain report is run.
4.5) The report refers to the table created by the make-table query.
5) The report tries to display the date values entered...[A] for
example...by setting the Control Source of a text box to '=[A]'.
Instead of working the way I need...when I run the report, I am first
prompted for my dates, which get used correctly to trap the records I
need...but then I am prompted again for those values, and whatever I enter
in, text or date or whatever, that gets displayed on the report!
I guess I have not refered to my parameters properly on the report...maybe
because the make-table query contains the parameters, which makes the actual
table which the report then gets its information from. I have tried adding
the specific query name to the start of the parameter in the report's control
source values but that doesn't work. Nothing works...I always have to enter
data twice.
I would be happy to try building an unbound form to enter the parameters,
which might give me a more reliable object to refer to...but I tried very
hard to do that, and got bogged down by the setup of all the
controls/functions to open/close/whatever that form, the function ISLOADED in
particular...
Let me know what you think...
Regards,
Tom
1) I have a simple database with a report that...you guessed it...requires a
pair of date parameters to trap the data to be reported.
2) I have looked at the methods to do this...and to report the values on the
report...and chosen the simplest (I thought) route.
3) I have a make-table query...with a Criterion value of 'Between [A] and
' on the date column
4) That make-table query is called whenever a certain report is run.
4.5) The report refers to the table created by the make-table query.
5) The report tries to display the date values entered...[A] for
example...by setting the Control Source of a text box to '=[A]'.
Instead of working the way I need...when I run the report, I am first
prompted for my dates, which get used correctly to trap the records I
need...but then I am prompted again for those values, and whatever I enter
in, text or date or whatever, that gets displayed on the report!
I guess I have not refered to my parameters properly on the report...maybe
because the make-table query contains the parameters, which makes the actual
table which the report then gets its information from. I have tried adding
the specific query name to the start of the parameter in the report's control
source values but that doesn't work. Nothing works...I always have to enter
data twice.
I would be happy to try building an unbound form to enter the parameters,
which might give me a more reliable object to refer to...but I tried very
hard to do that, and got bogged down by the setup of all the
controls/functions to open/close/whatever that form, the function ISLOADED in
particular...
Let me know what you think...
Regards,
Tom