Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getfldstate() problem
Message
De
28/01/2002 12:29:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
28/01/2002 11:17:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00611600
Message ID:
00611688
Vues:
28
>>I got a problem now, when i use getfldstate('myfieldname'), sometime it was worked well, but sometime , the system says that 'Funcation argument value, type or count is invalid', the field name myfieldname is always be the same, the question : this message happened between while. Can't anybody give some help?
>>
>> thanks!
>
>This happens for new records. In this case, this function will return .NULL.
>
>The following functions may help you overcome the problem: isnull(), nvl().
>
>HTH, Hilmar.

Correction:

GetFldState() will not return .NULL. Some other functions might return .NULL. for new records; I had problems especially with OldVal().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform