Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Access only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Access
Password for Form
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
rgsw
New Member
Join Date:
Jul 2006
Posts:
29
#1
Password for Form
Sep 8 '06, 01:53 AM
Hi-
Is it possible to create a password for individual form in database? If so, how?
Thanks
MMcCarthy
Recognized Expert
MVP
Join Date:
Aug 2006
Posts:
14387
#2
Sep 8 '06, 02:14 AM
In the Form Load event ask user to enter password.
Dim myPassword as String
Dim userEntry as String
myPassword = "AnyTextVau e" ' set this to the password you want
userEntry = InputBox("Enter Password:")
If Trim(userEntry) <> mypassword Then
DoCmd.Close
End if
This is a simple workaround if you need something more secure go to the following msdn site.
Error - Office.com - Microsoft Support
http://support.microsoft.com/kb/209871/en-us
Originally posted by
rgsw
Hi-
Is it possible to create a password for individual form in database? If so, how?
Thanks
Comment
Post
Cancel
rgsw
New Member
Join Date:
Jul 2006
Posts:
29
#3
Sep 8 '06, 05:06 AM
Originally posted by
mmccarthy
In the Form Load event ask user to enter password.
Dim myPassword as String
Dim userEntry as String
myPassword = "AnyTextVau e" ' set this to the password you want
userEntry = InputBox("Enter Password:")
If Trim(userEntry) <> mypassword Then
DoCmd.Close
End if
This is a simple workaround if you need something more secure go to the following msdn site.
http://support.microsoft.com/kb/209871/en-us
That work, thanks again.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment