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

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.