Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EVALUATE not support null parameter
Message
 
À
22/10/2003 10:01:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00841002
Message ID:
00841410
Vues:
25
Fabio,

From the VFP help
QUOTE
Evaluates a character expression and returns the result.
EVALUATE(cExpression)
UNQUOTE

As NULL is not an expression, you cannot evaluate it, thus you get an error as desirable, expactable and preventable.
You may want to try EVALUATE("NULL") which is a character expression with the NULL value. This returns NULL.

HTH



>Hi Martin,
>
>>Of course. Evaluate takes a string parameter.
>
>But x is a null string.
>
>Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform