Information générale
Catégorie:
Gestionnaire de rapports & Rapports
how about upper(allt(tag1_st)) ??
or
debug to see when it the cursor come to harvest what is the value of lcTest
lcTest = iif(alltrim(tag1_st) = 'REFUND','RETURNED',iff(alltrim(tag1_st) = 'HARVEST','HARVESTED',tag1_st))
HTH
>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:
>>
>The second part works and prints HARVESTED, where as the first part still prints REFUND.
>
>Any suggestions?
>
>Thanks,
>Sunshine
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement