sv8908
Jun 17th, 1999, 06:55 PM
I used an SQL query as the datasource for my data report. The result is based on the user's input in a text box.
The code is basically:
DataEnvironment1.command1 txtCustomerID.text
DataReport1.show
When i run it the first time, everything works. However, when i enter a new CustomerID in the text box, I get the error message:
'The operation requested by the application is not allowed if the object is open.'
How do I 'close' this object?
The code is basically:
DataEnvironment1.command1 txtCustomerID.text
DataReport1.show
When i run it the first time, everything works. However, when i enter a new CustomerID in the text box, I get the error message:
'The operation requested by the application is not allowed if the object is open.'
How do I 'close' this object?