Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC less Connection

Status
Not open for further replies.

DonP

IS-IT--Management
Jul 20, 2000
684
US
I am trying to setup an Access connection without using ODBC. The part of my string that is giving me problems is:

[tt]Server.MapPath("D:/PathTo/Database/database.mdb")[/tt]

The problem apparently is that MapPath requires a virtual path yet the database is outside the virtual area so it needs a hard path instead. What is the proper syntax for this? Thanks! Don
pc@accesscom.com
Experienced in HTML, Perl, VBScript, PWS, IIS and Apache. Run OS/2 Warp 4, BeOS v5 and Windows NT (only when I have to!)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top