Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you index on an extension of the file name?
Message
De
14/04/1998 14:30:04
 
 
À
14/04/1998 12:52:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00091812
Message ID:
00091865
Vues:
24
>>>>I want to index on the last three letters of a file name
>>>>and get a list indexed by file extension.
>>>
>>>Firstly, you shuld collect file names/extensions into cursor (using ADIR()). Then you can index your cursor and use it for list.
>>---
>>Hi Ed and thanks...
>>I have a table with files name in it.
>>I want to index on the extensions.
>>I am looking for the index code.. example
>>index on surstr(fieldname,right(filedname,3)) to myindex - or something
>>like that...
>Try :
>index on upper(substr(fieldname,rat(".",filedname)+1))) to myindex
>Beware this one assumes all have extensions.
>Cetin
---
Hi Cetin
thanks for the information :)))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform