Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requerying Other Than Primary Data Access Element
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00645889
Message ID:
00645929
Views:
8
Thanks. I think I read somewhere in the docs of version 6 NOT to save data in anything other than your primary data access object, but I have been cheating :-).

>we had this discussen I believe on UT a few weeks ago and you are right with your solution. When you only do a requery I believe that Jasons way is the faster one, but when you want to work e.g. save data ... with the other view you should go the way you mentioned.
>
>Marcus
>
>>What I am currently doing is adding a method (ex. LoadAllCompanies) with code like this:
>>
>>LOCAL lcCurrentAlias
>>
>>lcCurrentAlias = THIS.GetAlias()
>>
>>THIS.SetAlias( "v_Companies" )
>>THIS.Requery()
>>THIS.SetAlias( lcCurrentAlias )
>>
>>RETURN RECCOUNT( "v_Companies" )
Chris McCandless
Red Sky Software
Previous
Reply
Map
View

Click here to load this message in the networking platform