Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combining two cursors
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00019482
Message ID:
00019607
Views:
53
>>SELECT * ;
>> FROM cursorA ;
>> INTO CURSOR cursorC ;
>> ORDER BY orderField
>>UNION ;
>>SELECT * ;
>> FROM cursorB
>Hmmm...this looks good, but when I tried it I only got records from
>cursorA. Is there something missing?

Yeah, the semicolon after the ORDER BY clause. :-( Also, you could ORDER BY 1 instead, if that did what you wanted....
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform