Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Having trouble concatenating quotes on a string with an IIF statement

Status
Not open for further replies.

Pack10

Programmer
Feb 3, 2010
495
US
I have this control source I am trying to build on a report.
I need the string to say " (the "Fund(s)") "

The real string is below.


=Trim([Owner]) & IIf(Count([Owner])=[text8]," (the ""Fund(s)""", "")

I am getting headaches looking at this one!! Hope someone can help.
 

Wherever you need to use " (double quotes) - try[blue] [tt]Chr(34)[/tt][/blue] instead.

Have fun.

---- Andy
 
I got it to work. This is always a chore for me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top