|
This method has been deprecated and should not be used in Profile versions v6.4 and above. |
Class: Record
Description
This method copies data from an M array into a PSL object. This method defines the primary access keys for the object based on the local variables in the M array.
Syntax
objectName.fromArray(Literal MArrayReference,Literal keys)
Parameters
MArrayReference |
The reference to an M array. |
keys |
A comma-separated field that provides a mechanism to have the keys of a record being copied, returned in variables as well as within the object. |
Returns
Void
When Became Available
Profile v6.0
Example
type RecordDEP dep = Db.getRecord("DEP","CID")
do dep.fromArray("%A(CID") // Copy %A(CID,n) into vobj(object,n)