This only works for settings that are scoped to the current datasession. See SET DATASESSION Command help for a list of settings where this will work.
>
>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
Steve Gibson