Kill (shut down the QueryListClass object)

Top  Previous  Next

 

Kill, DERIVED

The Kill method frees any memory allocated during the life of the object and performs any other required termination code.

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:     Init