Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programaticaly alignment of report field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00972003
Message ID:
00972061
Vues:
15
What you need to do is add the field to the report twice. Set one to center and the Print When logic as needed. Set the other to left and set the print when logic accordingly.

Cathy


>Dear Experts
>
>There is a character type field on report.
>I want to alignment that field with following conditions
>
>assume that "field1" is report field
>
>
>IF LEN(ALLTRIM(field1))<30
>field1.alignment=center && center justify
>else
>field1.alignment=right && right justify
>endif
>
>
>Is it possible, if yes then please help me.
>
>Thanks in advance
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform