Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to combine two cursors?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01411721
Message ID:
01411789
Views:
128
>>>Hi,
>>>
>>>I have two cursors of the same structure. Some records of one cursor are in the other cursor. How do you make one cursor out of these two that has only unique records?
>>>
>>>Also, if I could ask another question in the same thread, what is the max length of characters can be used when naming a cursor (in SQL Select)?
>>>
>>>Thank you in advance for any help.
>>
>>I don't know why I didn't think of the most simple solution of combining two cursors. The simple solution is to select the cursor with greater number of records and JOIN the cursor with the smaller number of records.
>
>This solution Re: How to combine two cursors? Thread #1411721 Message #1411759 ?
>
>Or did you mean just insert all records from the smaller cursor?

I am really sorry for your loss that you won't get the solution stars here <g>. I didn't find using UNION to be part of the solution. But your input was valuable. So I thank you.
"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