Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vartype and type not interchangeable on field in table
Message
 
 
À
01/03/2011 19:53:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01502308
Message ID:
01502318
Vues:
38
>Thanks Sergey and James. I had stopped coding in VFP for the past year or so, doing other stuff. My memory isn't what it used to be. I've used afields a zillion times, but I didn't think of it.. lol.
>
>Regarding the type function, I still don't get it - why doesn't it return X then, when there is a null in the field, like vartype does?


The TYPE() function existed before NULLs were introduced in FoxPro.
The VARTYPE() function returns type as well when second parameter is .T.
IMO, it should be default behavior.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform