Solved

delete query in access

Posted on 2014-12-04
2
170 Views
Last Modified: 2014-12-04
I have a table where I have marked a yes/no with true. for each Vin field group i want to delete the false records but not sure how to construct the query.

one thing if the vin field has all false then leave as is

see attached, this says in the example given that the vin has colour match to blue so therefore it cannot be any of the others.
ee.JPG
0
Comment
Question by:PeterBaileyUk
2 Comments
 
LVL 49

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 40480450
Hi,

pls try to use

WHERE (((TblModelLookup.ColourMatch)=False) AND ((DMin("[ColourMatch]","TblModelLookup"))=-1));

Regards
0
 

Author Closing Comment

by:PeterBaileyUk
ID: 40480456
perfect thank you was struggling with that one
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question