C
CathyZ
Hi,
I have a form which has parameters for the user to select, and then open a
report.
I could use the parameters on the form to create the where clause that I can
use in the doCmd.open report statement. But I am also trying to use some of
these parameters on the form as the order by statement. I try saving the
statements into a public variable from the form's code and use it with the
report load sub. But the variable values remains empty. Is there another
way to send the value of a variable from a form to a report to be used in the
order by statement?
Any help appreciated.
I have a form which has parameters for the user to select, and then open a
report.
I could use the parameters on the form to create the where clause that I can
use in the doCmd.open report statement. But I am also trying to use some of
these parameters on the form as the order by statement. I try saving the
statements into a public variable from the form's code and use it with the
report load sub. But the variable values remains empty. Is there another
way to send the value of a variable from a form to a report to be used in the
order by statement?
Any help appreciated.