Can this connection work?

Results 1 to 2 of 2

Thread: Can this connection work?

  1. #1
    malinga Guest

    Default Can this connection work?

    I&#039;m running my ASPs on a personal webserver and I want to connect to a database file contacts.mdb using a DNS-less connection can this connection work?<BR><BR>dim conn <BR>dim rs <BR>dim strID <BR>dim strconn <BR><BR>strconn = "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("contacts.mdb") <BR><BR>set conn = server.createobject("adodb.connection") <BR> strconn <BR><BR>set rs = server.createobject("adodb.recordset") <BR>SQL = "SELECT * FROM Contacts Where " & request.form("txtField") & " LIKE &#039;%%" & request.form("txtSearch") & "%%&#039;" <BR>RS = DbConn.execute(SQL) <BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Can this connection work?

    have you tried it? what a non-question. If you have a problem, explain it.

Posting Permissions

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