I have a main form, called frmMain. I have a subform, and the control is named sub_options. The forms that can appear in sub_options all have a single textbox. frmMain has a button on it called cmdNext.
When I enter data in my textbox, I usually click cmdNext right afterward. The problem is that since the two are on separate forms, I have to cmdNext TWICE to make the click event occur (I suppose the first time is to change the focusback to frmMain).
How can I make this a 1 click form? I currently have the afterupdate of my textbox doing this:
Me.Parent.SetFo cus
Me.Parent!cmd_n ext.SetFocus
but I still have to click twice. I can't seem to figure this out - I think I'm missing something obvious here. Am I?
~KJ
When I enter data in my textbox, I usually click cmdNext right afterward. The problem is that since the two are on separate forms, I have to cmdNext TWICE to make the click event occur (I suppose the first time is to change the focusback to frmMain).
How can I make this a 1 click form? I currently have the afterupdate of my textbox doing this:
Me.Parent.SetFo cus
Me.Parent!cmd_n ext.SetFocus
but I still have to click twice. I can't seem to figure this out - I think I'm missing something obvious here. Am I?
~KJ