Database Methods

4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next

version 6.0


Database methods are methods that are automatically executed by 4th Dimension when a general session event occurs.

To create or open and edit a database method:

1. Open the Explorer window.

2. Select the Methods tab.

3. Expand the Database Methods theme.

4. Double click on the method.

or:

1. Select the method.

2. Click Edit or press Enter or Return.

You edit a database method in the same way as any other method.

You cannot call a database method from another method. Database methods are automatically invoked by 4th Dimension at certain points in a working session. The following table summarizes execution of database methods:

Database Method4th Dimension4D Server4D Client
On StartupYes, OnceNoYes, Once
On ExitYes, OnceNoYes, Once
On Web AuthenticationYes, MultipleYes, MultipleNo
On Web ConnectionYes, MultipleYes, MultipleNo
On Server StartupNoYes, OnceNo
On Server ShutdownNoYes, OnceNo
On Server Open ConnectionNoYes, MultipleNo
On Server Close ConnectionNoYes, MultipleNo

For detailed information about each of the database methods, see the following sections:

On Startup Database Method

On Exit Database Method

On Web Authentication Database Method

On Web Connection Database Method

On Server Startup Database Method (4D Server Reference manual)

On Server Shutdown Database Method (4D Server Reference manual)

On Server Open Connection Database Method (4D Server Reference manual)

On Server Close Connection Database Method (4D Server Reference manual)

See Also

Methods.


4D - Documentation   Français   English   German   4th Dimension 2003, Command Theme List   4th Dimension 2003, Command Alphabetical List   4th Dimension 2003, Constant Theme List   Back   Previous   Next