Get_Element¶
Retrieves a record element from an array of attributes by element position.
FUNCTION Get_Element (
element_ OUT type_record_,
record_ IN type_record_,
array_ IN type_name_,
position_ IN NUMBER,
error_ IN BOOLEAN DEFAULT FALSE ) RETURN BOOLEAN
Parameters¶
element_
Found element record.
record_
Foundation1 record.
array_
The name of the array attribute.
position_
The position of the element in the array attribute.
error_
If True element_ will be set even in record element is not found.
Return¶
True if element_ has been set.
FUNCTION Get_Element (
record_ IN type_record_,
array_ IN type_name_,
position_ IN NUMBER ) RETURN type_record_
Parameters¶
record_
Foundation1 record.
array_
The name of the array attribute.
position_
The position of the element in the array attribute.
Return¶
A record.
Example¶
DECLARE
AL Plsqlap_Record_API.type_record_;
BEGIN
...
AL := Plsqlap_Record_API.Get_Element(AM, 'ADDRESS_LABEL_LIST', 2);
...
END;