Solved

Problem with the column

Posted on 2014-03-07
2
331 Views
Last Modified: 2014-03-07
Hi,
"confirmed" is one Yes/No column on the table. within the table, I see there is only one record with such column checked.

But do I also get that record by this query

select *
from tab2
where confirmed<>1

as "Checked" should mean it equals 1, right?
0
Comment
Question by:HuaMinChen
2 Comments
 
LVL 49

Accepted Solution

by:
Rgonzo1971 earned 130 total points
ID: 39911886
HI

pls try

select *
from tab2
where tab2.confirmed=Yes;

Open in new window

Regards
0
 
LVL 47

Expert Comment

by:Dale Fye (Access MVP)
ID: 39912098
In Access, True is represented by a -1, not 1.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
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…

914 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

15 Experts available now in Live!

Get 1:1 Help Now