Index
1999-09-22 19:48Gene Wirchenko, genew@shuswap.net: VFP: Appending from a Cursor
Back to top
VFP: Appending from a Cursor

Author: Gene Wirchenko, genew@shuswap.net

Posted: 1999-09-22 19:48:24   Link

I have a cursor that I wish to update with the contents of another

cursor. I am replacing records that are for one client only. How do I do it?

I'd like to be able to use something like

select (aliasdest)

delete for clcode=who

append from (aliassource) && The culprit!

but it looks as if I will have to code

select (aliassource)

copy to array therecords

select (aliasdest)

delete for clcode=who

append from array therecords

Is there something better? I'd like to cut out the middleman (the

array) here. Cursor (aliasdest) must remain writeable.

Sincerely,

Gene Wirchenko

genew@shuswap.net

Computerese Irregular Verb Conjugation:

I have preferences.

You have biases.

He/She has prejudices.

©1999 Gene Wirchenko, genew@shuswap.net