init_initialize_the_querylistclass_object_.htm
Navigation: ABC Library Reference > QueryListClass > QueryListClass Methods >====== Init (initialize the QueryListClass object) ====== | |
Init( querywindowmanager, inimanager, family, errormanager )
Init | Initializes the QueryListClass object. |
querywindowmanager | The label of the QueryListVisual object that displays the query input dialog list and processes it's events. |
Inimanager | The label of the INIManager object. |
Family | A string constant, variable, EQUATE, or expression containing the procedure name of the calling procedure. |
Errormanager | The label of the Global ErrorManager object. |
The Init method initializes the QueryListClass object.
Implementation:
The Init method sets the QFC property for the querywindowmanager.
Example:
ThisWindow.Init PROCEDURE()
ReturnValue BYTE,AUTO
CODE
!other initialization code
Query.Init(QueryWindow)
Query.AddItem('UPPER(CLI:LastName)','Name','s20')
Query.AddItem('CLI:ZIP+1','ZIP+1','')
RETURN ReturnValue
ThisWindow.Kill PROCEDURE()
ReturnValue BYTE,AUTO
CODE
!other termination code
Query.Kill
RETURN ReturnValue
See Also: Kill, QueryListVisual, QueryListVisual.QFC
init_initialize_the_querylistclass_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1