QuickReport (2 records same page) - Programmers Heaven

Howdy, Stranger!

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

Categories

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.