In PrintDialog Form, How to coding it for printing? (Using FastReport) - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

In PrintDialog Form, How to coding it for printing? (Using FastReport)

I use FastReport for creating my report.

When I run my program, it will show the PrintDialog Form.

I want to know how to print my report by clicking OK button in PrintDialog From.

How to coding it for printing ?

Comments

  • zibadianzibadian Posts: 6,349Member
    : I use FastReport for creating my report.
    :
    : When I run my program, it will show the PrintDialog Form.
    :
    : I want to know how to print my report by clicking OK button in PrintDialog From.
    :
    : How to coding it for printing ?
    :
    The TPrintDialog doesn't do any printing, it just provides the user with the common print dialog box to enter the data. In most cases the PrintDialog.Execute is used as the condition for an if-then statement:
    [code]
    if PrintDialog1.Execute then
    QuickReport.Print;
    [/code]
  • PlayStationPlayStation Posts: 3Member
    Thank you.

    But I use FastReport, what the command to print it.

    This is my command

    frxReport1.Print;

    But nothing happen.

    What the command to print ?

Sign In or Register to comment.