Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie ? on CursorAdapter
Message
 
 
À
12/02/2003 17:06:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00752449
Message ID:
00752535
Vues:
10
That was my problem. I was using Doug's example where the CursorAdapter is local and the cursor was gone once the object was released. Once I changed it to public it works.
Thank you for your help.

>>I want to replace use of USE command with CursorAdapter (CA). After creating a CA and calling CursorFill() method I can browse the cursor.
>>
>>But how do you refer to individual fields of the cursor of navigate (move records up and down) the cursor. I assign an alias to the CA (e.g. MYALIAS) but I can't seem to able to refer to the fields using MYALIAS.FLDNAME.. What am I missing?
>>
>>Also, if I want to bind the CA to form controls, how do you do it?
>>
>>TIA for any help or explanations.
>
>Doug's reply is correct, however be sure to keep the Cursor Adapter reference in scope.
"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