delete query

  • Thread starter samotek via AccessMonster.com
  • Start date
S

samotek via AccessMonster.com

I need to update the table products from the products in the table [order
details] and also delete all the products in the table products that are not
contained in the table [order details]. My update query is sucessful as
follows
UPDATE products1 INNER JOIN [Order Details1] ON products1.Productid = [Order
Details1].productid SET products1.branch9 = [order details1].[cartons];
But how can i delete the products that are not contained in the table order
details?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

addition with 0 1
Update query 3
update query 2
Sorting Multiple Tables 1
Syntax error 2
Unable to display values in 2nd list box from 1st list box selection 2
union query 0
return product with maximum price 6

Top