Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6SP5 - Save / Restore current Alias state
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00772250
Message ID:
00773096
Views:
18
>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.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform