G
Guest
I have a join field called "Descriptor" in table "Descriptor" that is the
"one" side of a relationship with a table called Notes, where Descriptor is a
lookup field.
I have a subform that's based on a query where the Notes table and
Descriptor table are joined based on the "Descriptor" field (a "regular"
join). I have a control, txtNewInfoSource, that is bound to Netes.Descriptor.
I tried putting both Before Update and After Update code on the
Notes.Descriptor control event to update the Descriptor.Descriptor field if
any changes are made. In both cases, I get run-time error 3164, field can't
be updated:
Private Sub txtNewInfoSource_AfterUpdate()
Me.[Descriptor.Descriptor].Value = Me.txtNewInfoSource
End Sub
I also tried binding txtNewInfoSource to Descriptor.Descriptor instead, but
in that case, I can not make any updates to the field at all -- Access makes
a beeping sound and will not let me type into the control.
How to fix?
"one" side of a relationship with a table called Notes, where Descriptor is a
lookup field.
I have a subform that's based on a query where the Notes table and
Descriptor table are joined based on the "Descriptor" field (a "regular"
join). I have a control, txtNewInfoSource, that is bound to Netes.Descriptor.
I tried putting both Before Update and After Update code on the
Notes.Descriptor control event to update the Descriptor.Descriptor field if
any changes are made. In both cases, I get run-time error 3164, field can't
be updated:
Private Sub txtNewInfoSource_AfterUpdate()
Me.[Descriptor.Descriptor].Value = Me.txtNewInfoSource
End Sub
I also tried binding txtNewInfoSource to Descriptor.Descriptor instead, but
in that case, I can not make any updates to the field at all -- Access makes
a beeping sound and will not let me type into the control.
How to fix?