![]() |
|
![]() | ||
|
Subject:
Union Query Delete
Category: Computers > Programming Asked by: bselltiz-ga List Price: $2.50 |
Posted:
14 Jan 2003 09:31 PST
Expires: 17 Jan 2003 08:19 PST Question ID: 142542 |
How can I delete from a union query. I would like to do this using the connection.execute command line from vba. Running Access 2002 under WinXP |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: Union Query Delete
From: mikethrel-ga on 17 Jan 2003 06:58 PST |
UNION queries are unupdateable... no adds, no updates, no deletes. Once the query is UNIONed, Jet can't determine the source of a given record. So, you'd have to add a field(s) to the query results to know the source table. Then you could build your sql statement using the name of the table to delete from and execute it using the connection.execute command. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |