Firstly: This is an ASP forum. That code you are writting there aint ASP, you would get more help on the phpGeek (not taking the pis - thats it's name) forum
Secondly: This is not an ugly error:
-----------------
"Microsoft JET Database Engine error '80004005'
Could not find file 'C:\hshome\topshed\xxxx.mdb'"
-----------------
It's actualy very useful. To translate it for you:
can not find your .MDB file
(
http://support.microsoft.com/default...b;EN-US;306269)
Thirdly: Why would you want to use access when mySql is free (PHP's prefered and naitive database) I use SQLYOG as my windows interface for using mySql4.0 - wow what a tool, 10 times beter than phpMyAdmin!!!
NOTE: SQLYOG costs $49 and phpMyAdmin is free. Running Sokkit (Apache, php) on windows,runs like a dream.
Anyhow, you have to use an ODBC connection to get rid of your error. You havnt posted your connection string, this is where your error is, you should connect like so:
1..create an ODBC connection
2..Use the odbc_connect() function is used to connect
3..The odbc_exec() function is used to run statements
EG:
$conn=odbc_connect('dbName','uName','Password');
$sql="SELECT stuff FROM stuff";
$getInfo=odbc_exec($conn,$sql);
Better option - use mySql if you are writting PHP
Wind is your friend
Matt