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

No Preview Window if device=printer and command myredport.print

edited June 2002 in General
Dear all,

i disabled ShowPrintdialog, Showcanceldialog and Modalpreview but still when
i execute myreport.print a preview window appears.

How can i do it without that window?

Cheers,
Ingo

Comments

  • edited June 2002
    Hi Ingo,

    if the report device isn't 'Screen' no preview window will be shown!
    Either you device is 'Screen' or you are seeing the preview generated from
    you printer driver.

    regards,
    Chris Ueberall;

  • edited June 2002
    I think you might be confused on what ModalPreview means. ModalPreview
    simply means that the preview window will be shown in a state where it has
    to be closed for you to keep interacting with the rest of the application.
    If you are simply trying to print then set up the correct device for the
    report, like 'Printer' and call PrintToDevices or Print.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.