Less Option on Report Preview When CurrReport.Preview is Use

superpuzsuperpuz Member Posts: 53
edited 2013-10-17 in NAV Three Tier
Hi All,

I've just notice that when the CurrReport.PREVIEW is used on report or data item triggers, we won't be able to print report, see report in print layout view, or change page setup before print. On standard report such Posted Sales Shipment or Posted Sales Invoice, that code is, at least, used to update the No. of Printed on its header table.

How can I print this reports after configuring the page setup or sort using interactive sort? OR is there anyway to exclude this effects while the CurrReport.PREVIEW is in used?

Regards & Thx

superpuz
Regards and Thanks,


Superpuz

Comments

  • postsauravpostsaurav Member Posts: 708
    Hey superpuz,

    I guess there is no work around in case you are using CurrReport.PREVIEW
    I've just notice that when the CurrReport.PREVIEW is used on report or data item triggers, we won't be able to print report, see report in print layout view, or change page setup before print. On standard report such Posted Sales Shipment or Posted Sales Invoice, that code is, at least, used to update the No. of Printed on its header table.

    Yeah that's true, so what the standard report does is, If you are previewing the Report that means its not printed --> So count is not increased.
    But if your are printing the report --> No. of Printed count is updated.

    Because if you print the report after previewing system will not be able to identify that report is printed and count will not increase.

    Let me know if you have any further questions on this.

    Thanks & Regards,
    Saurav Dhyani

    Do you Know this About NAV?


    Connect - Twitter | Facebook | Google + | YouTube

    Follow - Blog | Facebook Page | Google + Page
Sign In or Register to comment.