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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retro Filling Blank Cells 2

Status
Not open for further replies.

JohnieR

Technical User
Aug 17, 2001
9
GB
Is there a way of retrospectively filling any empty cells that may remain in a single (text) field of an Access 2000 table - say an X or even a few words? Many thanks in advance to anyone who can help.
 
Apologies for my confusing terminology. I meant "single (text) column".
 
Hi!

Try writing an update query. In the QBE select your table and then select the field you want to update. Click on the query type button, next to the run button, and select update query. Set the update to to IIf(Nz(Len(
![Field]),0)=0,"Your filler here",
![Field]). This will keep whatever is there and add your filler if the field is blank.

hth
Jeff Bridgham
 
A better way would be to make the update query, put the thing you want to appear in the field in quotes (ie: "BLANK") and then place criteria on the field below like this:

Is Null OR ""

HTH Joe Miller
joe.miller@flotech.net
 
I vote for joe's solution... simply and less prone to typo's.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top