Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reporting in 2.6
Message
From
31/10/2002 12:26:05
 
 
To
31/10/2002 10:57:10
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00717355
Message ID:
00717402
Views:
15
Since you have an error in the expression shown here ("...iff(alltrim..."), can you cut/paste the ACTUAL expression here for us. Things like misplaced commas or parens can matter.


>I'm running a report in 2.6 and I would like one field to print "RETURNED" in the field = 'REFUND' and print "HARVESTED" if the field = 'HARVEST' otherwise, just print the field. Here's my code:
>
>Under Report Expression:
>iif(alltrim(tag1_st) = 'REFUND','RETURNED',iff(alltrim(tag1_st) = 'HARVEST','HARVESTED',tag1_st))
>
>The second part works and prints HARVESTED, where as the first part still prints REFUND.
>
>Any suggestions?
>
>Thanks,
>Sunshine
Previous
Reply
Map
View

Click here to load this message in the networking platform