How to setfocus to Popup form?

  • Thread starter Thread starter Bam Bam
  • Start date Start date
B

Bam Bam

Greetings all,

I've created my own pop up form to add new members to the members table of
my access 2000
database. The addition of the new member performs seemlessly. The pop up
form is opened in
the click event of a button on a subform that already has focus. The only
'problem' is that
I don't seem to be able to setfocus to the first field of the popup form (or
make the pop up
form appear as 'active') in the vba using the regular 'setfocus' methods in
the click event
of the button that raises the form nor the load event of the pop up form
itself. hmmm......

Bam Bam.
 
Bam Bam said:
Greetings all,

I've created my own pop up form to add new members to the members
table of my access 2000
database. The addition of the new member performs seemlessly. The pop
up form is opened in
the click event of a button on a subform that already has focus. The
only 'problem' is that
I don't seem to be able to setfocus to the first field of the popup
form (or make the pop up
form appear as 'active') in the vba using the regular 'setfocus'
methods in the click event
of the button that raises the form nor the load event of the pop up
form itself. hmmm......

What code are you using to open the popup form? What code have you
tried, in what locations, to set the focus the way you'd like? Is there
any other code in the popip form that might be interfering?
 
Back
Top