Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using EuroAnsi in OleDb
Message
De
30/04/2008 11:11:23
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01313612
Message ID:
01314207
Vues:
8
>Run following code in VFP and you 'll have CHRTRAN command on the clipboard. You can post it in your code and modify to your needs.
>
>RESTORE FROM (HOME() + "EUROPEAN.MEM")
>lcFrom = ""
>lcTo = ""
>
>FOR i=1 TO 255
>	IF CHR(i) <> SUBSTR(m.euroansi, i,1)
>		lcFrom = lcFrom + CHR(i)
>		lcTo = lcTo + SUBSTR(m.euroansi, i,1)
>	ENDIF	
>ENDFOR
>
>*? lcFrom
>*? lcTo
>
>_CLIPTEXT = [CHRTRAN(myfield, "] + lcFrom +[", "] + lcTo + [")"]
>
Thanks, this is exactly what I was looking for.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform