General information
Category:
Coding, syntax & commands
Title:
Scan, store, replace
I am using scan to find records in table1 and replace then in table2
Do I really have store to variables as i am doing below or is there other way ?
*****************
select table1
scan for paid = .t.
store table1.cod to cod1
store table1.client to cl1
select table2
replace table2.code with cod1
replace table2.name with cl1
endscan
************
Table2 fields names are different from table1
Thanks
Moises
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