Results 1 to 3 of 3

Thread: crystal reports won't close Excel

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2010
    Posts
    80

    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.

  2. #2
    Frenzied Member
    Join Date
    May 2006
    Location
    some place in the cloud
    Posts
    1,886

    Re: crystal reports won't close Excel

    It could be helpful if you post the relevant code

    JG

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2010
    Posts
    80

    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
  •  



Click Here to Expand Forum to Full Width