Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compound index with two integer fields
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00355330
Message ID:
00355348
Views:
17
>What is the best way to create a compound index with integer fields?
>
>field1 is integer.
>field2 is integer.
>
>When I create an index like INDEX ON field1 + field2 TAG tagname1, foxpro seems to get "confused".
>
>Must I use the STR() function around field1 and field2?

Hi Andy,

Look at the BINTOC() function. It converts integers into strings that I think might solve your problem.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform