G
Guest
Hi, all!
I'm connecting to a A2K database which is secured with a UID of "Admin" and
a password of "abc". On a form, I have the user input the UID and PWD to
use, then open the database as follows:
Set db = OpenDatabase(Me.jobDatabase, False, True, _
";UID=" & Me.jobUID & ";pwd=" & Me.jobPwd)
In testing, the db opens no matter what value I use for jobUID. (The
assword must be correct.) I even changed the code to ";UI=" ... and it
still opens without an error.
No other users or groups but "Admin" are set up in the db, but that may not
always be the case.
Does Access not check the UID, or is my syntax wrong?
Shouldn't the object db reject the bad parameter and kick back an error?
Thanks,
Bruce
I'm connecting to a A2K database which is secured with a UID of "Admin" and
a password of "abc". On a form, I have the user input the UID and PWD to
use, then open the database as follows:
Set db = OpenDatabase(Me.jobDatabase, False, True, _
";UID=" & Me.jobUID & ";pwd=" & Me.jobPwd)
In testing, the db opens no matter what value I use for jobUID. (The
assword must be correct.) I even changed the code to ";UI=" ... and it
still opens without an error.
No other users or groups but "Admin" are set up in the db, but that may not
always be the case.
Does Access not check the UID, or is my syntax wrong?
Shouldn't the object db reject the bad parameter and kick back an error?
Thanks,
Bruce