Results 1 to 2 of 2

Thread: Help!Help!Help!

  1. #1
    postpac Guest

    Default Help!Help!Help!

    Hello all,<BR>My question is does PWS support DSNless connection? And for DSNless connection, does that mean i do not have to configure my<BR>ODBC?<BR>Thanks and regards.

  2. #2
    Joel M Guest

    Default RE: Help!Help!Help!

    It definitely does...I use it all the time...just do somthing like this:<BR>------------------------<BR><BR>Set Conn = Server.CreateObject("ADODB.Connection")<BR><BR>Con nStr = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="& Server.MapPath("dbscifi.mdb")&";"<BR>Conn.Open(Con nStr)<BR><BR>----------------------<BR>I belive that this&#039ll only work with an access type of database...not a SQL Server...but I may be wrong.<BR>And of course make sure to edit the server mapPath info according to your situation.<BR><BR>hope it helps

Posting Permissions

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