One possibility is in the BeforeOpenTables event
of your forms, or in your base form class, make a
call to a generic procedure which sets all your SET
statements.
That way you can set up the SET commands
you want for forms in one place.
The only drawback is that you would
have to pass in the form's data session
and set to it in the generic procedure:
************************
* BeforeOpenTables
=SetCommands(ThisForm.DataSessionId)
USE MyTable1
USE MyTable2
************************
FUNCTION SetCommands
LPARAMETERS nSession
SET DATASESTION TO nSession
SET TALK OFF
SET DELETED ON
SET SAFETY OFF
.
.
.
.
RETURN
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people