DbTblPopulate

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.

SalBoolean DbTblPopulate( SalWindowHandle hWnd, 
SalSqlHandle hSql, SalString lsStmt, SalNumber nMethod )

The DbTblPopulate method does the same thing as SalTblPopulate with added error handling and debug support.

See SalTblPopulate in IFS Client Developer documentation for more information.

Parameters

Name Description
SalWindowHandle hWnd The handle (or name) of the table window or child table to populate.
SalSqlHandle hSql Handle that identifies the database connection.
SalString lsStmt The sql select statement used to populate the table
SalNumber nMethod How to populate the table window. Specify one of the Const.TBL_* constants.

Returns

The return value is TRUE if the method succeeds, FALSE otherwise.