Link to home
Start Free TrialLog 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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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