Results 1 to 5 of 5

Thread: Shared DB access using DSN

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2001
    Location
    India
    Posts
    5

    Post Shared DB access using DSN

    I have a LAN with a server and clients attached to it. I created a software which links to a MS ACCESS database through a System DSN named MyDSN on the server. Now I want to connect to this database from the client machines using the same dsn name MyDSN so that the database on the server remains shared to all the other clients. Please send me the code. I am using VB 6, MS Access, System DSN, LAN.
    Programmer from India

  2. #2
    Si_the_geek
    Guest
    you need to create the DSN on the clients as it is on the server (except maybe the path to the database!) - you can't access the one on the server.

  3. #3
    Lively Member
    Join Date
    Nov 2001
    Posts
    66

    Angry Duplication of database

    If I create diff DSN's on the client then I can in no way share the DB on the server. THis also implies that I should keep different copies of the DB on each client. This is unfeasible.

  4. #4
    Si_the_geek
    Guest
    what the ...???

    you just create the same DSN, which is purely a link to the database - so you NEVER EVER copy the database itself.

    as long as the clients have access to the database (if it is M$ Access just give them permission to read the directory it is in) you can create a DSN to it.

  5. #5
    Lively Member
    Join Date
    Nov 2001
    Posts
    66

    Thumbs up

    Now I have got what u have said. I will try it out and tell u soon. THanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width