I tested but something is wrong, always the result is 0 (false)
I used currentproject.Properties("StartUpShowDBWindow").Value because I'm
working with adp.
I need this because I have a MenuRpt form should be keep always open.
I get help from froms.coding group to use an event on unload.
I did, it works but I have a problem. If I open it, off course I can't close
this is what I want, but I can't go to design view.
The database is not finish, I'm working with it.
That's why I need detect if database was open with database window visible
or not to add the result to the event on unload.
I don't why, the result always is 0.