CLASS:

 

 

 

 

 

 

 

 

 

DESCRIPTION:

 

 

 

Represents a field from a table.

 

 

 

 

 

SYNTAX:

 

 

 

These objects are created automatically by the ADO rowset.

 

 

 

 

 

 

 

 

 

PROPERTY:

DEFAULT:

DESCRIPTION:

 

 

baseClassName

ADOFIELD

Identifies the object as an instance of the ADOField class 

 

 

className

ADOFIELD

Identifies the object as an instance of a custom class. When no custom class exists, defaults to baseClassName

 

 

parent

null

Reference to the FieldArray object that contains this object. 

 

 

type

Empty string

Indicates the data type of the field.

 

 

readOnly

false

Specifies whether the field has read-only access.

 

 

fieldName

Empty string

Indicates the name of the field.

 

 

value

null

Represents current value of field in row buffer.

 

 

length

0

Indicates the maximum length of the field.

 

 

decimalLength

0

Indicates the number of decimal places in a ADO numeric field.

 

 

logicalType

Empty string

 

 

 

properties

AssocArray

A reference to Associative array that contains the dynamic properties.

 

 

required

false

 

 

 

lookupRowset

null

Reference to lookup table for field.

 

 

lookupSQL

Empty string

SQL SELECT statement for field lookup values.

 

 

 

 

 

 

 

 

 

 

EVENT:

PARAMETERS:

DESCRIPTION:

 

 

beforeGetValue

 

When value property is to be read; return value is used as value.

 

 

canChange

<new value> 

When attempting to change value property; return value allows or disallows change.

 

 

onChange

 

After value property is successfully changed.

 

 

onGotValue

 

After value is read.

 

 

 

 

 

 

 

 

 

 

METHOD:

PARAMETERS:

DESCRIPTION:

 

 

copyToFile

<filename expC>

Copies data from BLOB field to external file.

 

 

replaceFromFile

<filename expC>[, <append expL>]

Copies data from external file to BLOB field.

 

 

copyToStream

<stream expO>

Copies data from BLOB field to stream object.

 

 

replaceFromStream

<stream expO>

Copies data from stream object to BLOB field.

 

 

originalValue

 

Returns the original value of a field.

 

 

underlyingValue

 

Returns the current value of a field.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DESCRIPTION:

 

 

Each ADOField object corresponds to a field in the ADORowset.

 

 

 

 

 

 

 

Depending on the functionality the provider exposes, methods, or properties of a ADOField object may not be available.