Solved

convert linked access table to local table data and structure

Posted on 2015-02-01
3
153 Views
Last Modified: 2016-02-10
I need to convert a linked access table to a local table... data and structure. I would like to use VBA not a make table
0
Comment
Question by:shieldsco
  • 2
3 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 40582817
this  called in vba, the sql is a make table

currentdb.execute "select tableLink.* into NewTable from tableLink"
0
 
LVL 36

Expert Comment

by:PatHartman
ID: 40582841
The query Rey posted is a make-table query.  He's just running it from VBA.  Is that what you were looking for?  If not, you need to use DAO or ADO or the methods of the TableDefs collection.

Why do you not want a make-table query?
0
 
LVL 36

Expert Comment

by:PatHartman
ID: 40582865
Apparently you did want a make-table query despite what your request said.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question