B
Bill Stanton
The following two lines of code are taken from
the code-sheet of a form where the condition
has been met wherein a sub-form is to be made
visible and the focus given to the text-box control
"pw". No errors are encountered with the syntax
used. However, when the sub-form becomes
visible the focus is not given to the text-box, i.e.,
the cursor does not appear to allow text entry
until I click on the box.
What am I missing?
Me.GCCDKSubForm.Visible = True
Me.GCCDKSubForm.Form!pw.SetFocus
Thanks,
Bill
the code-sheet of a form where the condition
has been met wherein a sub-form is to be made
visible and the focus given to the text-box control
"pw". No errors are encountered with the syntax
used. However, when the sub-form becomes
visible the focus is not given to the text-box, i.e.,
the cursor does not appear to allow text entry
until I click on the box.
What am I missing?
Me.GCCDKSubForm.Visible = True
Me.GCCDKSubForm.Form!pw.SetFocus
Thanks,
Bill