i have designed a report in CR9 and have a selection forumlula.
I need to run this from vb6 using the below code with a parameter passing from VB6 . all are working fine but still the Crystal Report paramerer form appears.
if I use the below command
creport.EnableParameterPrompting = False as in line @@@@@
Crystal Report does not check any parameter into consideration
Please advise me how can i stop the Crystal Report Parameter form from appering.
vreportname = "E:\PCS\REPORTs\gesalessummary.rpt"
Set capplication = New CRAXDDRT.Application
Set creport = capplication.OpenReport(vreportname)
creport.Database.Tables(1).SetLogOnInfo vservername, vdatabasename, vdusername, vdpassword
@@@@ creport.EnableParameterPrompting = False
frmcreport.CR.SelectionFormula = "{invheader.regionno}= " & Me.regionno.Text
frmcreport.CR.ReportSource = creport
frmcreport.CR.ViewReport
frmcreport.Show
Please advice my how do I run crystal reports from VB6 without the Crystal Report parameter form