V
vbnetman via AccessMonster.com
I’m having a problem with respect to a reference issue and synchronization of
the two forms, and am having trouble resolving it. I’m trying to create a
tabbed form and need some help.
For the example, I have 2 existing forms; frm_Units and form1000. Form1000
has a subform on it that’s not of concern at this point. Each of the 2 forms
share a common field, unitID. To create the tabbed form, I started by
creating a new unbound form and named it form5000. To it I added a two tab
control and dragged frm_Units to tab one and form1000 to tab two. I then
saved and closed form5000
What I need to do is synch two forms; when unitID changes in frm_Units I need
to have it automatically changed in form1000. I’ve tried in the OnCurrent
event of frm_Units:
Forms!form5000!form1000.Form!UnitID = Me.UnitID but get an invalid reference
error.
Also tried; Me.Parent.form1000.Form.Requery
So, I’m looking for direction from anyone who may care to jump in.\
Thank you in advance
the two forms, and am having trouble resolving it. I’m trying to create a
tabbed form and need some help.
For the example, I have 2 existing forms; frm_Units and form1000. Form1000
has a subform on it that’s not of concern at this point. Each of the 2 forms
share a common field, unitID. To create the tabbed form, I started by
creating a new unbound form and named it form5000. To it I added a two tab
control and dragged frm_Units to tab one and form1000 to tab two. I then
saved and closed form5000
What I need to do is synch two forms; when unitID changes in frm_Units I need
to have it automatically changed in form1000. I’ve tried in the OnCurrent
event of frm_Units:
Forms!form5000!form1000.Form!UnitID = Me.UnitID but get an invalid reference
error.
Also tried; Me.Parent.form1000.Form.Requery
So, I’m looking for direction from anyone who may care to jump in.\
Thank you in advance