The
RecordSize property is used to get the size (in bytes) of a record in:
- a data file described in the data model editor,
- a data file described through programming,
- an HFSQL view,
- a query.
This size is calculated while ignoring the composite keys.
// Find out the size of a record in the Order data file
ResSize = Order.RecordSize
Syntax
<Size> = <Element used>.RecordSize
<Size>: Integer
Size of the record (in bytes) while ignoring the composite keys.
<Element used>: Character string
Name of the element for which the size of a record is requested:- name of a data file described in the data model editor or through programming,
- name of an HFSQL view,
- name of a query.