PDA

View Full Version : Access file path


vickyb
03-06-2004, 03:12 AM
Hi guys
Please can someone help. I have uploaded my Access database (2002) onto the server and have created an aspx page which updates it. However I am getting an error when I try to use this page. The path name I have used is not being recognised. Can anybody tell me what the generic path is? I had assumed it would be userid\_database\name of db but this does not work.
I'm very new to all this so apologies if this is a really obvious question, and I hope someone can help me!
Thanks
Vicky [:)]

bruce
03-07-2004, 04:45 AM
User server.mappath function, that make your code more portable.

server.mappath("/_database/dbname.mdb") would give your the path.


[b]quote:Originally posted by vickyb

Hi guys
Please can someone help. I have uploaded my Access database (2002) onto the server and have created an aspx page which updates it. However I am getting an error when I try to use this page. The path name I have used is not being recognised. Can anybody tell me what the generic path is? I had assumed it would be userid\_database\name of db but this does not work.
I'm very new to all this so apologies if this is a really obvious question, and I hope someone can help me!
Thanks
Vicky [:)]
</blockquote id="quote"></font id="quote">