Fields Method

Object List Next Object

Defined By:
Recordset

Description:

Returns a Dynaset object representing the field name that is specified.

Declaration:

Function Fields(byVal field as String) as Dynaset

Details:

In the case where you may not remember the Column value of a particular data field, you may substitute the name of the field using the Fields method.

Dim o As RecordSet

o = TestForm.RecordSet.Fields("Name")

Debug.Print o.Value