Fields with null values

  • Thread starter Thread starter Jörg Baas
  • Start date Start date
J

Jörg Baas

Hi NG!
My sofwtare creats a database in the dbf (dBase) format. I link this table
into Access for further working.
The database contains a lot of numeric fields. When browsing the data in
Access, in fields in which nothing was written, the value is blank. I would
like to have zero in it. How can I do that.
My knowledge in Access is very basicly.
Thanks for any help!

Jörg
 
Create an update query. In the 'criteria' row of the numeric fields in the
query put Is Null
and in the 'Update to' Row put 0

WHOA Dennis! That's dangerous.

If the OP does this on multiple fields, then it will replace ALL those
fields with 0 if *any one* of them is NULL.

Jörg, if you want to run this update query, update each field (let's
say it's named FieldA) to

NZ([FieldA])

instead of to 0.


John W. Vinson[MVP]
 

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