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
Title:
Requerying Other Than Primary Data Access Element
Miscellaneous
Thread ID:
00645889
Message ID:
00645889
Views:
34
I think I have come across this discussion before, but I can't remember if was in the docs on here on the UT. I have a business object with several data access elements, and I want to requery the ones other than the primary one. What is the best way to do that?

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
Next
Reply
Map
View

Click here to load this message in the networking platform