Hie guys,

I have written a vb code to run a crystal report that has a parameter form. The code works well when I click OK on the parameter form. But when I clicked Cancel I received an error: "Run-time error '2147417848(80010108) Method 'action' of 'CrystalCtrl' failed. Now I handled the error by On error statement where I just terminated the procedure in case of the error. Now when I click cancel again and try to run the report I receive an erro 'Job already started'. How can I stop the job thet is running.