O
Opal
I have done this in the past without an issue, but can't seem to
get it to work on this particular database and I can't figure out
why.
I am running Access 2003. I have a form (frmConcern) bound
to a table - Concern. In the Form I have combo box (cboRank).
When the user selects a "rank" option (A, B or C) I want to
auto fill a txtRankDescription text box. I am using a hidden
subform bound to the Rank table to auto fill this text box.
The control source for the txtRankDescription is:
=subfrmRank.Form!Description
I have added the following code:
Private Sub cboRank_AfterUpdate()
Forms![frmConcern].[subfrmRank].Requery
End Sub
but if the user wishes to change the rank (from B to A, for example)
the subform does not re-query.
I have gotten this to work in the past with unbound forms and bound
subforms but this is the first time working with a bound form and I
cannot get the the sub form to requery properly. Could someone
please tell me what I am missing here? Thank you.
get it to work on this particular database and I can't figure out
why.
I am running Access 2003. I have a form (frmConcern) bound
to a table - Concern. In the Form I have combo box (cboRank).
When the user selects a "rank" option (A, B or C) I want to
auto fill a txtRankDescription text box. I am using a hidden
subform bound to the Rank table to auto fill this text box.
The control source for the txtRankDescription is:
=subfrmRank.Form!Description
I have added the following code:
Private Sub cboRank_AfterUpdate()
Forms![frmConcern].[subfrmRank].Requery
End Sub
but if the user wishes to change the rank (from B to A, for example)
the subform does not re-query.
I have gotten this to work in the past with unbound forms and bound
subforms but this is the first time working with a bound form and I
cannot get the the sub form to requery properly. Could someone
please tell me what I am missing here? Thank you.