simple
from an event on a subform (with no parent child relationship) I want to move focus to a control on the parent form
i.e. when you click this cmd on the subform, an event happens, and focus moves to a control on the parent form...
behind the sub, I thought this code would work:
Private Sub cmdAccept_Click()
<do stuff >
With Forms![frmMainMenu].[cmdFixtureSchedulePrint]
.Enabled = True
.GotFocus = True ' <---- this line results in a "object doesn't support..." error
End With
Me.cmdAccept.Enabled = False
-----------------------------------------
many thanks in advance,
mark