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
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
modify the bands cury prop.