Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Local view from remote views
Message
 
 
À
18/08/1998 16:39:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00127858
Message ID:
00128670
Vues:
36
>Hola Eduardo....
>
>>I'm using a local view made of three remote views. Every time I need to use the local view I need to requery() the three remote views that uses.
>>Is there a way the local view could automatically requery the remote views that need.
>
>Not completely automatically. You could create a custom method, called CmpRequery (for Compound Rrequery) in your Application object and put the three other calls there + the REQUERY of the local view. That way, in code, you'd have the one line entry:
>
>=oApp.CmpRequery('localviewname')
>
>The mehthod would be:
>
>
>*** Appl.CmpRequery
>LPARAMETERS cLocalView && unused value to make this method look like REQUERY()
>=REQUERY('remoteview1')
>=REQUERY('remoteview2')
>=REQUERY('remoteview3')
>=REQUERY('localview')
>RETURN .T.


Thank you John, its a good way to do it. I will use it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform