Solution:
See below within the While loop... and I removed the "Compact & Repair on Close" from Main.mde & then modified my code a bit because the actual purpose for the compact on close is to make sure Main.mde doesn't exceed 500 megabytes. See below. This works like a charm. This function...
Access 2000:
I'm attempting to close Main.mde from Open.mde. Main.mde is set to compact on close. The "Password Required" window pops up because Main.mde is password-protected. When the code below is executed from Open.mde(to close Main.mde), the "Password Required" window pops up...
Access 2000:
Goal: to open a password-protected public access db (which compacts on close) and hide the password prompt on open and on close.
Purpose: Provide public access to Main.mde and protect Main.mde from remote connections, i.e, import & link.
I have password protected "Main.mde"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.