Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple cursors in a business object
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00324833
Message ID:
00325379
Views:
26
>>>
>>>This.requery() I did this hopes of the view refreshing itself but it did not.
>>>
>>
>> In a bizobj, only one view is "Primary". Since you're using 3 different views, only the primary (first on the list in the bizobj builder) one get's requeried when you call the Requery() method.
>
>I've never had the need, personally, to force intialselecetedalias to change, other than setting auto-primary of course, but I guess part of Brian's problem here is that in order to stick with his original multiple cursor bizobj, he needs to change the intialselectedalias property to which ever view he needs to requery before he calls This.Requery() right?

Yeah, but only because he wants to be able to update the cursor. Otherwise he could get away with just selecting the other cursor and manually do a =REQUERY(). I keep thinking there might be a way to do this with one cursor and some fancy parameters, but without the specifics of the view, who knows. Or a change in the interface so that the user is only truely editing one record at a time even though they can select from a list.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform