Invoke Make-Table Query using VB

ryan_quirk

New Member
Joined
May 19, 2004
Messages
16
I am using the VB editor that comes with Access 2000. How do I run a make-query. I know how to do it using SQL commands for example creating an ActiveConnection and setting CommandText to the SQL Statement.... I want to be able to run the queries I have already created. I thought they were visible by typing in ADODB.... Maybe I do not have the correct References set. Please help.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Where are you trying to call/invoke this make table query from? From Access, from a button, from something else?
 
Upvote 0
I assume you are talking about within an Access module. All you need to do is call your make table query to run it, i.e.

DoCmd.OpenQuery "MyMakeTableQueryName"
 
Upvote 0

Forum statistics

Threads
1,221,787
Messages
6,161,960
Members
451,734
Latest member
Anmol Pandey19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top