Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to index a table with 2 indexs?
Message
From
25/10/1998 10:11:45
 
 
To
25/10/1998 07:58:22
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00150267
Message ID:
00150298
Views:
16
>INDEX ON code1+ val(code2) to code
>but it said it is a "misoperand error". I need to use character for the code2 in some purpose, so what can I do?

I make this mistake all the time. Code2 is a character and code1 is numeric, correct?

INDEX ON str(code1) + code2. The next big trap I fall for is when both are numeric and I do an index on num1 + num2 and expect it to be ordered by character when I am really adding the two numerics.

HTH,

Jim
Jim Philippi

quando omni flunkus moritati
Previous
Reply
Map
View

Click here to load this message in the networking platform