Print Page | Close Window

parameter prob while sending VB6 to CR 9

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Writing Code
Forum Discription: .NET 2003 programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=10237
Printed Date: 29 Apr 2024 at 11:52pm


Topic: parameter prob while sending VB6 to CR 9
Posted By: mantra
Subject: parameter prob while sending VB6 to CR 9
Date Posted: 13 Jun 2010 at 10:16pm
Hi,
I am newbie and I have prob sending parameter from vb6 to cr9. here is a code:

txtRasidNo="sdf<><O:V>"AS"""';sad';dd{}&%#@"

Set CRRpt = CRApp.OpenReport(App.Path & "\FD.rpt")
With CRRpt.FormulaFields
'RasidNo is formula name created in CR
.GetItemByName("RasidNo").Text = "'" & txtRasidNo & "'"
End With

While sending these character Report does not show
and msg occurs like

"The remaining text does not appear to be part of formula"

Please help
thanks


-------------
samir



Print Page | Close Window