Replacing Null Values with Values from Another Table

G

Guest

I have a query with one field that occasionally has a null value. I would
like to replace any null values with a proxy value.

I would get that proxy from another table in the database which would like
to another field in the current table to determine which value to use as a
proxy.

Is this possible? Any suggestions would be much appreciated.

Thanks,
Carissa
 
J

John W. Vinson

I have a query with one field that occasionally has a null value. I would
like to replace any null values with a proxy value.

I would get that proxy from another table in the database which would like
to another field in the current table to determine which value to use as a
proxy.

NZ([localfieldname], DLookUp("[remotefieldname]", "[remotetable]",
"[linkfieldname] = " & [localfieldname])

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

Top