>Hi,
>
>Have anyone a function or class to Save All current environment and obviously Restore it ??
>
>Note: All means Databases opened, order, current recno, relations, free tables, datassesions, etc.
>
>If someone have something that can help me, I'll be very happy.
>
>Thanks in advance for yor time!!!!!!
You can create a class which has properties which are set in the .Init event. In the .Destroy event, you can reset the environment from the properties.
.Init
THIS.cDeleted = SET("DELETED")
.Destroy
SET DELETED (THIS.cDeleted)
You could also had any number of methods that could set things that you want and reverse them as needed.
Steve
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