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_DataSourceUserWhere
Applications and the framework send Const.PM_DataSourceUserWhere to a data source to set the order by statement to be used for the next populate.
Name | Description |
---|---|
nWhat = wParam | Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute, Const.METHOD_GetType |
sWhere = SalString.FromHandle(nlParam) | Where-statement to use for the next populate of the data source. |
When nWhat = Const.METHOD_Inquire, the return value is TRUE if the sWhere is equal to the current where statement for the data source, FALSE otherwise.
When nWhat = Const.METHOD_Execute, the return value is TRUE.
Const.PM_DataSourceUserWhere is used internally in the framework by e.g. the query dialog.