Mike Yearwood
Toronto, Ontario, Canada
Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2000 Server
Hi Kirk
While vartype may work, and type should work, they will indicate a false positive result if a variable or an object.property exists when the field does not. FSIZE is more closely related to the concept of a field. If the size is 0, the field does not exist.
I think I learned that from Fabio Lunardon.
>Is there an easy way to determine if a field exists in a cursor?
>
>I tried VARTYPE(fieldname), but if the field isn't there, I get an error.
>
>Thanks
>
>Kirk
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