J
Jonathan Stratford
Hi,
I'm trying to open a report based on a query using VBA. I
want to send the contents of a textbox on the form to the
report when i click on a button - i have the following
line to open the report
DoCmd.OpenReport "RSearchDate", acViewPreview
but i'm not sure how to send the value (txtdate.value) to
the report. Can anyone help me please?
Thanks in advance,
Jonathan
I'm trying to open a report based on a query using VBA. I
want to send the contents of a textbox on the form to the
report when i click on a button - i have the following
line to open the report
DoCmd.OpenReport "RSearchDate", acViewPreview
but i'm not sure how to send the value (txtdate.value) to
the report. Can anyone help me please?
Thanks in advance,
Jonathan