Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / November 2005

Tip: Looking for answers? Try searching our database.

Faster deletion of all records in table?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don Wiss - 05 Nov 2005 02:19 GMT
When I import new data for a table, I first like to delete all existing
records. But opening the table, pressing Ctrl-A, then the delete key, will
take a really long time if many records. Is there a faster way?

It is not clear to me that if I import data to an existing table with data
that it will always replace and not append. It seems I am not always asked
that question.

I am using Access 2002.

Don <www.donwiss.com> (e-mail link at home page bottom).
Ken Snell [MVP] - 05 Nov 2005 04:14 GMT
Run a delete query. Create a new query based on the table, change it to a
Delete query (Query Type icon on tool bar), drag the .* field to the grid,
and save it with some name.

Then just run that query. It'll run much faster than the manual select and
delete method.

Signature

       Ken Snell
<MS ACCESS MVP>

> When I import new data for a table, I first like to delete all existing
> records. But opening the table, pressing Ctrl-A, then the delete key, will
[quoted text clipped - 7 lines]
>
> Don <www.donwiss.com> (e-mail link at home page bottom).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.