EditDataItemSetEdited

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.

SalBoolean EditDataItemSetEdited(  )

The EditDataItemSetEdited method marks the data item as edited.

Returns

The return value is true if the data item was successfully marked, false otherwise.

Comments

Applications should call this method after programmatically setting the value of data item.

Example

public new SalBoolean DataRecordGetDefaults()
{
#region Local Variables
#endregion

#region Actions
using (new SalContext(this))
{
  this.colsDocClass.Text = frmDocIssueSheet.FromHandle(i_hWndFrame).sDocClass;
  this.colsDocNo.Text = frmDocIssueSheet.FromHandle(i_hWndFrame).sDocNo;
  this.colsDocSheet.Text = frmDocIssueSheet.FromHandle(i_hWndFrame).sDocSheet;
  this.colsDocRev.Text = frmDocIssueSheet.FromHandle(i_hWndFrame).sDocRev;
//Mark the fields as edited this.colsDocClass.EditDataItemSetEdited(); this.colsDocNo.EditDataItemSetEdited(); this.colsDocSheet.EditDataItemSetEdited(); this.colsDocRev.EditDataItemSetEdited(); return true; } #endregion }