Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Indexing
Message
De
08/11/2014 08:22:22
 
 
À
08/11/2014 04:46:08
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01610714
Message ID:
01610729
Vues:
63
>>
index on left(chrtran(myfield,'/','') + ' ',25)
>
>Almost there, but missing a cherry on top:
>
>
index on padr(chrtran(myfield,'/',''),25)
>
>>Replace 25 with the actual length of your field.
>
>There.

Right. To be honest, I had a bad moment when I simply forgot about padr(). I bumped my head into the desk a few times, but just couldn't remember the name of that function. I remembered later, and thought about changing my message. However, you beat me.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform