|
-
Jun 1st, 2010, 11:49 PM
#1
Thread Starter
Lively Member
crystal reports won't close Excel
I have a CR page that when run access Excel to get data. After it is printed the excel file remains open until I close my whole program. I have debugged the problem down to CR, so I know for sure that's where the problem is. I don't know the handle CR used to open it so I can't close it. I need to either know how to tell CR to close excel when it exits or a way to close a file when I don't know the handle used to open it. I have tried Excel.Application.Quit attached to the CR exit button and it didn't work.
-
Jun 2nd, 2010, 08:39 PM
#2
Re: crystal reports won't close Excel
It could be helpful if you post the relevant code
JG
-
Jun 3rd, 2010, 03:22 PM
#3
Thread Starter
Lively Member
Re: crystal reports won't close Excel
There is no code. I have a database set in CR to retrieve data. After I open and print the page CR won't release the database even after it's closed. Should I have some code in Cr ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|