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 DataRecordCopy(SalNumber nWhat)
DataRecordCopy copies the current record to the clipboard. This method is typically used by the framework when to copy a record (object) to the clipboard in order to be pasted on another form.
Name | Description |
---|---|
SalNumber nWhat | nWhat Standard method parameter. Possible values are Const.METHOD_Inquire, Const.METHOD_Execute, Const.METHOD_GetType. |
When nWhat = Const.METHOD_Inquire: the return value is TRUE if the new operation is
available, FALSE otherwise.
When nWhat = Const.METHOD_Execute: the return value is
TRUE if the record was successfully created, FALSE otherwise. When nWhat =
Const.METHOD_GetType, the return value is Const.CHILDTYPE_SourceMethod.
The record data is copied to the clipboard in IFS Message format Message:
Name = IFS.COPYOBJECT Attributes: LU,VIEW,RECORD(S) Where the record attribute
is a packed message with ChildId/Value as attributes.