version 2003 (Modified)
Web Context Boolean
Parameter | Type | Description | ||||
This command does not require any parameters | ||||||
Function result | Boolean | True = 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.