Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie ? on CursorAdapter
Message
 
 
À
14/02/2003 15:01:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00752449
Message ID:
00753480
Vues:
24
Hi Doug,

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

I didn't know of the method CursorDetach. I will have to look into it to see when this method can be safely used.

Also I found your source code. And I finally understood your Reusable Data Classes (after reading the article 10 times <g>). I am always slow understanding new concepts, though your article was well written.

I am adapting the use CursorAdapter and your SFDataClasses in my application. I hope the technology is solid and I won't hit a wall jumping on something relatively new.

Thank you for your reply.

Dmitry
>
>>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
"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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform