Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Finding text on memory cursor to replace
Versions des environnements
Network:
Windows 2003 Server
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement