Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
Hello comunity
I have a problem about using Scatter gather vfp command.
on my original cursor teste i have the following information
conta debit credit
318111 1000
318111 1000
321 1000
24321 230
221111 1230
I build this command
Select * From teste Into Cursor myTemp Readwrite
Select myTemp
Scan
Scatter Memvar
Delete For Conta = '318'
Replace Conta With '225111' For Conta = '321'
Insert Into teste From Memvar
Endscan
But if i make a browse to my original cursor teste i have this information
conta debit credit
318111 1000
318111 1000
321 1000
24321 230
221111 1230
318111 1000
but if i make browse on MyTemp the result is correct:
22511 1000
24321 230
221111 1230
How can i do to replace the content of my original cursor teste with the values of cursor MyTemp ??
Many thanks
Best regards
LSantos
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