Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you index on an extension of the file name?
Message
From
14/04/1998 12:38:02
 
 
To
14/04/1998 12:22:08
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00091812
Message ID:
00091824
Views:
23
>I want to index on the last three letters of a file name
>and get a list indexed by file extension.

Assuming that you have filenames loaded into a "files" column of a table:

INDEX ON RIGHT(ALLTRIM(files),3) TO ext_index
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform