Skip to Content

Crystal Report Print and Export events - Web Forms

Hi -

I am working with ASP web forms, and I wanted to update a set of records when the Crystal Report Print or export button is clicked. Can anyone help me how can I detect that the report's Print or export event is fired?

Or is there any other solution, such as I can achieve it through Java script ?

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Aug 06, 2020 at 03:48 PM

    In Visual Studio you can click the lightening bolt to get to the list of Viewer Events, add a routine for the Print button and Export click events.

    That's the only way for CR to capture the trigger.

    Other option would be to look for the output file name using the file system.

    Don

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 30, 2020 at 02:36 PM

    There's a bug in SP 25, 26 and 27 for Viewer Events.

    SP 28 was just released today... may need to give it a few hours before link active..

    https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

    Don

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 30, 2020 at 05:39 PM

    Hi Williams - How this update will help me? I need a print/export event, or a Javascript code to print my report's all pages.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.