Property | Type | Access | Description |
Integer | RO | Return the number of fields in the record object. | |
DJField | RO | Get a reference to a field in a record layout by name or ordinal position. | |
String | RW | Get/set the name of the DJRecord object. | |
DJRecord | RO | Return a reference to the object itself. |
Type | Required | Description |
DJRecord | Yes | Reference to the DJRecord, which is the subject of the property or method invocation. |
Type | Required | Description |
DJRecord | Yes | Reference to the DJRecord, which is the subject of the property or method invocation. |
Integer or String | Yes | An expression that evaluates to a string, with the name of the field or an Integer with the position of the field in the container. |
'Get a reference to the third field in the default record layout of the myImport DJImport object. Dim f As DJField Dim r As DJRecord Set r = myImport.Records(1) Set f = r.Fields(3) |
Type | Required | Description |
DJRecord | Yes | Reference to the DJRecord, which is the subject of the property or method invocation. |
Type | Required | Description |
DJRecord | Yes | Reference to the DJRecord, which is the subject of the property or method invocation. |
Method | Type | Description |
– | Copy the contents of a DJRowSet record or another DJRecord object to a record layout of a DJRecord object. The clear flag indicates whether the target fields are cleared before doing the copy operation. | |
DJField | Append a new field to the record object. If a field reference is provided (fld), it is used as a template for data type. |
Type | Required | Description |
---|---|---|
DJRecord | Yes | Reference to the DJRecord, which is the subject of the property or method invocation. |
DJRecord | Yes | Reference to a DJRecord object to be used as the source for the copy. |
DJRowSet | Yes | Reference to a DJRowSet. |
Integer | Yes | Index of the record in the DJRowSet collection to be used as the source for the copy. |
Boolean | No | Flag indicating whether or not the target record contents should be cleared before the copy operation. |
Exception | Description |
ERR_TYPEMISMATCH | Returned if any of the arguments for the method are invalid. |
Type | Required | Description |
DJRecord | Yes | Reference to the DJRecord, the subject of the property or method invocation. |
DJField | No | Reference to a DJField object used as a template for field data type information. |
Exception | Description |
ERR_OBJREQ | Returned if optional field parameter is not a reference to a valid DJField object. |
ERR_OUTOFMEM | Returned when there is not enough memory to create a new DJField object. |
ERR_ROOBJECT | Returned when there is an attempt to add a field to a read-only object. |
Operator | Type | Description |
New | DJRecord | Create a new object |