Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why no data type mismatch?
Message
De
04/05/2000 13:16:29
Walter Meester
HoogkarspelPays-Bas
 
 
À
04/05/2000 13:02:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00366194
Message ID:
00366201
Vues:
21
Erik,


>CREATE TABLE MyTable (PK I)
>INDEX ON PK Tag PK
>INSERT INTO Mytable (PK) VALUES (1)
>SEEK 1 IN MyTable ORDER PK
>SEEK "1" IN MyTable ORDER PK
>
>Both work. What gives?

As I recall correctly (can't check this right now) this has been possible since FPD 2.0. VFP automatically translates the character into numeric when the index is numeric.

Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform