PM_DataRecordRemove

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_DataRecordRemove

The Const.PM_DataRecordRemove message is sent to a data source to remove the currently selected record.

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 remove method is enabled.

When nWhat = Const.METHOD_Execute, TRUE is returned if the record was successfully removed, FALSE otherwise.

Comments

If the current record is already marked for deletion, sending Const.PM_DataRecordRemove will result in the deletion mark being removed and the record will be back to it's previous state.