Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conditionally formatting numeric fields
Message
 
 
À
24/04/2008 18:14:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01312990
Message ID:
01313199
Vues:
10
>Sergey,
>That's it! Thank you.
>********************
>Naomi,
>when you have VFP at hand, please try it:
>make report,
>set DE to use home ()+"labels"
>add one field for ckval
>write in the format expression (you will find on page Format of the Field Properties form)
>
>iif(readonly=.f., alltrim(transform(ckval, "@ 999,999,999.99")) + " + ", transform(ckva,"@ 999,999.99"))
>
>I see only stars.
>
>For timebeing I will use Sergey's elegant solution, easier for future maintenance anyhow.
>Definitely good bye for today.
>Koen

Wow. I just re-read your message again. Why did you try to put this expression in the Format? I meant, that you just need to put the expression as is in the field itself, not in the format. In other words, you format the field the way you want using TRANSFORM function.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform