Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable in report designer
Message
De
10/10/2003 13:30:07
 
 
À
10/10/2003 04:56:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00837297
Message ID:
00837532
Vues:
33
>i have cvl as variable in my report,
>
>[pre] IIF(dtrupcode="VL",1,0) [/pre]
>
>it works fine if i put a text box and write in expression "cvl".
>
>if i want to only print the cvl when cvl>0 i do,
>
>[pre]
>
>IIF(cvl>0,cvl,0)
>
>[/pre]
>
>but say cvl=4, i want it to display "VL: 4" so i do it like this,
>
>[code]
>
>IIF(cvl>0,"VL: "+trim(str(cvl)),0)
>
>[/code]
>
>it only prints "4".
>
>what's wrong, any help pls?

Try making the space for the field wider on the report.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform