I'm using VB6.
I'm using a form to open up a report:
DepositReport.Show
Then I have in the DataReport that calls a stored procedure:
Private Sub DataReport_Initialize()
DEReports.dbo_sp_rep_Daily_Grouping frm_DepositReports.Dtp_DepositDate.Value, "D"
End Sub
Everything works fine, but when I close the report and try to open the report from the form again, then I get the error shown below:
Run-time error '3705':
Operation is not allowed when the object is open.
What do I need to do to reset the object?
Thanks.
I'm using a form to open up a report:
DepositReport.Show
Then I have in the DataReport that calls a stored procedure:
Private Sub DataReport_Initialize()
DEReports.dbo_sp_rep_Daily_Grouping frm_DepositReports.Dtp_DepositDate.Value, "D"
End Sub
Everything works fine, but when I close the report and try to open the report from the form again, then I get the error shown below:
Run-time error '3705':
Operation is not allowed when the object is open.
What do I need to do to reset the object?
Thanks.