• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 294
  • Last Modified:

Access 2007 import from SQL table

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
qbjgqbjg
Asked:
qbjgqbjg
  • 6
  • 2
1 Solution
 
qbjgqbjgConsultantAuthor Commented:
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
 
qbjgqbjgConsultantAuthor Commented:
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
 
mbizupCommented:
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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
qbjgqbjgConsultantAuthor Commented:
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
 
qbjgqbjgConsultantAuthor Commented:
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
 
mbizupCommented:
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
 
qbjgqbjgConsultantAuthor Commented:
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
 
qbjgqbjgConsultantAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

  • 6
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now