Icon AssignFieldValue Method

procedure AssignFieldValue(Field: TField; const Value: Variant)


Call the AssignFieldValue method to set the Value property to the value passed as the Value parameter. The AssignFieldValue method assumes that the Value parameter represents a value from a field like the Field parameter, and assigns the DataType property accordingly. The AssignFieldValue method sets the Bound property to True.

Information Unlike the AssignField method, the AssignFieldValue method does not name the parameter after the TField object.