That is easy for you to say, but I have an client that wants to be able to
enter some parameters on a screen, by selecting from combo and list boxes,
and generate several different reports based on these parameters. Several
of these reports are based on cross tab queryies, which I have not had the
time to code the reports for.
I want to build the query string, populate the querydef.sql, then open the
query for the user to review and/or print. However, since I cannot do this
in "dialog" mode, I want to put some code imediately following the
docmd.openquery, that does a continuous loop while, while query is open.
Then, when the query is closed, the code will continue.
I will eventually get to the point where I have written codeto
programatically build the report, but I have higher priorities right now.