AssignField

Method
Assigns a value to a field in a record.

Category
Fields

 

Syntax
Sub AssignField(ByVal hTable As Long, ByVal hRec As Long, ByVal FieldNo As Long, ByVal FieldData As Variant)

hTable
The
handle to the table.

hRec
The
handle to the record.

FieldNo
The field number.

FieldData
The
data to insert into the field.

 

Comments
AssignField places the FieldData data in the FieldNo field of hRec. Note that FieldData is of type Variant, and can therefore contain any kind of data.



© 2009 Microsoft Corporation. All rights reserved.