Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic formatting of a report field
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01392107
Message ID:
01394322
Vues:
39
>> Can you use a function to format a field?
>
>Hi Russell
>
>I usually do that at run time.
>
>Double click on the field on the report - Press "Other" Tab - Press "Edit Comment" - Put any comment you want there (let say "comment1")
>
>Use MyReport.Frx in 0 Shared Alias tbl_report
>Select tbl_report
>Locate for comment = "comment1"
>Replace fillchar with "N" && Change Type C or N
>Replace picture with "###,###.##"
>
>
>hth

Yes, that's another "old fashioned" way, but one I was never too fond of. Often the report is excluded from the EXE in order to accomplish this, though I think VFP will let you copy it out of the EXE and to a temp file that you can then modify, print, and delete. At least that's the way I remember it (I just don't do that, so I'm a little fuzzy here).
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform