Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report Printing
Message
De
21/12/2008 18:39:27
 
 
À
21/12/2008 08:17:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01369011
Message ID:
01369044
Vues:
11
>Hi
>
>I have a report/Sales Invoice which contains only few items and the rest of the page is blank. I want to draw the vertical/horizontal lines as in normal invoice upto the page footer.
>How can I do so? Thanks!
>
>Saifuddin

This solution requires the latest ReportBuilder.app (which is fine for SP1). That app will add the Dynamics Tab to the properties sheet of a rectangle (and a picture). Activate the Dynamics Tab, click on Add and fill in a name, e.g. 'Resizer'. Add this line to the Height Expression line:
m.oProps.MaxHeightAvailable
Fill in .T. in 'Apply when this condition is true'. Click OK and click on Script. Try to understand the sourcecode that will be generated.

If you place the rectangle in the detailband, it will stretch to the very end of the page (minus the footer) because you have dynamically redeclared the height of the rectangle.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform