Why doesn't my expression work

G

Guest

=IIf(IsNull([SyringeSize]), "N/A", [SyringeSize])
The result I get in my text field is "#Error"
 
R

Rick B

Just use the Nz function...

=Nz([SyringeSize],"N/A")

The field "SyringeSize" is a text field, right?
 
F

fredg

=IIf(IsNull([SyringeSize]), "N/A", [SyringeSize])
The result I get in my text field is "#Error"

Make sure the name of this control is not "SyringeSize".
 

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