Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making CursorFill() append records
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Making CursorFill() append records
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01512255
Message ID:
01512255
Views:
97
Hi,

Can I call CursorAdapter method CursorFill() so that it adds records to the current cursor, instead of overwriting the existing records?

Here is what I am trying to do:

Say I have a cursor adapter object that gets records from a base table. So, suppose, now the cursor has some records (or maybe none). Then I specify a different SQL select expression in the property .SelectCmd and call CursorFill() again. Typically the CursorFill() would get new records and overwriting the existing ones. I want the resulting cursor to have the initial records plus the ones added with the second call to CursorFill(). Is this possible? If so, how?

TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform