How do I pass a paramater to a Crytal Report using VB Code?
Here is my code to view the Crystal Report:
Dim CrxApp As CRAXDRT.Application
Dim CrxReport As CRAXDRT.Report
Set CrxApp = New CRAXDRT.Application
Set CrxReport = CrxApp.OpenReport("REPORTNAME.RPT")
CR.ReportSource = crxReport
CR.ViewReport