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.

QuickReport (2 records same page)

mvrkmvrk Posts: 3Member
Hi, i would like to know how to make a report with 2 records apearing on same page, something like this:

Page 1

Rec #1
Name
Address
Phone

Rec #2
Name
Address
Phone

Page 2

Rec #3
Name
Address
Phone

Rec #4
Name
Address
Phone

Is it possible? Anyone knows how to make this?

Comments

  • TiefTief Posts: 179Member
    [b][red]This message was edited by Tief at 2003-7-23 7:7:1[/red][/b][hr]
    : Hi, i would like to know how to make a report with 2 records apearing on same page, something like this:
    :
    : Page 1
    :
    : Rec #1
    : Name
    : Address
    : Phone
    :
    : Rec #2
    : Name
    : Address
    : Phone
    :
    : Page 2
    :
    : Rec #3
    : Name
    : Address
    : Phone
    :
    : Rec #4
    : Name
    : Address
    : Phone
    :
    : Is it possible? Anyone knows how to make this?
    :
    :

    Well there are many ways of doing this.

    First thing you can use is ForceNewPage. Look in your Delphi help for
    more information.

    You could keep a count of which record you are processing. (maybe on the AfterPrint Event of your Detail). Then on your
    After print event of your page footer you could write
    if (RecordCount mod 2 = 0) then ForceNewPage.

    Hope this helps.



Sign In or Register to comment.