Focus on newly opened form

J

Joseph Atie

Ok so what i have is a button on a form that opens
another form. What i want to do is leave the original
form open, but in the background.

My problem is that when i try to get this done using the
Openform macro it keeps the foucs on the original form
and wont let me focus on the new form until ive closed
the original form. Is there a way arround this???
 
K

Ken Snell

Assuming that you're not opening the second form as modal/dialog, use the
DoCmd.SelectObject step to move the "focus" to the second form.

However, my experience always is that the opening of the second form moves
the focus to that form....so I am wondering what else your code is doing
besides opening the form. Can you post the code?
 
Top