Form openes behind switchboard problem

Manos39

Registered User.
Local time
Today, 00:59
Joined
Feb 14, 2011
Messages
248
Hi
i have a form which calls another form from depending on listbox selection fired by a command button
problem is new form opens behind switchboard

Code:
DoCmd.OpenForm "Fr_PromStoixeia", , , _
     "promitheytesID = " & Me.lstSearch.Column(0)
 
Was there any other code beside the one you posted that may be causing the focus to go back to the switchboard?
 
Make sure the switchboard properties are not set to modal or dialog Or pop up.
 
or open it with WindowMode:=acDialog
 

Users who are viewing this thread

Back
Top Bottom