Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vartype with tables
Message
De
27/12/2007 07:35:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01277433
Message ID:
01277702
Vues:
16
>>Tamar,
>>But I don't understand why would
>>
>>
?vartype("mytable.myfield")="U"
error. There is nothing to fail there.
>>It doesn't error for me and correctly displays .F. Do you all get error and not me?
>>Cetin
>
>That command is comparing the character string "mytable.myfield" to the character string "U". Unlike TYPE(), the VARTYPE() parameter is not quote delimited. You will get an error if you leave off the quote marks and reference an undefined field.

Not quite but I think you meant it is comparing the type of "mytable.myfield" expression (which is "C") to "U" but so what?
Why would
?vartype("mytable.myfield")="U"
error, I don't get. It wouldn't and it doesn't error here.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform