>Could someone tell me how to set environment ( SET TALK, DELETED, CENTURY etc. ) to be default for all data sessions, Because when I work with private data session I have different environment than default data session.
>
>Zoran Milivojevic
>kreda@Eunet.yu
Zoran,
I have a SetEnv class that is based on the line and has all my SET commands in its Init. The Init of this calss ends with a RETURN .F.. IN the BeforeOpenTables of every form's DE I put;
loSetEnv = CreateObject("SetEnv")
which tries to create the setenv object, its Init runs and sets the environment and then returns .F. so it never really created.