DataRecordToForm

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.

SalNumber DataRecordToForm(SalString sAttr, SalBoolean bMarkAsEdited)

The DataRecordToForm method updates the data items for a record with values supplied in an attribute string, and optionally marks the data items as edited.

Parameters

Name Description
SalString sAttr Attribute string containing values for the record attributes.
SalBoolean bMarkAsEdited Specify true to mark all updated data items as edited, false to leave the edit state of the data items unchanged.

Returns

This method does not return a value

Comments

This method is called by the framework after each call to the standard methods (New__, Modify__, Remove__, and state events) to update the client window with any new/changed attributes.

Example

need to add C# coding

    If DbPLSQLBlock( c_hSql,
           'Some_API.Get_Object_Attributes( :i_hWndFrame.frmOrder.sAttributes )' )
   Call DataRecordToForm( sAttributes )