PM_DataSourceClear

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_DataSourceClear

The Const.PM_DataSourceClear message is sent to a data source to clear the data source and all detail data sources.

Parameters

Name Description
nWhat = wParam Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute, Const.METHOD_GetType
lParam Unused

Returns

When nWhat = Const.METHOD_Inquire, TRUE is returned if the data source is not empty (already cleared).

When nWhat = Const.METHOD_Execute, FALSE is returned if the user selects Cancel to the question "save changes". Otherwise, TRUE is returned.