Link to home
Create AccountLog in
Avatar of iymanb
iymanb

asked on

Is there a VBA code to let export a query from MS ACCESS file, export it as a TABLE to another MS ACCESS file ?

Is there a VBA code to let export a query from MS ACCESS file, export it as a TABLE to another MS ACCESS file ?
ASKER CERTIFIED SOLUTION
Avatar of John Tsioumpris
John Tsioumpris
Flag of Greece image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of iymanb
iymanb

ASKER

OK ,
This is fine, creating a TEMP table, then exporting is fine.

To create a temp table, isn't there a VBA code to replicate an existing query directy into a table, as the SQL statement is lengthy; and is difficult to put inside VBA code
Avatar of iymanb

ASKER

The lines of VBA code you provided were really helpful , Thank you