Results 1 to 2 of 2

Thread: Connect to Database over a Network

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    South Africa
    Posts
    1

    Question Connect to Database over a Network

    Hi

    I have set up an access database and connect usind ado everything is working fine. Except I want to now put the same application on a second machine. These two machines will be linked directly using standard microsoft protocal. I want to know hot to get the second machine running my application to read and write to the same original database.
    i.e. both application run of a single database.

    Please help!!
    Thanks very much beziboy

  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,539
    put your connection string in a INI file which stores the path to the db

    and have both computers accessing the db like this

    so if the db is on c:\db.mdb on MACHINE one
    the INI for machine one should have c:\db.mdb

    and for MACHINE2
    it should be something like

    //MACHINE2/db.mdb

    or what ever the path is

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