Options

Report RUN or RUNMODAL - Preview or Print Click

AsallaiAsallai Member Posts: 141
edited 2005-06-10 in Navision Financials
Hi All,

I'd like to know how can I handle when the user is click on a report to 'Preview' or 'Print...'? ](*,)

Because I have to make entries about the printed documents, but I don't like to make new entry when the user is only check the document with the Preview button.

Anyone can help me in this case? Or if here is a link it will be good too. :wink:

Thank you!

Andras

Comments

  • Options
    CaffaCaffa Member Posts: 15
    Hi Asallai,

    You can use CurrReport.PREVIEW to determine whether or not the user prints the document or only takes a look at a preview.

    Take a look at a standard Invoice, you see the following code:

    IF NOT CurrReport.PREVIEW THEN
    SalesInvCountPrinted.RUN("Sales Invoice Header");

    When the user really prints the document, the field No. Printed will be increased, when the user only takes a look at a preview, the field remains the same.....

    Kind regards,
    Caffa
  • Options
    mismismismis Member Posts: 13
    Hi, pls anyone send me some sample questions of the VUE exam (Financials).
    my email address is: zsglava@interware.hu
    Thanks
  • Options
    AsallaiAsallai Member Posts: 141
    Thanks a lot Caffa, I don't know how can I missed this info :roll:
    It is works! :D
  • Options
    AdministratorAdministrator Member, Moderator, Administrator Posts: 2,497
    @mismis: don't post your question over and over again, and not in a thread where it does not make sense [-X
Sign In or Register to comment.