Can anyone help,

I have a command object which is connected to a data report, the command object has too parameter which I pass just before opening the report. The report runs fine the first time, but if I try to run the report a second time I get an error 'Operation is not allowed when the object is open' this error occurs on the line of code which passes the parameters to the command object. I have tryed to set the report object to nothing after I close it but this does not close the command object.

Thanks for any help,

Chris