G
Guest
How do I define a query where the checkbox field is empty?
[MVP] S.Clark said:A checkbox is a Yes/No field, which can either be True or False.
Any the following would work:
Select [FieldnameList] from [Tablename] WHERE [SomeYesNoField] = FALSE
Select [FieldnameList] from [Tablename] WHERE [SomeYesNoField] <> TRUE
Select [FieldnameList] from [Tablename] WHERE NOT [SomeYesNoField]
--
Steve Clark, Access MVP
FMS, Inc.
www.fmsinc.com/consulting
Trisha said:How do I define a query where the checkbox field is empty?
Here is what I came up with and I'm getting a syntax error.
Select [ysnFollowUpComplete] from [TblEmerPatientComplaint] WHERE
[ysnFollowUpComplete] = FALSE
my field is ysnFollowUpComplete and my table is TblEmerPatientComplaint
What am I doing wrong?
[MVP] S.Clark said:A checkbox is a Yes/No field, which can either be True or False.
Any the following would work:
Select [FieldnameList] from [Tablename] WHERE [SomeYesNoField] = FALSE
Select [FieldnameList] from [Tablename] WHERE [SomeYesNoField] <> TRUE
Select [FieldnameList] from [Tablename] WHERE NOT [SomeYesNoField]
--
Steve Clark, Access MVP
FMS, Inc.
www.fmsinc.com/consulting
Trisha said:How do I define a query where the checkbox field is empty?