|
-
Sep 8th, 2000, 11:26 PM
#1
Thread Starter
Hyperactive Member
very newbie question
How can I fileter the records where certain field has a null value or another certain value. Something like this:
SELECt * FROM table WHERE field='E' or fild=null
It is an Microsoft Access DB.
Thanks!
-
Sep 9th, 2000, 09:52 AM
#2
Hyperactive Member
give this a whirl
for strings:
"Select * From MyTable Where MyField = 'E'"
for numeric values:
"Select * From MyTable Where MyField = 2"
for dates:
"Select * From MyTable Where MyField = #23/01/2000 12.45.00#
for nulls:
"Select * From MyTable Where Not IsNull(MyField)"
cheers man, hope that helps
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|