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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Relative path

Status
Not open for further replies.

Roberti

Technical User
Mar 2, 2001
96
NL
Hello everybody,

Does anybody know how I can make this:

strConnString = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=C:\Inetpub\
into a relative path? I've tried ./Storingsformulier.mdb, and Server.MapPath("Storingsformulier.mdb;PWD=test");"

Can someone help me with this? Greetz,

Roberti
 
strConnString = "DRIVER=Microsoft Access Driver (*.mdb);DBQ=" & Server.MapPath("Storingsformulier.mdb") & ";PWD=test;" codestorm
Fire bad. Tree pretty. - Buffy
Hey, I'm operating on a limited mental budget here.
<insert witticism here>
 
Thanx codestorm it works perfectly.

Greetz, Roberti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top