Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requerying Other Than Primary Data Access Element
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Requerying Other Than Primary Data Access Element
Divers
Thread ID:
00645889
Message ID:
00645889
Vues:
35
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform