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

Continued data on other column

edited December 2001 in General
Hi,
I have a report with two Columns and two groups. So I try to write
'Continued...' in the group Header of the second group if the data of the
column continued on next columns (it could be on few other columns and I
want that all this additionnal column had (Continued...)). The method
firstPage of the groups who is used in the tutorial isn't work well in my
case. Thus, I try:

if rbCatalogue.Groups[1].Breaking then
lDep.Caption := plArtCat['Fields']
else
lDep.Caption := plArtCat['Fields'] + ' (Continued...)'

but the first one is write with (Continued...)

So if you have any suggestion for me it will be really apreciate.

Mathieu Lavitoire
www.si.qc.ca

Comments

  • edited December 2001

    If report.CurrentColumn = 1 then
    lDep.Caption := plArtCat['Fields']
    else
    lDep.Caption := plArtCat['Fields'] + ' (Continued...)'




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2001
    I try your solution. But it's not really work because the 'CurrentColumn'
    is reset to one on each page and in my case it cause a problem because I
    don't know how many column the group will have. For example my first group
    of data is on 3 column (and I never know it will be on how many columns) so
    on the first page it work but on second page the first column it's not write
    'Continued' and on the second column it's write but in this example it not
    supposed to be write because the second column is a new group.

    I don't know if you can help me. But I really appriciate your help.

    Lavictoire
    www.si.qc.ca

    "Nard Moseley (Digital Metaphors)" a ?crit dans
This discussion has been closed.