How can I hide the database window in a Microsoft Access project 2010 from vba?
let's say I have 2 forms opened (Overlapping windows).
Now I need to hide the database window.
When I run the following code:
DoCmd.SelectObject acTable, "tblReceiption", True
Application.CommandBars.DisableAskAQuestionDropdown = True
one of the forms closes.
one more time running this code, closes the second form.
If I run the code one more time, finally the database window hides.
how can I hide the database window without effecting the opened forms?
any kind of input would be appreciated.