IIF syntax?

flect

Registered User.
Local time
Today, 14:04
Joined
Feb 26, 2008
Messages
86
I currently have a text box on my report that is operating correctly:

Code:
=IIf([stampTAB]=True,"*Tab+*","")

I have added another field to my table - [numberoftabs]

What I need to do is print the value of [numberoftabs] before "*Tab+*" in my IIF statement.

at the moment it's printing
"[numberoftabs] *Tab+*"

I've tried a few things but I just can't seem to get the syntax correct.

Code:
=IIf([stampTAB]=True,"[numberoftabs] *Tab+*",")
Code:
=IIf([stampTAB]=True,"([numberoftabs])" "*Tab+*",")


Any ideas? Your help is greatly appreciated :D
 
Code:
=IIf([stampTAB]=True,[numberoftabs][color=red] &[/color] "*Tab+*","")
 
Perfect! Thanks a lot!
 
GladWeCouldHelp.png
 

Users who are viewing this thread

Back
Top Bottom