Database Password in DAO ??

Results 1 to 3 of 3

Thread: Database Password in DAO ??

  1. #1
    gert Guest

    Default Database Password in DAO ??

    Hi,<BR><BR>I repair, compress a database via ASP and DAO. The following lines works fine for a nonprotected database:<BR><BR>Engine.CompactDatabase "db1.mdb", "db2.mdb"<BR>Engine.RepairDatabase "db1.mdb"<BR><BR>What is the syntax for a password protected db? The following lines give me an error:<BR><BR>Engine.RepairDatabase "db1.mdb;pwd=hello"<BR>Engine.CompactDatabase "db1.mdb;pwd=hello", "db2.mdb, pwd=hello"<BR><BR>Any suggestions?

  2. #2
    gert Guest

    Default correction to the last line of code

    in the last line the , is a ; of course but the error remains.

  3. #3
    Join Date
    Dec 1969

    Default RE: Database Password in DAO ??

    I think u need to put the Password in Quotes.<BR>pwd="Hello"<BR><BR>I am not sure if u tried this out but if u haven&#039t then try it out and see what happens...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts