Switch to: V10V9V8V7V6V5

VDatabase Class: Table Methods

VDatabase.Table(index)

Declaration:

Table( inIndex as Integer ) as VTable

Parameters:

  • inIndex - The index of a Table in a database, starts from 1.

Description:

Returns a Table by an numeric index.

Example:

tbl = db.Table( i )

VDatabase.Table(name)

Declaration:

Table( inName as String ) as VTable

Parameters:

  • inName - The Name of a Table.

Description:

Returns a Table by name.

Note: The parameter inName is case insensitive.

Example:

tbl = db.Table( "Person" )

VDatabase.TableByID()

Declaration:

TableByID( inID as Int32 ) as VTable

Parameters:

Description:

Returns a Table by its unique ID.

Example:

tbl = db.TableByID( tblID )