vba code to open a message box (yes/no) when an Access database opens
Posted on 2010-09-10
I would like help, using vba, to open a message box (yes/no) when the user opens an Access database. I would prefer that this message box appear before the main database window becomes visible (I am not sure if this is possible). Anyway, once the message box opens, the user clicks on yes and the message box disappears and the main database window opens. If the user clicks no, then the database closes. The title on the message box header should read "CAUTION". The actual message should read "TEST". Thank for the expert(s) help.