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

Printind detail band adjacent to header band

edited December 2007 in General
Hi

I have a 4" high billing form that
I need to print as follows...


Customer Name Ordered
Item#1
Address
Ordered Item#2
CSZ
Ordered Item#3

(ie. The detail band needs to print adjacent to the group header.
Is this possible? If so, how?

Thank you in advance.

Bill Lawler
Delphi 6
RB 7.02

Comments

  • edited December 2007
    Hi Bill,

    I'm a bit unclear about exactly how you would like your report to look (the
    formatting was lost in your post). It is possible to take control of the
    actual page position of a component before its drawcommand is actual drawn
    to the canvas. You can override the OnDrawCommandCreate event and manually
    assign its Left and Top positions on the entire page. These values are in
    thousandths of millimeters (microns).

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2007
    Nico:

    My apologies. When I saw what my post looked like,
    even I was confused. It doesn't look that way in my head.

    I have an invoice that will be 4.5" high by 8.5" wide.
    The item detail will print along the right side. The
    Customer name, address, etc will print along the left to fit
    in an envelope window.

    I cannot figure out how to print what I guess would be the Group
    Header (Order#) information just to the left of the order detail.
    I'm used to doing things top/down and not left/right.

    Can you shine some light on the left/right issue?

    Hope this make better sense.

    Bill

    I ne
  • edited December 2007
    Hi Bill,

    Sorry, I'm still a bit unclear about which items are being brought in from
    your database and which are static labels. Have you tried manually moving
    your fields on the page as I suggested in my previous post?

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited December 2007
    Nico

    It's still classic master/detail with an "orders" master and "items" detail
    but instead of printing the normal "master on top" then "detail in the
    middle" style of invoice
    I need to begin my (GroupHeader) "master" and detail data along the same
    (Top property) horizontal. I want to print the master data on the left of
    the page and run
    my detail lines down the right side of the page.

    All of the data will come from the master and detail tables with only a few
    labels (it's a pre-printed form)

    I just do not know how to program/design for left/right presentation of the
    data bands.
    Maybe columns??? Don't know. Hope this helps. I cannot think of any other
    way to explain it.

    Bill



  • edited December 2007
    Hi Bill,

    One option would be to try to use LeftToRight columns as you mentioned
    below. Once you define how many columns you would like to use (Page Setup
    dialog or Report.Columns property), you can set the
    DetailBand.ColumnTraversal property to LeftToRight to traverse you data
    across the page rather than down.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.