Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie ? on CursorAdapter
Message
 
 
To
12/02/2003 16:31:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00752449
Message ID:
00752540
Views:
9
Hi Doug,
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.

I have been reading and rereading your 3 articles in Foxtalk. I still can't get the concept of Reusable Data Classes (your last article). Hopefully on the n-th time of reading I will get it. 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.). Or it was not supposed to be part of the download?

Since I have your attention and maybe Glen reads it too. I have another newbie question.

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?

>Hi Dmitry.
>
>>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?
>
>Hmm, as long as you set the Alias property of the CursorAdapter to MYALIAS and CursorFill succeeded (it returns .T.), you should have a cursor called MYALIAS open, so you can bind controls to it, reference fields using MYALIAS.FIELDNAME, etc.
>
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform