Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form, DEClass, CursorAdapter ~ Object not found
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01266834
Message ID:
01267458
Views:
16
>>I would call it in code. I would either do it in the form's Init or in each particular page Activate method using some flag (property) to do it only once.
>>
>>How exactly do you access these CA in code? I usually do it slightly different way - create CA classes using Mark McCasland CABuilder and then add them in form's Load method by code. I haven't used form's DE for adding them, so there may be some difference.
>
>Thank you for replying Naomi. I was at a client site yesterday or would have responded to you sooner.
>
>a) I looked for "Mark McCasland CABuilder" but could not find it so have not had opportunity to try it but would if I could find it.
>

I'm sorry, I can only answer this question for now CursorAdapter Builder for VFP9 File #26265

The rest of your questions I may need to answer another time.


>b) Got frustrated with this arrangement so I have canned the DE class option and reverted to using the Dataenvironment feature included within the FORM designer.
>
>... In this new mode, I have added my cursoradapter for the first page to this FORM Dataenviroment and, without changing anything else, found that Page 1 works perfectly as before - grid populates, filters work, report works, navigation works. So far so good.
>
>... So I then added the cursoradapter for the second page to this FORM Dataenviroment. Now I do see this cursor appear in the Datasession window and the second page grid correctly gets populated with data from this cursoradapter source, HOWEVER .... always something .... the pictbtns on this second page have adopted the cursoradapter from the first page in navigation results - i.e. they do not affect the grid on this second page but move the pointer in the frist page grid - When you click on any button in the second page button set, you can actually see the ALIAS selected trips back to the first cursoradapter source. This is inspite of the fact that in the second page's Activate method I have set up to specifically SELECT the appropriate cursoradapter and the navigation buttons also have a specific SELECT to reference the correct cursoradapter.
>
>I'm thinking of taking up gardening instead 'cos I'm so fed up but maybe there is a simple explanation and perhaps you know what that is? /psb
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform