Hi Marios --
Do you mean the last requery in this working session or last requery ever? If you mean the last requery in this session, try opening the views in the setup of the application and making the Data sessions "Default". Do not put the views into the DataEnvironment, they'll already be open.
>
>The problem is that I don't want my views opened with no record, but with the data retrieved during the last requery statement.
>
>>
>>Set the NoDataOnLoad property to .T. in the DataEnvironment for the view. This opens the view with no records until you expressly REQUERY.
>>
>>
>>>I'm trying to make my remote views work stop refreshing each time I'm showing a form. The views should refresh up request.
>>>Any ideas?
>>>
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05