Creating Custom Report by code

BPRobinsonBPRobinson Canada
edited 9:44PM in FastReport 4.0
I have an envelope program which I have created the ability to create custom size envelopes/labels.
Originally I only allowed one envelope at a time and it worked ok.
Now I am allowing more than one envelope to be printed at a time, but getting two (eg) return addresses and two(eg) forwarding addresses on envelope size.

I need help with getting the Master databand to adjust height to accommodate a return address and then forwarding address.
I tried to use Page height value but it is extended and may not be compatible with Databand height.

I tried 100 height for small envelop and worked.
I tried 500 height for large envelope and worked.
But, I need to adjust these height. I use the setting from a table for the custom envelope settings.

Help is appreciated,
Brian

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 9:44PM
    write code in the obp event of the masterdataband to set the engine cury to a value you want for the second envelope

Leave a Comment