Delete Query

G

Guest

Hi,

I have 2 tables (table A and table B). Table B contains 100 records. Table A
contains 50 records. All 50 records from table A are in table B. I want to
create a delete query that will delete all the 50 common records from Table
B. I have created a query with both tables joined by a common field in both
tables. When I create the delete query and run it, I get an error message
saying that I need to spicify the table containing the records that I want to
delete. Any help?
 
R

Rick Brandt

Alexandra504 said:
Hi,

I have 2 tables (table A and table B). Table B contains 100 records.
Table A contains 50 records. All 50 records from table A are in table
B. I want to create a delete query that will delete all the 50 common
records from Table B. I have created a query with both tables joined
by a common field in both tables. When I create the delete query and
run it, I get an error message saying that I need to spicify the
table containing the records that I want to delete. Any help?

Did you specify a table in the grid portion of the query designer? It is not
enough to just create the join. You have to pull something down from the
desired table into the grid.
 
H

Hunter57

Hi,

I have 2 tables (table A and table B). Table B contains 100 records. Table A
contains 50 records. All 50 records from table A are in table B. I want to
create a delete query that will delete all the 50 common records from Table
B. I have created a query with both tables joined by a common field in both
tables. When I create the delete query and run it, I get an error message
saying that I need to spicify the table containing the records that I want to
delete. Any help?

If you post the SQL of your query in this thread it will make it much
easier to get the help you need. : )

Hunter57
 

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

Top