If Statemen t

A

Alex H

Hi,

I have a report containing a field [criteria], which is also the control
name.

What I am trying to do it to set this so that if the field [criteria]
contains "No Response", it dispayes nothing, else it dispays whatever is in
the field. I am using the following syntax, which is returning an error

=IIF([criteria]="No response","",[criteria]

Can someone tell me what I've done wrong

Than ks

Alex
 
A

Alex H

Thanks Randy

A

Randy Armstrong said:
Your control needs a different name than your field name.
-----Original Message-----
Hi,

I have a report containing a field [criteria], which is also the control
name.

What I am trying to do it to set this so that if the field [criteria]
contains "No Response", it dispayes nothing, else it dispays whatever is in
the field. I am using the following syntax, which is returning an error

=IIF([criteria]="No response","",[criteria]

Can someone tell me what I've done wrong

Than ks

Alex


.
 
M

Marty L

otherwise you need to fully qualify the names

Alex H said:
Thanks Randy

A

Randy Armstrong said:
Your control needs a different name than your field name.
-----Original Message-----
Hi,

I have a report containing a field [criteria], which is also the control
name.

What I am trying to do it to set this so that if the field [criteria]
contains "No Response", it dispayes nothing, else it dispays whatever is in
the field. I am using the following syntax, which is returning an error

=IIF([criteria]="No response","",[criteria]

Can someone tell me what I've done wrong

Than ks

Alex


.
 

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