Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique Index
Message
From
05/07/1999 10:34:33
 
 
To
05/07/1999 10:24:25
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00237479
Message ID:
00237482
Views:
11
>How can I index on multiple feilds of a table?
>
>Feilds A and B in table Mytable, I want combination of A&B unique. Like A B
> 1 1
> 1 2
> 1 3
> 2 1
> 2 2
>If I index them individually it doesn't allow me to add more than one combination.
>
>
>Thanks in advance
>Gnana.

Gnana,
you can use something like STR(A,10)+STR(B,10) in index expression if fields A and B are numeric.
Regards

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform