Passing parameters to Crytal Report from VB
Posted on 2000-03-17
I am using the crytal reports control that comes with VB6. I am trying to print a report which requires a parameter. I am using the following code:
CrystalReport1.ReportFileName = "C:\one.rpt"
This pops up a window to enter the parameter value. After I do that, my screen flickers and I don't see any output. I don't want to use any SQL code. I just want to call the RPT file which I am doing right now.