Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Widow/Orphan in G
Message
De
04/10/2001 15:17:32
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
04/10/2001 13:50:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00562497
Message ID:
00564422
Vues:
18
>"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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform