Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Widow/Orphan in G
Message
From
04/10/2001 15:17:32
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/10/2001 13:50:32
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00562497
Message ID:
00564422
Views:
17
>"It's feasible, though not easy. You actually know the size of each line, so you can put "when less than {rowheight}*alias.numberoflines". Row height can be measured in several ways, including trial and error, opening the .frx and reading the .height of the band etc, whichever serves best. Keep in mind that units in .frx are 10000ths of an inch (or 1000ths?)."
>
>When I open the .frx, the records where Objtype=9 and Objcode=3 or 5, are the group header/footer. Width=nnn.nn is the same number in Data Grouping, "Start group on new page when less than nnn.nn". How do I put a variable # into the Width field? Alias.numberoflines will be different for each account.

You can't have a variable in the height field of a report object, but you can have report-level variable, and an OnEntry function which you can use to calculate the value to store into that variable. In the "new page when less than" you put that variable.
The function you'd call from detail band's OnEntry would use Alias.numberoflines and the detail row height to calculate the size needed.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform