General information
Category:
Coding, syntax & commands
Environment versions
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only