General information
Category:
Coding, syntax & commands
Title:
How to copy Memo field into vfp table
Am converting a fp2.6 system to vfp9 and part of the effort is converting the tables. One table has a memo field that needs to be converted.
The routine I'm using creates a cursor and loads the old table into it. The field that I load the memo field into is C(254).
When it's loaded I open the new empty table and do the following:
select dummy
go top
for i = 1 to lntotcnt
select client
scatter memvar
cname_id = dummy.xname_id
etc . . etc
mNotes = dummy.xNotes && this doesn't work! there is data in dummy.xNotes.
append blank
gather memvar
skip in dummy
endfor
What code can I use to copy the dummy.xNotes c(254) data into the mNotes memo field?
All help appreciated.
Bill
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