>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only