|
-
Nov 18th, 2009, 08:30 PM
#1
Thread Starter
Member
[RESOLVED] Access Database Shared on the server
Hello experts,
I have no idea on how to connect access database shared on the server in vb6.0 application,..I just want, Map it and browse it in my program to connect,and 3 users can access it.
Can anyone help in my problem.
Thank You,
-
Nov 19th, 2009, 12:56 AM
#2
Re: Access Database Shared on the server
You just have to specify the path where the database is located, something like this.
Code:
"Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=\\computer1\SharedFolder\db1.Mdb"
computer1 is the name of the computer, SharedFolder is the shared folder where d1.mdb is located.
-
Nov 19th, 2009, 03:19 PM
#3
Re: Access Database Shared on the server
Remember the users need: update,write and delete premissions on the remote folder.
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Nov 20th, 2009, 03:16 AM
#4
Thread Starter
Member
Re: Access Database Shared on the server
 Originally Posted by GaryMazzone
Remember the users need: update,write and delete premissions on the remote folder.
Thanks for reply,
But I am using DAO,
Thanks,
-
Nov 20th, 2009, 03:17 AM
#5
Thread Starter
Member
Re: Access Database Shared on the server
 Originally Posted by dee-u
You just have to specify the path where the database is located, something like this.
Code:
"Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=\\computer1\SharedFolder\db1.Mdb"
computer1 is the name of the computer, SharedFolder is the shared folder where d1.mdb is located.
Thanks for reply,
It helps me...Thanks a lot both of you
Last edited by ryanbesitulo; Nov 20th, 2009 at 05:48 AM.
-
Nov 20th, 2009, 07:23 PM
#6
Re: [RESOLVED] Access Database Shared on the server
DAO or not when using MS Access the ldb file needs to be written to the folder that the database resides in. To perform this write you need write permission on the folder, once created every one else joining while open need to be able to modify the file. When the last person exits the database the ldb file needs to be deleted so delete permission is also needed.
Sometimes the Programmer
Sometimes the DBA
Mazz1
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
|