Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Question on Queries

Status
Not open for further replies.

jrlane

Programmer
Apr 8, 2009
7
0
0
US
If in a query there are multiple "checks" (ie., fields selected), but with no filter criteria, and one of the fields is null is the record dropped from the result? Thanks.
 
OI forgot to add that the field with the occasional null is a date field.
 
Paradox tables can't have NULL values, so, no, the row isn't dropped. If you're using a plain checkmark (not checkplus), then one record for each unique combination of values in the checked fields is returned.

Liz
 
In Access (the database to which I am converting this appliction, a field can be null, "blank" (ie. an actual alpha space in the field, or an "empty string"). Looking at the Paradox table the field appears to be blank. What do you suppose is in it? Thanks.
 
If it's a Paradox table (.db file), a blank field is blank, not NULL. SO:

SELECT *
FROM table
WHERE field=''

...would get you everything where that field is blank.

Liz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top