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 3:27PM
    see the chapter in the user manual on using the engine object.
    modify the bands cury prop.
    ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.