Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reporting in 2.6
Message
De
31/10/2002 10:57:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Reporting in 2.6
Divers
Thread ID:
00717355
Message ID:
00717355
Vues:
44
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform