PC Review


Reply
Thread Tools Rate Thread

Delete query based on another query

 
 
=?Utf-8?B?QkVDQU0=?=
Guest
Posts: n/a
 
      21st Jun 2006
I have two tables which should contain the same information. If one table is
updated and a record removed, i want to create a query that deletes the
record from the other table as well.

I have created a query which compares the primary keys of two tables and
finds those records that are required to be deleted. How can i create a
query to automatically delete these records. When i create a new delete
query based on this initial query, i get the error "Could not delete from
specified tables". Is it possible to even do what i want?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?T2ZlciBDb2hlbg==?=
Guest
Posts: n/a
 
      21st Jun 2006
Can you post the SQL of the UnMatch record query?


--
Good Luck
BS"D


"BECAM" wrote:

> I have two tables which should contain the same information. If one table is
> updated and a record removed, i want to create a query that deletes the
> record from the other table as well.
>
> I have created a query which compares the primary keys of two tables and
> finds those records that are required to be deleted. How can i create a
> query to automatically delete these records. When i create a new delete
> query based on this initial query, i get the error "Could not delete from
> specified tables". Is it possible to even do what i want?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
delete query based on presence in another query james_keegan via AccessMonster.com Microsoft Access Queries 2 29th Nov 2006 12:38 PM
Delete query based on table and query =?Utf-8?B?RXNraW1v?= Microsoft Access Queries 1 25th May 2006 07:47 PM
Delete Query based on the results of another query =?Utf-8?B?REJzb2x1dGlvbnM=?= Microsoft Access Queries 1 24th Jan 2005 01:32 AM
Delete Query based on result of select query John Finch Microsoft Access Queries 1 2nd Jul 2004 05:47 PM
Re: Delete Query based on criteria Sambantham Kuppusamy Microsoft Access Queries 0 23rd Sep 2003 08:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:15 AM.