S
strict9
Hello all,
Fairly simple (I believe) question here: Several queries of mine need a
default value if the requested value is null. For example:
Location: IIf(IsNull([Office Name]),"Office 560",[Office Name])
Now what I want to do is replace "Unknown" with the value in a table
field. I tried doing:
Location: IIf(IsNull([Office Name]),[DefaultValues]![Office],[Office
Name])
However, this doesn't work because the table DefaultValues just
contains several fields containing these default values, so I can't
link it to any other tables in my query.
Is there a way to reference a table's field if that table is not in the
query? Or another method of doing this, aside from adding the default
value to every single record of my main query table? Thanks!
Fairly simple (I believe) question here: Several queries of mine need a
default value if the requested value is null. For example:
Location: IIf(IsNull([Office Name]),"Office 560",[Office Name])
Now what I want to do is replace "Unknown" with the value in a table
field. I tried doing:
Location: IIf(IsNull([Office Name]),[DefaultValues]![Office],[Office
Name])
However, this doesn't work because the table DefaultValues just
contains several fields containing these default values, so I can't
link it to any other tables in my query.
Is there a way to reference a table's field if that table is not in the
query? Or another method of doing this, aside from adding the default
value to every single record of my main query table? Thanks!