Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why no data type mismatch?
Message
From
04/05/2000 13:16:29
Walter Meester
HoogkarspelNetherlands
 
 
To
04/05/2000 13:02:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00366194
Message ID:
00366201
Views:
22
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,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform