DataSourceExecuteSqlRecordList

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 DataSourceExecuteSqlRecordList(SalWindowHandle hWnd,
SalString lsStmt)

The DataSourceExecuteSqlRecordList method populates record selection combo boxes on a data source by executing an sql select statement in the server.

Parameters

Name Description
SalWindowHandle hWnd Window handle or name of the record selection combo box to populate.
SalString lsStmt Complete (including where- and order by) sql select statement to use for the populate.

Returns

The return value is true if the combo boxes are populated successfully, false otherwise.

Comments

DataSourceExecuteSqlRecordList method is called by the DataSourcePopulateIt method during the populate process.