Iff statement

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to have a field for a label to show a generic title like office
manager if there is no name in the field and I cannot get the name to show
up. I am using
=IIf([field name]<> "a","Office Manager",[Field name])
With this I am getting the "office manager but not the field name.
Any help appreciated.

Thanks
Joe
 
=IFF(IsNull([FieldName]),"Office Manager",[FieldName].[Name])
hth
Al Camp
 
Perhaps this:

=IIf(Len([field name] & "")=0,"Office Manager",[Field name])
 

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

Similar Threads

High!! 8
Report will not recognize field 2
IIF Syntax error 4
IFF 5
Show phrase when no data for a report 2
SumIf on report 2
adress-labels (iff-function) 8
Reports - labels 2

Back
Top