Ms Access 20010 OPen

prakvirak

New member
Local time
, 04:12
Joined
Feb 18, 2013
Messages
2
Hi I need help. I have problem with Ms Access 2010.
I try to use "docmd.openForm to open one form. I have two forms first form, and second form.Both form i set properties popup "yes" and .On event formload of first form, I used the "Docmd.OpenForm "SeconForm",acNormal" commend . It 's OK,but Second form is still the behind of First Form. how to get second form is in front of first form?
Please help!
 
Hello prakvirak, Welcome to AWF.. :)

Try to set the focus of the second form in its "On Load" event.. Like,
Code:
Private Sub Form_OnLoad()
     Me.SetFocus
End Sub
 
Hello prakvirak, Welcome to AWF.. :)

Try to set the focus of the second form in its "On Load" event.. Like,
Code:
Private Sub Form_OnLoad()
     Me.SetFocus
End Sub

From: prakvirak
Thank you very much.
I try to follow you, but the result is the same. The Second form appeared then disappeared to behind first form.
 
set properties popup to "no" in your code before you load the second form
 

Users who are viewing this thread

Back
Top Bottom