Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie ? on CursorAdapter
Message
From
14/02/2003 15:01:45
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00752449
Message ID:
00753406
Views:
14
Hi Dmitry.

>My problem was that I was using your examples in Foxtalk where the CursorAdapter was local and I was losing the cursor after the object was out of scope.

Oh, I see. If the CursorAdapter object goes out of scope, the cursor is closed unless you call the CursorDetach method first.

>By the way, I downloaded the source but can't seem to find where is the source for creating the Example: Form (shown in Figure 1.).

It should be CustomerOrders.SCX. It's in the ZIP file I sent to Pinnacle Publishing.

>Say I want to open 5 tables to be used in a form. Do I have to create 5 CA's in the DataEnvironment of the form, one for each table?

Yes. Each CursorAdapter object manages one cursor.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform