>Victor,
>
>Though I have never used Enviornment Manger before, but I understand that it will set the environment when the application starts. I am looking for a way to save/restore environment settings within an application, so that I can be sure that the form restores the environment when it is destroyed regardless of what changed inside the form.
If you set the forms data session to Private, then the settings are read from the registry (just like at VFP startup). Once inside the running form you can change the SET settings. When the Form is closed, the Private data session goes away, and previous SET settings will still be there.
Greg
Greg Reichert