Solved

convert linked access table to local table data and structure

Posted on 2015-02-01
3
145 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 119

Accepted Solution

by:
Rey Obrero 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 34

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 34

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

Suggested Solutions

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now