May 26, 2009
I want to change "Prompting Text" of a crystal report parameter in VB6.0. When report is connected to View, it is able to change the "Prompting Text" of parameter. But when it is connected to Procedure, it is throwing "Not a Report Parameter".
View 1 Replies
I found one reason behind this. When we use view, we create parameters explicitly in the report. But for procedure, report will get parameters from procedure. As there are no parameters in report, it throws "Not a Report Parameter".
So how to add prompting text to the "crystal report parameter" from vb6 when the report uses stored procedure?
Technogies using: VB6.0,Crystal Reports 8.5, Oracle/Sql Server
Dim CrApp As CRAXDRT.Application
Dim CrRep As CRAXDRT.Report
Set CrApp = CreateObject("CrystalRuntime.Application")