User Tools

Site Tools


kill_shut_down_the_queryclass_object_.htm
Navigation:  ABC Library Reference > QueryClass > QueryClass Methods >====== Kill (shut down the QueryClass object) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Kill, VIRTUAL

blk2blue.jpg

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

Implementation:

The Kill method deallocates the 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:     Init

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