Hi. I wish to pass a string to a formula in Crystal Report 7 from my VB project. I have created a formula in crystal report named Description. In my vb, I have the below code,
rpt.Formulas(1) = "Description='" & str & "'"
where str is the string containing text and apostrophe (').
When I run the system, it show me the error:
Error in formula <Description>.
"Testing 'ABC' Only"
The remaining text does not appear to be part of the formula.
Please help on this. Thanks.
rpt.Formulas(1) = "Description='" & str & "'"
where str is the string containing text and apostrophe (').
When I run the system, it show me the error:
Error in formula <Description>.
"Testing 'ABC' Only"
The remaining text does not appear to be part of the formula.
Please help on this. Thanks.