Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable in report designer
Message
From
10/10/2003 13:30:07
 
 
To
10/10/2003 04:56:53
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00837297
Message ID:
00837532
Views:
34
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform