Specifies whether a form, form set, or toolbar can run in its own data session and has a separate data environment. Available at design time; read-only at run time.
Syntax
Object.DataSession[ = nSession]
Settings
nSession
The settings for the DataSession property are:
Setting | Description |
1 | (Default) Default data session. |
2 | Private data session. Creates a new data session for each instance of the form, form set, or toolbar that is created. |