Thanks for the responses. I will this a try.
>>I am using views.
>>
>>>>Hi all
>>>>
>>>>Is there an easy and least coding way to save and restore the state of the current alias. I want to save RECNO, FILTER etc., then change the rec pointer sum(), etc. and then I want the alias back to the state I had when I started.
>>>>
>>>>I can do the coding manually and it became lengthy.
>>>
>>>If you don't want to use a Private Datasession or a view, you could open your table again using another alias. That way you won't affect any of the states of your alias that you want to maintain.
>>>
>>>USE yourtable AGAIN IN 0 ALIAS newalias
>
>You can still USE a view AGAIN, too. If it's a parameterized view, you'll have the same data.