>>I have a base Form class that I use for most of my forms wich has in the load method the following code:
>>Set deleted on
>>Set exact on
>>Set talk off
>>
>>When I use a form with a Private DataSession and have some code executing in the OpenTables method of the Environment Object of the form The executing results show in the screen since the load method has'n been executed yet. Is there another place to put the Set Talk Off command that can be subclassed since the Environment object of the form can't?
>
>I generally set it either in the config.fpw or the top-most calling program. That way, I can run the form separately in a test mode and have my default settings for ease of operation, but I don't have to worry about remembering to put things like "SET TALK OFF" back into the form.
However, SET TALK is scoped to the current data session. So, when using private data sessions, SET TALK must be set in each forms DE. I prefer in the .BeforeOpenTables method.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.