Actions Before you print

edited 10:26PM in FastReport .NET
[img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Good day. I really appreciate this product ahve been using now for more than 6 months. But there are some actions i'll like to do between my application and the generate report. 1) I'll like to refresh the report each time the user clicks on the print button on the toolbar (there is a function written in my application that will check the document state and the correct watermark text will be placed). 2) I'll also like to know if printing was succesful, if so then some updates are done in my database. How can i handle these two issues. Thanks in advance for your help.[/img]

Comments

  • Keve G??borKeve G??bor hungary
    edited 10:26PM
    hello mits!

    Maybe the OnStartReport(System.EventArgs) and OnFinishReport(System.EventArgs) useful for you! [img]style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> regards, Gabor Keve[/img]

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.