init_initialize_the_queryclass_object_.htm
Navigation: ABC Library Reference > QueryClass > QueryClass Methods >====== Init (initialize the QueryClass object) ====== | |
Init(queryvisual [,inimanager,family,errormanager] )
Init | The Init method initializes the QueryClass object. |
queryvisual | The label of the query's QueryVisual object. |
inimanager | The label of the query's INIManager object. |
family | A string constant, variable, EQUATE, or expression that specifies the name to use for storing queries. By default this is the name of the procedure. |
errormanager | The label of the query's ErrorManager object |
Implementation:
The Init method allocates a new queryable items queue.
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
init_initialize_the_queryclass_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1