Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requerying Other Than Primary Data Access Element
Message
From
17/04/2002 11:26:06
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00645889
Message ID:
00645908
Views:
11
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?
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform