Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 18th, 2005, 06:47 AM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default Delete Query in Access Data Project (ADP)

I want to replace some data in a large table (Table A: 4.5 million records) with some new data I have uploaded in Table B. I'm using an Access Data Project.

I want to write a delete query which will delete from Table A those records which appear in Table B. I'm sure this must be possible, but when I draw up the query vanilla Access style, it brings up the "Delete Table Dialog Box" and requires that only one table be selected, preventing me from creating the relation with Table B.

This is real basic stuff, but I'm afraid I'm quite stuck here!

Thanks for your help

Andrew

 
Old February 18th, 2005, 08:38 AM
Authorized User
 
Join Date: Dec 2003
Location: , , .
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found a couple of links in the end that helped solve the problem quite easily

http://www.windowsitpro.com/SQLServe...8808/8808.html

http://www.sqlservercentral.com/colu...theeasyway.asp

Cheers!

Andrew





Similar Threads
Thread Thread Starter Forum Replies Last Post
php/mysql delete button and delete query dungey PHP Databases 17 April 11th, 2009 12:24 PM
adp- stored query problem LeoTiger1 Access 0 June 13th, 2006 04:11 PM
this Newbie has adp / stored query problems - LeoTiger1 BOOK: Access 2003 VBA Programmer's Reference 0 June 13th, 2006 03:40 PM
Access Data Project moedev Access 1 April 19th, 2006 06:40 AM
Access VBA Delete Query Issue... snoopy92211 Access VBA 4 June 24th, 2004 03:57 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.