Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting an entire row in an access table

Status
Not open for further replies.

mms180

IS-IT--Management
Jan 14, 2003
13
US
hello everyone, i'm a beginning programmer and i need help writing code to delete a row at a time...
i have two tables and where there is a match in one of the columns, i want the row deleted in one of the tables.

I use a "DELETE FROM [] WHERE Value1 = Value2" statement but it deletes all of the records in the table
please help me
 
Is this what you need?

DELETE FROM table1 WHERE field1 IN (SELECT field2 FROM table2) Get the Best Answers! faq333-2924
"A witty saying proves nothing." - Voltaire
mikewolf@tst-us.com
 
thank you very much mwolf00 i appreciate it greatly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top