|
-
Jul 14th, 2000, 08:04 AM
#1
Thread Starter
Addicted Member
I am having major probs trying to pass a password to an access database.
The code is below:
Set Mark = OpenDatabase("C:\windows\desktop\mark.mdb", , False, "mufc")
The password for the database is mufc ( in lower case )
As far as i know i am passing the password in the correct syntax but i still keep on getting the error message
RTE 3031 Not a valid password
WHY!!!!!!!!!
If I then try and open the database exclusivly and pass the password ( see code below ) I get a new error message:
RTE 3170 Can't find installable ISAM ( WHAT????)
Set Mark = OpenDatabase("C:\windows\desktop\mark.mdb", True, False, "mufc")
I need help as this project needs to be finished by mon afternoon.
Anything will help.
Regards
Mark
-
Jul 14th, 2000, 08:13 AM
#2
Fanatic Member
Hi icemanmt78
Try replacing the following
Set Mark = OpenDatabase("C:\windows\desktop\mark.mdb", , False, "mufc")
With
Set Mark = OpenDatabase("C:\windows\desktop\mark.mdb", , False, "PWD=mufc")
I think this will sort out your problem but I haven't used DAO for quite some time.
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jul 14th, 2000, 09:02 AM
#3
Thread Starter
Addicted Member
Still doesnt work
That still gives me the same error message
-
Jul 14th, 2000, 09:23 AM
#4
Fanatic Member
Is there a username to accompany this password for the database ?
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jul 14th, 2000, 09:43 AM
#5
Thread Starter
Addicted Member
No
I am working on a standard access 97 database with standard security. I don't have any users. I am not sure what you mean by users regarding an access database.
I am still stuck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|