Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacing Text
Message
De
24/02/2014 04:21:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01595033
Message ID:
01595036
Vues:
49
Sir These values may Change 20.699 184.238 MV. So I need to change the text Inside () only and the rest should be as per the original


>Have you tried
>
>
>replace all;
>   detail with  "20.699 184.238 MV (XXXXXXXXXX)SH "
>   FOR ALLTRIM(DETAIL)='20.699 184.238 MV (. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .)SH'  
>
>
>
>>I need to replace
>>
>>'20.699 184.238 MV (. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .)SH'
>>
>>with
>>
>>20.699 184.238 MV (XXXXXXXXXX)SH inside a Cursor
>>
>>Using LOCATE FOR ALLTRIM(DETAIL)='20.699 184.238 MV (. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .)SH'
>>
>>I can reach the record, now I need to Replace Detail with 20.699 184.238 MV (XXXXXXXXXX)SH
>>
>>What is the easiest Way to do it.
>>
>
>
>>
Harsh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform