Connecting Tech Pros Worldwide Help | Site Map

Query-Criteria field blank

  #1  
Old November 13th, 2005, 04:03 AM
John Baker
Guest
 
Posts: n/a
Hi;

Dumb question, but I have a query and i want to accept the record if a field is blank. I
have tried criteria of ="", isempty(Fieldame) and a rich variety of other things with no
joy. How do I accept a record in a query if a specific field is blank?

Thanks

John Baker
  #2  
Old November 13th, 2005, 04:03 AM
Douglas J. Steele
Guest
 
Posts: n/a

re: Query-Criteria field blank


It could be Null, not blank, in which case try IsNull([FieldName])

If it's possibly both Null and blank (i.e.: sometimes it's Null, and
sometimes it's blank) and you want to trap both, try:

Len([FieldName] & "") = 0

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



"John Baker" <Baker.JH@Verizon.net> wrote in message
news:q4irk01qaqhe18okado04n8optu3i5626m@4ax.com...[color=blue]
> Hi;
>
> Dumb question, but I have a query and i want to accept the record if a[/color]
field is blank. I[color=blue]
> have tried criteria of ="", isempty(Fieldame) and a rich variety of other[/color]
things with no[color=blue]
> joy. How do I accept a record in a query if a specific field is blank?
>
> Thanks
>
> John Baker[/color]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
PROBLEM WITH REPEATED (Null) VALUE IN MULTIPLE QUERY johnniewalkeresp answers 1 August 31st, 2007 02:30 PM
Blank fields on form load visionstate@googlemail.com answers 0 March 15th, 2006 10:25 AM
Use Select Query variable against a table and return value to same select query jjturon@hotmail.com answers 6 December 25th, 2005 05:35 AM
unbound date field on a form Alex answers 1 November 13th, 2005 07:17 AM
Crosstab Query Sherman H. answers 2 November 13th, 2005 04:49 AM