Crystal Reports - TechRepublic
General discussion
July 3, 2001 at 10:31 PM
uma_karanth

Crystal Reports

by uma_karanth . Updated 24 years, 9 months ago

Hi there,
I working on Visual Basic 6.0, using Crystal Reports 6.0 as Report designer. My problem is that when I pass data to the Formula method of Crystal Report ActiveX which has both an apostrophe and Double Quotes the report does not print.
Ex.
CrystalReport1.formulas(1)=”Data_Desc'” & sDesc & “‘”
Note: sDesc is a string variable containing data S’Kool16″s
Since to the formula I can pass a data with either single Quotes or Double Quotes only if the data contains both apostrophe and Double quotes then the report does not print at all since there is this error.
Please, I need immediate help…..

Regards
Uma

This discussion is locked

All Comments