M
Mac
Dear All,
I have a number of reports based on queries that are sufficiently
complex that the quickest way to run the reports is to turn the base
queries into make table queries and have the report create the table
it draws it's information from when it opens and run the report of the
table. This I can do with a simple docmd.runsql statement in VBA, what
I now need to do is delete the table, I know it can be done by
attaching a form to the report and getting the form to delete the
table, but this is impractical for these reports, is it possible for
the report to delete these tables through VBA as part of the On Close
event?
TIA
Mac
I have a number of reports based on queries that are sufficiently
complex that the quickest way to run the reports is to turn the base
queries into make table queries and have the report create the table
it draws it's information from when it opens and run the report of the
table. This I can do with a simple docmd.runsql statement in VBA, what
I now need to do is delete the table, I know it can be done by
attaching a form to the report and getting the form to delete the
table, but this is impractical for these reports, is it possible for
the report to delete these tables through VBA as part of the On Close
event?
TIA
Mac