Solved

delete query in access

Posted on 2014-12-04
2
175 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 50

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
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…

730 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