Need expression Help on displaying value

L

lb

I have tried IIF and can't seem to get anything but ERROR. If [home phone]
is null, I need the value of [cell phone] displayed on the report. I cannot
find anything anywhere that helps.
 
G

Gina Whipp

Can you show the IIf statement you are using and tell where you are using
it. In the report module or in the query?
 
D

Duane Hookom

You can probably use the Nz() function.
=Nz([Home Phone], [Cell Phone])

--
Duane Hookom
Microsoft Access MVP


Gina Whipp said:
Can you show the IIf statement you are using and tell where you are using
it. In the report module or in the query?

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II
lb said:
I have tried IIF and can't seem to get anything but ERROR. If [home phone]
is null, I need the value of [cell phone] displayed on the report. I
cannot
find anything anywhere that helps.
 

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