Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
STRTRAN/CHRTRAN & Memo fields
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
STRTRAN/CHRTRAN & Memo fields
Divers
Thread ID:
00729845
Message ID:
00729845
Vues:
76
I have an SCX open as a table and am trying to replace the instance of the character expression "QueryUnload" WITH "QueryUnloadHook"

I have tried:
STRTRAN(MyTable.Methods,"QueryUnload","QueryUnloadHook")

lcMemo = MyTable.Methods
STRTRAN(lcMemo,"QueryUnload","QueryUnloadHook"
REPLACE Methods WITH lcMemo, ;
ObjCode WITH SPACE(0) IN MyTable

lcMemo = MyTable.Methods
CHRTRAN(lcMemo,"QueryUnload","QueryUnloadHook")
REPLACE Methods WITH lcMemo, ;
ObjCode WITH SPACE(0) IN MyTable

There is defintely an occurence of "QueryUnload" in the Methods memo field.

What am I misunderstanding ?

Cheers,
Jamie
Cheers,
Jamie
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform