CopyHeader
DESCRIPTION: Copy header content from other record. |
CLASS: CRecArrayHnd
PROTOTYPE(S):bool CopyHeader(CRecArray* pOrigRecord, int HeaderSize = 0); |
ARGUMENT(S):CRecArray* pOrigRecord | The original record array to copy the header from. | int HeaderSize | The size of the header to be copied. Set this parameter to 0 if you want to use the header size defined on pOrigRecord. |
RETURN VALUE: This function returns true if the process was successfull. Otherwise it returns false.
EXAMPLE:
COMMENT: This function will copy header portion from given record into this record. If the supplied size is greater than current header size, only portion that fits current header will be copied. The process also reset m_SubRecordCount member on current record to 0. |
|