help on connection string!!!

Results 1 to 2 of 2

Thread: help on connection string!!!

  1. #1
    Stefano Guest

    Default help on connection string!!!

    this is the code<BR><BR>dim connessione, strpath<BR> strpath=server.mappath("links.mdb")<BR> set connessione=server.createobject("adodb.connection" )<BR>connessione.connectionstring="driver={microso ft access driver (*.mdb)};" & "dbq=&#039;strpath&#039;"<BR><BR>< BR>but he tells me he can&#039;t fin the "unknown" file!!!<BR>am I wrong in using "&#039;....&#039;" ?

  2. #2
    Join Date
    Dec 1969

    Default Try this.

    dim connessione, strpath <BR>strpath=server.mappath("links.mdb") <BR>set connessione=server.createobject("adodb.connection" ) <BR>connessione.connectionstring="driver={microsof t access driver (*.mdb)}; dbq=" & strpath <BR>

Posting Permissions

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