Switch to: V12V11V10V9V8V7V6V5

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:

Description:

Returns a Field by its unique ID.

Example:

fld = tblPerson.FieldByID( fldID )