G
Guest
Hi
I have a report that on open it runs a sub so that it displays a cross tab
query. i would like to show this data as if its a stored query. please let me
explain.
in order to have this report show my results, the module must run so that
SQL is produced. then it is attached to the report record source. what i am
trying to do now is have it displayed like a query.
i am thinking of docmd.runquery but this requires a stored query. run SQL
requires an action query. one other option is to run the SQL and store it a
temp table, but this will not work for me since i don't know how many columns
i will have until run time.
please adise,
thanks,
sam
I have a report that on open it runs a sub so that it displays a cross tab
query. i would like to show this data as if its a stored query. please let me
explain.
in order to have this report show my results, the module must run so that
SQL is produced. then it is attached to the report record source. what i am
trying to do now is have it displayed like a query.
i am thinking of docmd.runquery but this requires a stored query. run SQL
requires an action query. one other option is to run the SQL and store it a
temp table, but this will not work for me since i don't know how many columns
i will have until run time.
please adise,
thanks,
sam