Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Requery Business Objects
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00703701
Message ID:
00703720
Views:
13
José,

>Is there any way to requery all views inside a Business Object?

you can requery the main alias of the business object with BizObj.Requery().

If you have more than one alias in it, you can use BizObj.Requery(.F.|.T., "aliasname").

AFAIK, there is no method for requerying all aliases at once. But you can add a method to your bizobj subclass in which you're asking the dataenvironment object for all open cursors with DE.GetCursors() and loop through the array calling BO.Requery(.F.|.T., "aliasname").

HTH,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform