D
Deborah
I have a master form and a subform. The PubID is the link
between the two. On the subform the PubID is a textbox.
Currently I can watch it change when I change the PubID on
the main form. However what I can't get to happen is when
the PubID changes on the subform, is an event to happen. I
have tried in the code using AfterUpdate, Changed, Enter
and GotFocus relating to the textbox where the PubID lives
and it never goes into that bit of code. I.e.
private sub Text28_AfterUpdate()
dim pid as long
pid = me![PubID].value
etc
It never gets to the pid = me! line. How can I get
something to happen when the PubID in the subform changes?
And yes it has to be in the subform.
Thanks
Deborah
between the two. On the subform the PubID is a textbox.
Currently I can watch it change when I change the PubID on
the main form. However what I can't get to happen is when
the PubID changes on the subform, is an event to happen. I
have tried in the code using AfterUpdate, Changed, Enter
and GotFocus relating to the textbox where the PubID lives
and it never goes into that bit of code. I.e.
private sub Text28_AfterUpdate()
dim pid as long
pid = me![PubID].value
etc
It never gets to the pid = me! line. How can I get
something to happen when the PubID in the subform changes?
And yes it has to be in the subform.
Thanks
Deborah