Moving Detail Band Up

I have a M-D report and I need to move the first record of the detail band up to the master row. I know I need to do this in script but saying Fast-Report's documentation is lacking would be generous.

So my question is how do I in script move up a row (I am trying something like below):

procedure PackageItemsDataBandOnBeforePrint(Sender: TfrxComponent);
begin
if (<Line#> = 1) then
begin
Sender.Top := Sender.Top - MasterDataBand.Height;
end;
end;


But the Top property is undefined.

Thanks for any help.

Best Regards,

Shane

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 8:00AM
    see the chapter in the user manual on using the engine object.
    modify the bands cury prop.
    ;)

Leave a Comment