473,385 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Still Learning, can I do this?

I have 3 different check box's on a DB query display. Can I check all 3
fields and if all are <null>, base my display verses if all are on or a
mixture of on and off?

Thanks
Jeff
Jul 19 '05 #1
3 1229
Yes, you can do this. I guess one thing to know/remember is:

True + True + True = True
True + True + False = False
True + False + False = False
False + False + False = False

Are your values really null though? By checkboxes, do you mean "yes/no"
fields in an Access database? If so, CBool the values when you bring them
out to be sure that there boolean true/false values.

Ray at home

"Jeff Uchtman" <uc*****@megavision.com> wrote in message
news:Oi**************@TK2MSFTNGP12.phx.gbl...
I have 3 different check box's on a DB query display. Can I check all 3
fields and if all are <null>, base my display verses if all are on or a
mixture of on and off?

Thanks
Jeff

Jul 19 '05 #2
Thanks Ray at where ever you are right now. Yes, I am <null> as its MSSQL
using a bit format. I beleive I understand the direction you pointed out
and will see if I can make it work. Thanks for the input.

Jeff

"Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Yes, you can do this. I guess one thing to know/remember is:

True + True + True = True
True + True + False = False
True + False + False = False
False + False + False = False

Are your values really null though? By checkboxes, do you mean "yes/no"
fields in an Access database? If so, CBool the values when you bring them
out to be sure that there boolean true/false values.

Ray at home

"Jeff Uchtman" <uc*****@megavision.com> wrote in message
news:Oi**************@TK2MSFTNGP12.phx.gbl...
I have 3 different check box's on a DB query display. Can I check all 3
fields and if all are <null>, base my display verses if all are on or a
mixture of on and off?

Thanks
Jeff


Jul 19 '05 #3
If you factor in nulls, there's also this to consider:

null And null = null
null And false = false
null and true = null

Ray at home

"Jeff Uchtman" <uc*****@megavision.com> wrote in message
news:u5**************@TK2MSFTNGP09.phx.gbl...
Thanks Ray at where ever you are right now. Yes, I am <null> as its MSSQL
using a bit format. I beleive I understand the direction you pointed out
and will see if I can make it work. Thanks for the input.

Jeff

"Ray at <%=sLocation%>" <myFirstNameATlane34dotKOMM> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Yes, you can do this. I guess one thing to know/remember is:

True + True + True = True
True + True + False = False
True + False + False = False
False + False + False = False

Are your values really null though? By checkboxes, do you mean "yes/no"
fields in an Access database? If so, CBool the values when you bring them out to be sure that there boolean true/false values.

Ray at home

"Jeff Uchtman" <uc*****@megavision.com> wrote in message
news:Oi**************@TK2MSFTNGP12.phx.gbl...
I have 3 different check box's on a DB query display. Can I check all 3 fields and if all are <null>, base my display verses if all are on or a mixture of on and off?

Thanks
Jeff



Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Ron Stephens | last post by:
The newly rechristened Python Learning Foundation is a web site dedicated to the assistance of people learning the Python programming language. Features include: 1. Daily lists of new and recent...
2
by: could ildg | last post by:
I want to know something about unittest these days, and since I'm learning python, I want to touch it through python. But when I found the newest pyunit is even so old, I wonder if it is still...
25
by: Lewis Lang | last post by:
MCSD certification - is it still necessary to land a job? ... or, is it just a money-maker? Is it worth spending the money on the books and the exam? Thanks, Lewis Lang
6
by: KathyK | last post by:
Hi and Thanks in advance! I am able to link to a MSAccess 2000 db that I secured. I have removed all permissions from the Admin user and actually the whole users group and admins group. I...
687
by: cody | last post by:
no this is no trollposting and please don't get it wrong but iam very curious why people still use C instead of other languages especially C++. i heard people say C++ is slower than C but i can't...
7
by: Tony Johansson | last post by:
Hello! If you want to create an GUI application using a tool in visual studion 6.0 you are forced to use MFC. I just want to know about the developing GUI application in C++ visual studio...
4
by: John Salerno | last post by:
Hi everyone. I have Learning Python 2nd edition (O'Reilly) and I noticed that Wrox has a newer book out (Beginning Python) that covers version 2.4. Do you think that Learning Python is still a good...
7
by: Max | last post by:
On monday I start a semester course in Python (the alternative was Java). I was looking through the course outline and noticed the following: 1) UserDict is used. This is deprecated, right? 2)...
15
by: David Pratt | last post by:
I recently replied to MC felons post on returning strings and was in error on what I was trying to do. After running completely thru my code, I did find that I was misunderstanding how C++ works...
16
by: John Salerno | last post by:
Just something that crosses my mind every time I delve into "Learning Python" each night. Does anyone see any value in learning Python when you don't need to for school, work, or any other reason?...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.