PM_DataSourceUserOrderBy

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.

Const.PM_DataSourceUserOrderBy

Applications and the framework send Const.PM_DataSourceUserOrderBy to a data source to set the order by statement to be used for the next populate.

Parameters

Name Description
nWhatt = wParam Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute, Const.METHOD_GetType
sOrderBy =  SalString.FromHandle(nlParam) Order by statement to use for the next populate of the data source.

Returns

When nWhat = Const.METHOD_Inquire, the return value is TRUE if the sOrderBy is equal to the current order by statement for the data source, FALSE otherwise.

When nWhat = Const.METHOD_Execute, the return value is TRUE.

Comments

Const.PM_DataSourceUserOrderBy is used internally in the framework by e.g. the query dialog.