Group Header with datarow + conditions

Keve G??borKeve G??bor hungary
edited February 2012 in FastReport .NET
Hello,

I need to display the following structure on A4 size page, if i have 10 records in the data

header
row
row
row
row
row
footer
header
row
row
row
row
row
footer

So, i made a simple template:
GroupHeader
Data
GroupFooter

I tried to set GroupHeader condition like this:
[Indexsorok.C_STUDENTTRAININGTERMDATAID] && [Row#] > 5

But it doesn't working... [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Is there any solution to display 2 header with 2x5 data in one page? Like multiple columns, with horizontal division? Thanks![/img]

Comments

  • Keve G??borKeve G??bor hungary
    edited 11:35PM
    Hello again,

    So, my problem almost done, but still need the answer: Should i put two condition in a Group condition? Like this:
    [(table1.field>0 || table2.field > 0]

    thaks,
    Gabor
    Hello,

    I need to display the following structure on A4 size page, if i have 10 records in the data

    header
    row
    row
    row
    row
    row
    footer
    header
    row
    row
    row
    row
    row
    footer

    So, i made a simple template:
    GroupHeader
    Data
    GroupFooter

    I tried to set GroupHeader condition like this:
    [Indexsorok.C_STUDENTTRAININGTERMDATAID] && [Row#] > 5

    But it doesn't working... [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> Is there any solution to display 2 header with 2x5 data in one page? Like multiple columns, with horizontal division? Thanks![/img]
  • edited 11:35PM
    Hello,

    You typically should use one condition. The group data will be sorted on this condition.

Leave a Comment