ACC2: Event Procedure Sets Incorrect Subform Field (131882)
The information in this article applies to:
This article was previously published under Q131882
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you use an event procedure to set a value in a subform's recordset,
Microsoft Access writes the value to the incorrect field. That is, it
writes the value to a control bound to the field specified in the subform's
LinkChildFields property rather than to the recordset field specified in
the event procedure.
CAUSE
The subform does not have a control that is bound to the field that the
event procedure sets.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access
version 2.0. This problem no longer occurs in Microsoft Access
version 7.0.
RESOLUTION
Add a control that is bound to the field that the event procedure sets to
the subform.
If you do not want the control to be displayed, you can hide it using one
of the following methods:
Modification Type: | Major | Last Reviewed: | 7/5/2002 |
---|
Keywords: | kbbug kbusage KB131882 |
---|
|