Results 1 to 5 of 5

Thread: Passing a Password

  1. #1

    Thread Starter
    Addicted Member icemanmt78's Avatar
    Join Date
    May 2000
    Posts
    142

    Angry

    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

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696
    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!

  3. #3

    Thread Starter
    Addicted Member icemanmt78's Avatar
    Join Date
    May 2000
    Posts
    142

    Unhappy Still doesnt work

    That still gives me the same error message

  4. #4
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696

    Question

    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!

  5. #5

    Thread Starter
    Addicted Member icemanmt78's Avatar
    Join Date
    May 2000
    Posts
    142

    Angry 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
  •  



Click Here to Expand Forum to Full Width