Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making CursorFill() append records
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01512255
Message ID:
01512267
Views:
50
This is what I have been doing (since I posted my message). The issue (could be but hopefully not) is that the query string will be longer than is allowed. My query string (to include both sets) will have the WHERE FIELD IN (.) and the IN expression could be long. Theoretically. Thank you.

>Change the query that it pulls both sets of records.
>
>>
>>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?
"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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform