Solved

Access 2007 import from SQL table

Posted on 2012-04-11
8
265 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
[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
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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
 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

729 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