You have to put it in DataEnvironment.BeforeOpenTables method if you use Data Environment or in form's Load method if you don't.
>when i set a private data session on a form, all of a sudden i get TALK all over the place. has anyone else come across this? yes, setting talk off in the form.init method stops it, but when you close that form and go back to the previous form there is all of a sudden TALK there too... i also have TALK and ECHO set to off when i first start the app.
If it's not broken, fix it until it is.
My Blog