Solved

Access query when field's data-type is "Yes/No".

Posted on 1998-07-30
1
1,006 Views
Last Modified: 2008-02-01
Hi,
I have a table whose fields are named as "A", "B" and "C".
The datatype of Field "C" is "Yes/No". So you need to "mark"
the records for the "C" field. Now I need to write a query
which will retrieve all the fields where content of "C" is
"marked"(ticked). How do you write the query in the design view. What is the criteria field for "C"? I tried with "Yes"/"1"..but it does not work. Seek your help.
Thanks,
Sunanda
0
Comment
Question by:skundu
1 Comment
 
LVL 1

Accepted Solution

by:
awd earned 50 total points
ID: 1957673
If you are using quotes, take them out. Yes, True, and -1 should all work.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now