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_DataItemSave
The Const.PM_DataItemSave message is sent to all data items in a data source after the data source has been successfully saved and committed.
Name | Description |
---|---|
wParam | Unused |
lParam | Unused |
Unused (the Framework ignores the return value of this message)
The Const.PM_DataItemSave is not sent until all data sources in a master-detail chain have been successfully saved and the changed have been committed to the server.
This example catches the Const.PM_DataItemSave message to repopulate a child data source.
On PM_DataItemSave ! When a change to the discount have been saved, repopulate the order items table so that the correct (discounted) price is shown) Call SalPostMsg( tblItems, PM_DataSourcePopulate, METHOD_Execute, 0 ) Call SalSendClassMessage( PM_DataItemSave, wParam, lParam )private void cRecSelComboBox_OnPM_DataItemSave(ref SalMessage message) { #region Actions message.Handled = true; Sal.GetWindowText(this, ref this.i_sMyValue, 253); Sal.SendClassMessage(Const.PM_DataItemSave, Sys.wParam, Sys.lParam); #endregion }