Yes they are fine - provideing you don't want to see any results if they IIf
is false
Expr10: IIf([STN CD]=[Destination],[Profit Center])
If the contents of the field equal the contents of the field Destination you
will get the contents of the field Profit Centre.
If the contents of the field DO NOT equal the contents of the field
Destination you will nothing
As long as this is what you want it's fine.
You could always include something to show is the answer if false like this
Expr10: IIf([STN CD]=[Destination],[Profit Center],"SomethingElse")
This would give the text string "SomethingElse" if the argument is NOT true.
Hope this helps
--
Wayne
Manchester, England.
pgarcia said:
Should the following IIF statments work? I get blank cells. FYI, It's text in
the fields.
Expr10: IIf([STN CD]=[Destination],[Profit Center])
or
Expr10: IIf([Expr12]=[All Stations]![STN CD],[All Stations]![Profit Center])