Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find a string inside of a memo field?
Message
De
14/09/1999 09:40:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00264411
Message ID:
00264416
Vues:
21
Steve:

Checks for a string may include:

AT("MY STRING",MyMemoFieldName) # 0
AT_C("MT STRING",MyMemoFieldName) # 0
"MY STRING" $ MyMemoFieldName

Am I missing something here?

>I am using STRTRAN(MyMemoFieldName, 'MY STRING', 'FOUND IT')
>as follows:
>
>gcFoundIt = STRTRAN(MyMemoFieldName, 'MY STRING', 'FOUND IT')
>
>Then, I check for gcFoundIt = "FOUND IT"
>and if the string 'MY STRING' was found in the memo field, then I do some special processing.
>
>Is there a better way to find a string inside of a memo field?
>This doesn't seem to work very well.
>
>Thanks for the help. I don't know what I would do without you.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform