Form openes behind switchboard problem (1 Viewer)

Manos39

Registered User.
Local time
Today, 14:52
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)
 

theDBguy

I’m here to help
Staff member
Local time
Today, 14:52
Joined
Oct 29, 2018
Messages
21,454
Was there any other code beside the one you posted that may be causing the focus to go back to the switchboard?
 

Ranman256

Well-known member
Local time
Today, 17:52
Joined
Apr 9, 2015
Messages
4,339
Make sure the switchboard properties are not set to modal or dialog Or pop up.
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 05:52
Joined
May 7, 2009
Messages
19,229
or open it with WindowMode:=acDialog
 

Users who are viewing this thread

Top Bottom