Change order of bands

Hello,

my report prints:
<!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->
? ? ? ? [ Header ] <!--fonto:Arial--><span style="font-family:Arial"><!--/fonto--> (containing headings of detail data)<!--fontc--></span><!--/fontc-->
? ? ? ? [ GroupHeader]
? ? ? ? [ DetailData ]
<!--fontc--></span><!--/fontc-->
But I want it to look like this:
<!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->
? ? ? ? [ GroupHeader ]
? ? ? ? [ Header ] <!--fonto:Arial--><span style="font-family:Arial"><!--/fonto--> (containing headings of detail data)<!--fontc--></span><!--/fontc-->
? ? ? ? [ DetailData ]
<!--fontc--></span><!--/fontc-->
Is that possible?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 9:39PM
    what you do is use two group headers
    i suggest you run the main demo and look at the various reports for ideas.
  • edited 9:39PM
    gordk wrote: »
    what you do is use two group headers
    I don' think I use two group headers. I use one "GroupHeader" and one "normal" Header. I now got a solution by adding a "SubDetailData" band and put the headings in the "DetailData" band:
    <!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->
    ? ? ? ? [ GroupHeader ]
    ? ? ? ? [ DetailData ] <!--fonto:Arial--><span style="font-family:Arial"><!--/fonto-->(containing headings of detail data)<!--fontc--></span><!--/fontc-->
    ? ? ? ? [ SubDetailData ] <!--fonto:Arial--><span style="font-family:Arial"><!--/fonto-->(containing initial detail data)<!--fontc--></span><!--/fontc-->
    <!--fontc--></span><!--/fontc-->
    Now the bands are printed in the correct order, but I don't know if this is a good solution.

    gordk wrote: »
    i suggest you run the main demo and look at the various reports for ideas.
    Maybe I haven't looked thoroughly but demos were not helpful in this case.
  • gordkgordk St.Catherines On. Canada.
    edited 9:39PM
    i expect you did not look thoroughly enough.
    under basic reports you have a master detail subdetail report
    and a nested group report which shows how to do the same using 1 query using all the tables.
  • edited 9:39PM
    I don' think I use two group headers. I use one "GroupHeader" and one "normal" Header. I now got a solution by adding a "SubDetailData" band and put the headings in the "DetailData" band:
    I think what gordk meant was
    "what you SHOULD do is use two group headers"
  • edited 9:39PM
    technisoft wrote: »
    I think what gordk meant was
    "what you SHOULD do is use two group headers"
    Oh, ok... a misunderstanding caused by my bad English. I will try it out and see if it is better than "my" solution.

Leave a Comment