Solved

Access 2007 import from SQL table

Posted on 2012-04-11
8
206 Views
Last Modified: 2012-04-13
I am importing data from an SQL table. I saved the import. When I run it, it does not overwrite the existing Access file, it creates a new one with a number appended to it. How do I get it to overwrite?
0
Comment
Question by:qbjgqbjg
  • 6
  • 2
8 Comments
 

Author Comment

by:qbjgqbjg
ID: 37834539
I redid the import and it is working correctly now. I have another question though. It does not have an advanced button, so how would I save specifications so I could use a button on my form to do the import?
0
 

Author Comment

by:qbjgqbjg
ID: 37834744
I was wrong. The import still creates a new table. It just took it a little time to show up. So that is still an issue.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 37835043
That's how imported tables work in Access.  Existing tables do not get overwritten.

Your workaround is to delete your existing table prior to importing it from SQL.
0
 

Author Comment

by:qbjgqbjg
ID: 37839360
It does not have an advanced button, so how would I save specifications so I could use a button on my form to do the import?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:qbjgqbjg
ID: 37839379
0Maybe I could delete records from the existing table, then copy the records in from the new table. I would not want to delete the existing table since I have a report, and a form and a query built over it. Unless you can delete it without those things going away.
0
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 37839673
If you are using an Access user interface your forms, reports etc will remain intact.  You just need to make sure your imported table has the same name as the one you deleted so that there is a table for them to refer to.


Make a backup and give it a try...
0
 

Author Comment

by:qbjgqbjg
ID: 37842533
It does not have an advanced button, so how would I save specifications so I could use a button on my form to do the import?
0
 

Author Closing Comment

by:qbjgqbjg
ID: 37843096
thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
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…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

705 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

20 Experts available now in Live!

Get 1:1 Help Now