Why can printing as inside the report have .Preview?

QuickWEQuickWE Member Posts: 80
edited 2010-07-13 in NAV Three Tier
Dear All

Please kindly help me, I make the purchase quote report(new customize)
and then when I complied and run its , It has Print and PrintLayout Button even through
as inside my report has code Curreport.Preview.

I tried to delete any partitions but it was not something better.

Thank you in advance for your kindly helps. :cry:

Comments

  • pduckpduck Member Posts: 147
    Did you really checked all of your code? Try an export as textfile an search inside for PREVIEW-Command.
  • QuickWEQuickWE Member Posts: 80
    Did you really checked all of your code? Try an export as textfile an search inside for PREVIEW-Command.

    I found somethings whether my code "If not Curreport.Preview then" it 's not on Parent DataItem but

    it was on OnPostDataItem of Child DataItem. I don't know whether this root cause has some effects

    to my report or not?

    Thanks In Advance.
  • QuickWEQuickWE Member Posts: 80
    Thank you everybody. I found the root cause ,Because My code "CurrReport.Preview" is not on

    the Parents DataItem so I can saw the print button and print layout button as my report :lol:
  • David_SingletonDavid_Singleton Member Posts: 5,479
    QuickWE wrote:
    Thank you everybody. I found the root cause ,Because My code "CurrReport.Preview" is not on

    the Parents DataItem so I can saw the print button and print layout button as my report :lol:

    Thanks for coming back and explaining what the issue was. It's always helpful for the next person.

    :thumbsup: :thumbsup: :thumbsup: :thumbsup: :thumbsup:
    David Singleton
Sign In or Register to comment.