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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Include Double Quotes in concatenated text string

Status
Not open for further replies.

rradelet

IS-IT--Management
Oct 28, 2003
35
0
0
CA
Using CR 8.5 with a SQL 2000 database

I am trying to concatenate strings that include double quotes (").

The string that I want to display in the report is:

"text1" "text2"

I have tried ""text1"" & space(1) & ""text2""

but get the error message: The remaining text does not appear to be part of the formula

Is there a way to treat the inside double quotes as a literal?


 
Use single quotes outside of the double quotes:

'"text1"' & space(1)&'"text"'

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top