RemoveSubRecord method: RecordDefn class

Syntax

RemoveSubRecord(subrecordname)

Description

Use this method to remove a subrecord from a record definition.

Parameters

Parameter Description

subrecordname

Specifies a subrecord in the record definition.

Returns

A Boolean value representing the following statuses.

Numeric Value Constant Description

0

%MDA_Success

The subrecord is removed successfully.

1

%MDA_Failed

The subrecord is not removed due to an internal error.

Example

Local RecordDefn &myRecord = GetRecordDefn("MYRECORD_VW");
&retVal = &myRecord.RemoveSubRecord("JOB_USA_SBR");