Information générale
Catégorie:
Codage, syntaxe et commandes
>Can anyone tell me why the following code used to work (under VFP50) and now, all of a sudden, gives me an error message "Operator/operandi mismatch" ? The underlying field is formatted for datetime and I haven't changed anything else (that I'm aware of) to cause this sudden refusal to work syndrome! Century is set on. Thanks in advance.
>
>IF !EMPTY(THIS.Value) < DATETIME()
!!EMPTY(THIS.Value) has a logical value.
DATETIME() has value of type datetime.
You can't compare a logical value with a datetime value in FoxPro.
I don't understand why it worked before!
Vlad
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