Two Column Report Question

Question.

I have a "simple" two column report.

Page is defined as two columns.

[ReportTitle]
[GroupHeader] *
[Header]
[MasterData] **
[PageFooter]

* Based on condition of change of a persons name from a querry

** Based on Dataset showing "items" belonging to person

I'm creating a simple report that goes

Customer A (in GroupHeader) | item
item 1 (in Master Data) | item
item 2 (in Master Data) |Customer F
Customer B | item
item | item
Customer C |
item |
item |
Customer D |
item |
item |
item |
Customer E |

I want to print going down the 1st column, then start on the top of the second column and go down.
This is working.

What isn't working is the situation where the GroupHeader (Cutomer E for example) fits at the bottom of the 1st column and the masterdata moves to the top of the 2nd column, which "widows" the GroupHeader. How can I keep these together?

Thanks for the assist!

Lance

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:39AM
    Did you set the keeptogether prop of the group header?
    ;)
  • edited March 2005
    Yes. Already checked for those options.


    GroupHeader1.KeepTogether:=true;
    GroupHeader1.KeepChild:=False;
    MasterData1.KeepTogether:=true;
    MasterData1.KeepChild:=False;
  • edited 2:39AM
    I continued to tweak with the settings and still can not get the widowed header in the 1st column to move to the 2nd column.

    I am using 3.10.
  • edited 2:39AM
    'Keep' mechanism uses the common code in the FR engine. You can't keep more than 1 item, i.e. if you use keep group, you can't use keep master.
  • edited 2:39AM
    Maybee I'm not seeing how to link this correctly.

    I removed all the KeepTogethers except for GroupHeader.

    It still doesn't move the group header to the 2nd column.

    The only thing I can do is select Reprint On New Page and it will put the group header on the top of the column again.
  • edited 2:39AM
    Keep works only for new page, not for new column.
  • edited 2:39AM
    I agree that it would seem logical that thats what it means. Yet......

    thats not what I see.

    Currently report is:

    Page Properties - 2 columns

    Report1 - Report
    ColumnHeader1 - ColumnHeader
    Breaks on a specific datafield
    GroupHeader1 - GroupHeader
    KeepTogether=True
    Reprint on New Page=True
    Header1 - Header
    MasterData1 - MasterData
    KeepTogether=False
    Footer1 - Footer
    GroupFooter1 - GroupFooter
    PageFooter1 - PageFooter


    I've tried about every combination and still no go.
  • gordkgordk St.Catherines On. Canada.
    edited 2:39AM
    Hi
    i ll post a small demo in the binaries newsgroup shortly
    for Lanceras
    ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.