Web Context

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 2003 (Modified)


Web Context Boolean

ParameterTypeDescription
This command does not require any parameters
Function resultBooleanTrue = Contextual mode
False = Non contextual mode

Description

The Web Context command must be called from a Web process. It returns a boolean that indicates if the Web connection is executing in contextual mode (True) or in non-contextual mode (False).

Note : The Web Context command always returns False when it is:

called from a process other than a Web process,

executed on a 4D Client machine.

The use of this function is advocated in the On Web Connection Database Method.

Example

Here is an example of the On Web Connection database method:

   If (Web Context)
      WithContext ($1;$2;$3;$4;$5;$6)
   Else
      WithoutContext ($1;$2;$3;$4;$5;$6)
   End if

See Also

On Web Connection Database Method, PROCESS PROPERTIES, Using the Contextual Mode.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next