Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding text on memory cursor to replace
Message
De
22/02/2007 18:29:47
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Finding text on memory cursor to replace
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01198153
Message ID:
01198153
Vues:
55
hello comunity

my program dislay a cursor that give information to insert line on my acounting program.
i need to know how can replace dterminate text on one column field of my cursor and changing to another texte:
for example
cursor name : teste
column field to find portion of text: teste.descricao
text returning by cursor : Reg.de V/Factura nº 127b por letra.
text to replace : por letra
new text : por Chq

i have the following sintax:
select teste
scan for teste.descricao = "%"+'por letra'+"%"
if not eof()
replace teste.descricao with "por chq"
endif
endscan

i pretend returning on my cursor in column teste.descricao : Reg.de V/Factura nº 127b por chq.

Also , i need to refresh this cursor on my screen after running this code.

Many thanks
Luis Santos
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform