Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalString TreeListNodeIdFromItem( SalNumber hItem )
The TreeListNodeIdFromItem method returns the node identifier for a node.
Name | Description | SalNumber hItem | Handle of the node item for which to get the identity. |
---|
The return value is the identity of the node (the name of the node data).
The node identifier is the name of the msgNodeData parameter passed to the TreeListNodeInsert method.
! Populate all customers for selected company Set nCompanyId = TreeListNodeIdFromItem( hItemCompany ) Set lsStmt = 'select ... form customers where company_id = :nCompanyId' ...sSubProjectIdCurrent = lbSubProjects.TreeListNodeIdFromItem(hItem); // Insert all public categories DbPrepareAndExecute(cSessionManager.c_hSql, "Select .... INTO \r\n" + .........+ "where project_id = :i_hWndFrame.frmProjectInfoStructure.sProjectIdCurrent and\r\n"+ "sub_project_id = :i_hWndFrame.frmProjectInfoStructure.sSubProjectIdCurrent\r\n" + ........