L
Larry Stewart
I am using Access 2000 and I am trying to pass parameters
to a report. The report generates SQL based on a
parameter, which is all done in a code module.
In Access 2002, I used the OpenArgs options on the
docmd.openreport command. I have been able to achieve the
results by putting the call to the code module within the
report_load event. However, I have to hardcode the form
in which the parameters are on. While this works, it
doesn't work if I want to call the report from another
location.
Is there anyway in Access 2000 to pass parameters to a
report? Please note the filter and where arguments will
not work since Access uses these internally.
Thanks,
Larry
to a report. The report generates SQL based on a
parameter, which is all done in a code module.
In Access 2002, I used the OpenArgs options on the
docmd.openreport command. I have been able to achieve the
results by putting the call to the code module within the
report_load event. However, I have to hardcode the form
in which the parameters are on. While this works, it
doesn't work if I want to call the report from another
location.
Is there anyway in Access 2000 to pass parameters to a
report? Please note the filter and where arguments will
not work since Access uses these internally.
Thanks,
Larry