Table of Contents
VTable Class: Field Methods
VTable.Field(index)
Declaration:
Field( inIndex as Integer ) as VField
Parameters:
- inIndex - The index of a Field in a database, starts from 1.
Description:
Returns a Field by an numeric index.
Example:
fld = tbl.Field( i )
VTable.Field(name)
Declaration:
Field( inName as String ) as VField
Parameters:
- inName - The Name of a Field.
Description:
Returns a Field by name.
Note: The parameter inName is case insensitive.
Example:
fld = tblPerson.Field( "fldFirstName" )
VTable.FieldByID()
Declaration:
FieldByID( inID as Int32 ) as VField
Parameters:
- inID - Unique ID of a Field, which you can obtain using VField.ID, VField.OriginalFieldID.
Description:
Returns a Field by its unique ID.
Example:
fld = tblPerson.FieldByID( fldID )