I have created a report in Crystal 8.5 using OLE DB to point to a SQL stored procedure with 4 parameters.
Now I need to know how to pass a recordset into Crystal to populate the report from VB 6 using the OCX control. Unfortunately I have no choice but to use the OCX control, and I can't use the adodc data control to open a recordset and then pass it to Crystal.
Can someone please post a snippet of code on how to do this using a stored procedure that requires 4 parameters? (I can pass the param values to variable names if that helps).
Thanks!
Now I need to know how to pass a recordset into Crystal to populate the report from VB 6 using the OCX control. Unfortunately I have no choice but to use the OCX control, and I can't use the adodc data control to open a recordset and then pass it to Crystal.
Can someone please post a snippet of code on how to do this using a stored procedure that requires 4 parameters? (I can pass the param values to variable names if that helps).
Thanks!