User Tools

Site Tools


init_initialize_the_queryformclass_object_.htm
Navigation:  ABC Library Reference > QueryFormClass > QueryFormClass Methods >====== Init (initialize the QueryFormClass object) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Init( query window manager, inimanager, family, errormanager )

blk2blue.jpg

Init Initializes the QueryFormClass object.
query window manager The label of the QueryFormVisual object that displays the query input dialog 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 QueryFormClass object.

Implementation:

The Init method sets the QFC property for the query window manager.

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, QueryFormVisual, QueryFormVisual.QFC

init_initialize_the_queryformclass_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1