Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Re: Cursor
Miscellaneous
Thread ID:
00455330
Message ID:
00455354
Views:
37
>>Hi All:
>> I have two cursors that I want to keep open. My problem is that when I open the second cursor, it closes the first one. How can I keep both cursors open?
>>Thanks
>>MA
>
>use mySecondCursor in 0 && First free area
>or
>select 0
>use mySecondCursor && Now your second cursor is also selected - difference with the above syntax
Rnot cursors "use"`d (have an alias assigned) when created, IOW: I thought all that was needed was a select.
sqlexec(nHandle,[execute getAllCustomers],[MyCursor1])
sqlexec(nHandle,[execute getAllInvoices],[MyCursor2])
select MyCursor1
brow
select MyCursor2
brow
.. the 'use' implies the cursor was closed, in which case in wouldn't exist, right? I bet the original thread meant table, instead of cursor.
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform