Can You Update Blank Fields ??

G

GBL

Hi Guys:
Got a database built containing a text-field that has some values in it.
I want to revise the cell-fields that are blank with an update query. The
value I want in the blank cells is "A". I believe the query-field of
"Update to:" should contain "A"; but specifically what should be entered in
the criteria-field?? Every thing I've tried does not want to work.

Thanks in Advance.
 
D

Douglas J. Steele

It depends on whether the fields contain Nulls, contain Null strings or
contain a space.

If they contain Nulls, the criteria should be Is Null

If they contain Null strings, the criteria should be = ""

If they contain a single space, the criteria should be = " "

If you want to catch all of those at once, you can create a calculated field
SearchField: Len(Trim([MyField] & "")) and then use 0 for the criteria.
 
E

Evi

Try typing in:

Is Null Or ""

to catch both blank and Null fields (there is a difference although they
look the same).

Evi
 
G

GBL

Hey Guys; Many thanks!!!

Evi said:
Try typing in:

Is Null Or ""

to catch both blank and Null fields (there is a difference although they
look the same).

Evi

entered
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top