SetAddMode function
Syntax
SetAddMode(add_mode)
Description
Use the SetAddMode function to indicate that the component build occurs in add mode.
Important:
Use this function within fluid applications only.
Parameters
| Parameter | Description |
|---|---|
|
add_mode |
Specifies a Boolean value indicating whether the component build process should occur in add mode or not. |
Returns
None.
Example
If (&nAction = 0) Then
REM &nAction=0 for Add mode aka New mode;
SetAddMode( True);
Else
If (&nAction = 2) Then
REM &nAction=2 for Keyword Search;
PTS_SRCH.PTS_VIEWMODE.Value = "L";
&bDoSesSearch = True;
SetAddMode( False);
Else
REM &nAction=1 for Real time Search;
SetAddMode( False);
End-If;
End-If;