sub cmdMyButton_Click()
if inputbox ("enter the password") <> "s3cr3t" then
beep
msgbox "no way, jose!"
else
' do stuff.
endif
end sub
If your database was an MDE, the users could not view the code to get the
password.
Of course, this is a >very crude method<, providing no way for authorized
users to change the password (for example). But maybe it would get you
started.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.