Jon,
This is what I do in my requeryview method:
(In this case I presume that the variable in the view is ?Client_ID)
LOCAL Client_ID
Client_ID=THISFORM.cClient_ID
REQUERY('Name of View')
Contrary to the filter command, the only time that the variable, used with a view, must be in scope is when you requery the view.
It is also used when you open a view without NODATA (or property NoDataOnLoad=.F. in the DE) but most of the times you don't want that behaviour.
That's why I have all my paramatized views with NoDataOnLoad=.T. in the DE.
When I requery the view I create a LOCAL variable, fill it with the right value and use the REQUERY() command. After that, the view variable is not used till the next REQUERY() command.
hth,
Frank Camp
>I have a parameterized remote view and a form with private datasession. I want to have multiple instanses of the form. Therefor I cant have just a global variable for the remoteview. Is it possible to make it work with a property on the form?
>
>
>Jon
Frank Camp