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 / July 2006

Tip: Looking for answers? Try searching our database.

How do I select records to be deleted in a database using a list?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CW1956 - 03 Jul 2006 00:53 GMT
I have a database where I need to delete records where the client numbers
match in another table.  I have been able to create a relationship to
identify the records but cannot delete them because of the join.  There are
750 matching records out of 9,000 and I need to save those records to another
table.  I am new at this....please help me..I'm going nuts trying to figure
this out.  
Signature

CW

tina - 03 Jul 2006 01:08 GMT
temporarily add a Yes/No field to the table that has the records you want to
delete. run your query, making sure you include the Yes/No field. once
you're satisfied that the correct records are being returned, change the
query to an Update query, setting the value of the Yes/No field to True.
then run the Update query. now those records are "marked", in the table. you
can run a Delete query on that table, by itself, pulling only those records
where the Yes/No field = True.

hth

> I have a database where I need to delete records where the client numbers
> match in another table.  I have been able to create a relationship to
> identify the records but cannot delete them because of the join.  There are
> 750 matching records out of 9,000 and I need to save those records to another
> table.  I am new at this....please help me..I'm going nuts trying to figure
> this out.
 
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.