G
Guest
I can't seem to get the public variable to display in the report. It shows up
in the immediate window just fine, (debug.print [ReportDate]), but the report
stops and asks me for the value. I have stopped the code and moused over the
variable and it has the correct information before the report is opened.
On the report it's in a text box and the control source is =[ReportDate]. It
is defined as a public variable string in my main module, not behind the
report form. The string is generated in VB and based on date options the user
selects in the report form, so I can't include this in the query. Any help
would be greatly appreciated as I could then reduce the number of reports.
Thanks
in the immediate window just fine, (debug.print [ReportDate]), but the report
stops and asks me for the value. I have stopped the code and moused over the
variable and it has the correct information before the report is opened.
On the report it's in a text box and the control source is =[ReportDate]. It
is defined as a public variable string in my main module, not behind the
report form. The string is generated in VB and based on date options the user
selects in the report form, so I can't include this in the query. Any help
would be greatly appreciated as I could then reduce the number of reports.
Thanks