Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save Transform query results to a table

Status
Not open for further replies.

srobiolle

IS-IT--Management
Mar 26, 2003
21
FR
Hi everybody,

Here is my problem : I have a TRANSFORM Query that works great. I would like to automatically run the query and save the results to a table (with VBA) . I have worked around Recordset and DoCmd, but can't succeed.
Any help ?

Thanks
Stéphane
 
Why don't you just save the transform query as a query definition, then create a MakeTable query using the saved query.

In VBA you just need to
currentdb.execute "qryCreateTableFromTransformedQuery"

to run it.

hth

Ben

----------------------------------------------
Ben O'Hara

"Where are all the stupid people from...
...And how'd they get so dumb?"
NoFX-The Decline
----------------------------------------------
 
I just discovered that it is possible to do a
"SELECT * from [query]" : it is perfect from me !

Thanks,
Stéphane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top