Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logical field = expression?
Message
 
 
À
19/07/2007 15:19:27
Jill Derickson
Software Specialties
Saipan, CNMI
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01242108
Message ID:
01242113
Vues:
15
This message has been marked as the solution to the initial question of the thread.
I guess '=' has higher precedence than '$'. You can use parenthethis to get correct reslut
? cse_closed = ("CLOSED" $ UPPER(currentCaseStatus))
>I'm curious why the following give me an "Operator/operand type mismatch" error:
>
>cse_closed="CLOSED"$UPPER(currentCaseStatus)
>
>cse_closed is a logical field in the currently selected table.
>currentCaseStatus is a character field in the currently selected table.
>
>
>AND:
>
>"CLOSED"$UPPER(currentCaseStatus)=cse_closed
>
>does NOT give me an error, but returns a logical value.
>
>Thanks, J
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform