Srdjan,
Check the HELP system under 'SET DATASESSION'. There is a complete list of the SET commands which are scoped to the datasession. VERY useful :-)
Barbara
>Sylvain,
>
>thanks a lot. This app has standard environment save/set/reset routine taken from VFP sample app, but SET CENTURY isn't part of it and I wasn't aware of its limited scope.
>
>>SET CENTURY is scoped to the current data session. If you are using private datasession (as I guess you are), you must initialize the SET CENTURY (and other scoped settings) when the form start up. Probably the best place to put this is in the Load event of the form.