| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > QueryFormClass > QueryFormClass Methods >====== Init (initialize the QueryFormClass object) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[ask solicit query criteria 1.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[kill shut down the queryformclass object .htm|{{btn_next_n.gif|Next page}}]] | | || **Init(** //query window manager, inimanager, family, errormanager //**)** {{blk2blue.jpg|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 shut down the queryformclass object .htm|Kill]], [[queryformvisual.htm|QueryFormVisual]], [[qfc reference to the queryformclass .htm|QueryFormVisual.QFC]]