cfriedberg2
Programmer
I have placed an olecontrol on a form in VFP 6.0. The name of the control is CRViewer9.CRViewer.9.2. It will display a Crystal Report very nicely. That information can be found in thread faq184-3039.
I want to call the form with the viewer with the following command from a menu.
do form frmrptvur.scx with curdir() + "\Crystal Reports\Gross Profit by Materials Detail ld.rpt"
The problem is that the parameter, the report name, does not seem to be passed. I do not know how to get the parameter into the control.
I would appreciate any help.
Thanks.
I want to call the form with the viewer with the following command from a menu.
do form frmrptvur.scx with curdir() + "\Crystal Reports\Gross Profit by Materials Detail ld.rpt"
The problem is that the parameter, the report name, does not seem to be passed. I do not know how to get the parameter into the control.
I would appreciate any help.
Thanks.