Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

convert linked access table to local table data and structure

Posted on 2015-02-01
3
Medium Priority
?
165 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 120

Accepted Solution

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

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

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 39

Expert Comment

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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

636 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