Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Requery Business Objects
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00703701
Message ID:
00703720
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform