Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requerying Other Than Primary Data Access Element
Message
De
17/04/2002 11:26:06
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00645889
Message ID:
00645908
Vues:
12
Chris,
When you say "data access elements," are you referring to distinct DEs, or separate views within one DE?

If you're using one DE, we use this functionality in MM7 (it may go back as far as 6.0 or 6.1)
LOCAL lcAlias

lcAlias = 'v_Companies'
This.Requery(.F., lcAlias) && .F. indicates "not don't requery children"  Gotta love those double negatives!

RETURN RECCOUNT(lcAlias)
This way, you can avoid switching the InitialSelectedAlias if all you're looking to do is requery a different view.

Hope that helps,
---J

>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?
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform