Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form security

Status
Not open for further replies.

lowfyr

Technical User
Joined
May 6, 2002
Messages
8
Location
US
I dont think it is possible, but I have someone who would like to put a password or some type of security on a form in a database. Anyone know if it is possible? Thanks.
 
you can do this on the form open action

dim StrPassword as string

strpassword = inputbox("What's the password?")

if strpassword <> &quot;Your Password&quot; then
DoCmd.Close acForm &quot;YourForm&quot;
end if

let me know if it helps &quot;The greatest risk, is not taking one.&quot;
 
You can password protect your database but not individual forms. Take a close look at access security which will allow you to both block and give permission to all objects within the database. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
using Access built in security it is possible to only allow certain users to access a particular form
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top