Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using CHRTRAN to search
Message
De
15/02/2012 00:35:35
 
 
À
14/02/2012 21:30:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows 7
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01535424
Message ID:
01535430
Vues:
103
>Hi. I want to be able to search my dbf (free) from a form with the "dashes, slashes and blanks" removed (for a more thourough Find).
>
>I am using the following on both my search criteria and the index for my database
>
CHRTRAN(itemno,'/- ','')
>with NO favorable results. Can someone tell me what I am doing wrong (or an article/example)?? I am using a SEEK. Should I be using SQL?
>
>Thanks, Randy
>ps: I am still in Fox 7.


Not sure if you thought about this, but if your search term was "Randy Waldman" then removing the space would change your search term to "RandyWaldman", which probably isn't what you want.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform