|
-
Jan 8th, 2001, 04:11 PM
#1
Thread Starter
New Member
I'm a newbie so sorry if this is simple...
I'm creating a simple online shopping site...
to connect to the database I have the lines
Set cn = Server.CreateObject("ADODB.Connection")
Set rs = Server.CreateObject("ADODB.Recordset")
cn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source='store.mdb'"
rs.Open strSQL,cn
rs.MoveFirst
when moved to a sever, the database i want to point to is at http://merlin/project2/store.mdb. I've tried replacing store.mdb with this path but i get the error messge 'C:\WINDOWS\Desktop\http:\\merlin\project2\onlinestore.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
Any ideas would be greatly appreciated
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|