J
Joanne
I have a form open called Frm Shift Activity that
contains a subform called SubFrm JobActivity. From
within another dialog box form I have the following code
whose intention it is to go to a new record in the
subform SubFrm JobActivity. But I get the following
message on the GoToControl method. "There is no field
named 'SubFrm JobActivity' in the current record.
Forms![Frm Shift Activity]![SubFrm JobActivity].Visible =
True
Forms![Frm Shift Activity]![PressID].SetFocus
DoCmd.GoToControl "SubFrm JobActivity"
DoCmd.GoToRecord , , acNewRec
How can I tell a subform to go to a new record from
within a totally different form?
Thanks
Joanne
contains a subform called SubFrm JobActivity. From
within another dialog box form I have the following code
whose intention it is to go to a new record in the
subform SubFrm JobActivity. But I get the following
message on the GoToControl method. "There is no field
named 'SubFrm JobActivity' in the current record.
Forms![Frm Shift Activity]![SubFrm JobActivity].Visible =
True
Forms![Frm Shift Activity]![PressID].SetFocus
DoCmd.GoToControl "SubFrm JobActivity"
DoCmd.GoToRecord , , acNewRec
How can I tell a subform to go to a new record from
within a totally different form?
Thanks
Joanne