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

The matching " for this string is mising.

Status
Not open for further replies.

joseprez

Vendor
Sep 7, 2002
19
0
0
PA
Public rChkNum as double
Public rChkMSG, rLineMSG as string

rChkNum = CHK0!ChkNum
rChkMSG = Trim(CHK0!Memo)
rLineMSG = "This Check#: " & cStr(rChkNum) & " (" & rChkMSG & ")"
....
crxReport.FormulaFields.Item(19).Text = Chr(34) & rLineMSG & Chr(34)

after this line, send me the message:

"The matching " for this string is mising."
 
If you're working in Crystal 8.5, the cursor should give you a clue as to where the error has occurred. it's always a good idea to post your software version, because some possible solutions don't work with older versions.

Madawc Williams
East Anglia, Great Britain
 
Is it possible that [CHK0!Memo] has some double quotes in it? That would cause a problem. Try using the Replace() function in VB and see if that helps:

crxReport.FormulaFields.Item(19).Text = Chr(34) & Replace(rLineMSG, """", """""") & Chr(34)

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top