Find/Replace an empty field

  • Thread starter Thread starter James Ivey
  • Start date Start date
J

James Ivey

In the Find & Replace thingy, is there a way to Find an empty field?

I want to search my "Country" field, and on any record that has this field
empty, I want to replace it with "United States"

Doable?

James
 
Create a query on the table where the data is stored. In the criteria for
Country write "Is Null". check to make sure that this query brings up all the
records with an empty Country field. Now on the Query menu change the query
type to 'update query'. you will now get another row appear in your grid.
Saying 'Update To' in this box for coutry write United States. Simply run the
query and its all done.

This is all assuming you build your query in the design grid
 
Sweet! Works like a charm.

Thanks Falty


Falty said:
Create a query on the table where the data is stored. In the criteria for
Country write "Is Null". check to make sure that this query brings up all
the
records with an empty Country field. Now on the Query menu change the
query
type to 'update query'. you will now get another row appear in your grid.
Saying 'Update To' in this box for coutry write United States. Simply run
the
query and its all done.

This is all assuming you build your query in the design grid
 

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

Back
Top