Question : Access form open below/behind Switchboard

Hello Experts,

I have a command button in my switch board and once I click that button, the datasheet form will appear below the switchboard.

I have set the form properties for pop up and modal to yes but the other form will not overlap on top of the form unless it's closed, which I do not want it to close. Therefore I can't use the pop up properties.

How can I do it in vba code?

My current code is:

Private Sub Combo4_AfterUpdate()
DoCmd.OpenForm "View Open Workorders by Consultant", acFormDS
Me.Combo4 = ""
DoCmd.Close acForm, "Workorders for Consultant"
End Sub

Thanks!

Answer : Access form open below/behind Switchboard

try this

Private Sub Combo4_AfterUpdate()
DoCmd.OpenForm "View Open Workorders by Consultant", acFormDS,,,,acdialog
Me.Combo4 = ""
end sub
Random Solutions  
 
programming4us programming4us