Automatic Acceptance of Make Table Data Paste

xdanxbrash

New Member
Joined
Mar 7, 2019
Messages
6
Thank you for viewing this...I hope you can help me.

I am accessing a remote database via ODBC and therefore prefer to use make table queries so I can easily export or reference my results.

The problem I have is that when the query is done I only have a short time to accept the dialog box that says how many records are about to be pasted to my local Access instance in the new table. Unfortunately if I miss that window of time I am presented an error saying the data is no longer available. For a query that takes a long time to process it is difficult to accept the data..very unpredictable.

Is there something I can do so the data is automatically pasted and I don't have to accept it in the dialog? I would prefer that when the make table query is done that it just makes the table and does not ask me to accept the paste.

Any help is really appreciated.

Thanks
 

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.
there should be no limit of time. The dialog box should wait until the user clicks it.
but
before you run the Make query, turn off Setwarnings and it wont ask you for anything.

docmd.setwarnings false
docmd.openQuery "qmMakeTable"
 
Upvote 0
Do I enter that text into my SQL? or into a module or a macro? I am sorry, just coming up to speed in access
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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