Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Print to Screen does not work

edited July 2001 in General
I have built the most basic of report, and tried to print it to the screen.
I have wrote the code:
Begin
REport.Print;
End

I got an error reading onshow property value.

I have continued to investigate, and I found that the same error happens
with RB Demos, like
...\RBuilder\Tutorials\Complete\I. Reports\03. Simple Report the Hard
Way\rbCust.pas

Did anyone else seen this problem? What am I doing wrong?

Thanks, Yoav.

Comments

  • edited July 2001
    What version are you using RB?Delphi? It works for me. You may have a
    corrupt installation. See the Installation thread on the TechTips
    newsgroup.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited July 2001
    I'm using delphi 5 Ent., RB 6.

    The installation does not seem corrupt, as this is the only thing that does
    not work.




  • edited July 2001
    Hi Yoav,

    If you have saved the report with another 'DeviceType' than 'Screen' this
    one will be used.
    Before calling 'TppReport.Print' set the desired 'DeviceType' property
    first.

    regards,
    Chris Ueberall;
This discussion has been closed.