Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reporting in 2.6
Message
From
31/10/2002 10:57:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Reporting in 2.6
Miscellaneous
Thread ID:
00717355
Message ID:
00717355
Views:
43
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
Next
Reply
Map
View

Click here to load this message in the networking platform