A
Appalachia
Hi
I have inherited a web site with an Access database in it.
My host requires that I move the .mdb to an external folder –
d:\websites\username\data\mydb.mdb
The current Connection String goes to a directory ‘fpdb’ (probably because
the FrontPage Extensions allow read/write?)
The current string =
<% dim strconnect ,strPath
strPath=server.MapPath("/fpdb/mydb.mdb")
strconnect="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & strPath %>
Would I change it to this? -
<% dim strconnect ,strPath
strPath=server.MapPath("d:\websites\username\data\mydb.mdb")
strconnect="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & strPath %>
I’m so worried about the quotes and messing it up.
Any help much appreciated.
SGC
I have inherited a web site with an Access database in it.
My host requires that I move the .mdb to an external folder –
d:\websites\username\data\mydb.mdb
The current Connection String goes to a directory ‘fpdb’ (probably because
the FrontPage Extensions allow read/write?)
The current string =
<% dim strconnect ,strPath
strPath=server.MapPath("/fpdb/mydb.mdb")
strconnect="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & strPath %>
Would I change it to this? -
<% dim strconnect ,strPath
strPath=server.MapPath("d:\websites\username\data\mydb.mdb")
strconnect="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & strPath %>
I’m so worried about the quotes and messing it up.
Any help much appreciated.
SGC