>I'm using VFP5 to build my project. I have a global set up of my project in main.prg, like SET DELETED ON, SET CENTURY ON and etc.
>
>When i run some on the forms, the global set up is not take effect, so i have to set them in the init even in the my base form class. But some of the forms take the global setup from the main.prg.
>
>Can anyone tell me why? Or, is this VFP problem?
>
>Thank U.
Some of the "set" commands are scoped to current data session. Main.prg settings would affect current data session and forms that use it. If you use DataEnv. then you better set them there or in load().
Cetin