Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Data Connectivity
Message Icon Topic: Successful Export to Excel? Post Reply Post New Topic
Author Message
cjmorris1201
Newbie
Newbie


Joined: 19 Jul 2007
Location: United States
Online Status: Offline
Posts: 1
Quote cjmorris1201 Replybullet Topic: Successful Export to Excel?
    Posted: 20 Jul 2007 at 9:38am

Hello,

 

Is there a return code to evaluate or another means of determining if an export to Excel (or any other export) succeeded or not?

 

I help develop a web application that exports reports to excel or pdf depending on what the end user selects from a “print option” asp page. The "print option" asp page opens the pdf within itself, but the exported excel file is opened as an attachment (this is on purpose). If the excel export option is chosen, I wish to close the print option asp page after the excel file is created.

 

Simply calling window.close() after the user selects the export option closes the asp page prematurely and abends the export process.  I could use the setTimeout but the amount of time to generate the report varies depending on the amount of data being retrieved.

 

Any suggestions would be appreciated.

 

Best Regards,

Carl

 
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 20 Jul 2007 at 11:20am
That's a good question, but I haven't seen any functionality that does this. 
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.