ACC95: NewPassword Method Does Not Update Current Session (149219)
The information in this article applies to:
- Microsoft Access for Windows 95 7.0
This article was previously published under Q149219 SYMPTOMS
Advanced: Requires expert coding, interoperability, and multiuser skills.
After using the NewPassword method to change a user's password, the user
is unable to access objects for which he or she has permissions. The user
receives the error message "Not a valid account name or password."
RESOLUTION
There are two possible workarounds for this error message.
Workaround 1
You can avoid the error message by using the user interface to a change
password instead of the NewPassword method in Visual Basic for
Applications. Here are the basic steps:
- On the Tools menu, click Security.
- Click User and Group Accounts.
- Click the Change Logon Password tab.
- Enter a new password using the Old Password, New Password, and Verify
boxes, and then click OK.
Workaround 2
After you use the NewPassword method, you can restart Microsoft Access,
which allows you to log on using the new password. Because you have logged
on again, you do not receive the error message. To do so, follow these
steps:
- Exit Microsoft Access and restart the program.
- In the logon box, enter your new password and click OK.
REFERENCES
Microsoft Access "Building Applications," version 7.0, Chapter 14,
"Securing and Delivering Your Application", pages 328-339.
Modification Type: | Minor | Last Reviewed: | 1/26/2005 |
---|
Keywords: | kberrmsg kbprb kbusage KB149219 |
---|
|