Results 1 to 6 of 6
  1. #1
    Yance is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    22

    Question Conecting/Linked External Table over the Network

    Hello, i try to make connection or make a link to the external table in other computer (on a network) without share the folder/drive where the table is. Is there anyone here know how to do this in programmatically?


    Any help greatly appreciated!

    Regards,

    Yance

  2. #2
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi,

    to make a remote connection to another Access data file:

    dim cnnRemote As New ADODB.Connection

    cnnRemote.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & strFile
    cnnRemote.Open


    Microsoft.ACE.OLEDB.12.0 is for Access 2007, for Access 2003 this will probably be 10.0, but I'm not sure, and strFile = name and path of the access file.
    Of course, you must have access rights to the file you want to connect to.

    Success
    NG

  3. #3
    Yance is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    22
    Quote Originally Posted by NoellaG View Post
    Hi,

    to make a remote connection to another Access data file:

    dim cnnRemote As New ADODB.Connection

    cnnRemote.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & strFile
    cnnRemote.Open


    Microsoft.ACE.OLEDB.12.0 is for Access 2007, for Access 2003 this will probably be 10.0, but I'm not sure, and strFile = name and path of the access file.
    Of course, you must have access rights to the file you want to connect to.

    Success
    NG
    Thanks for your replay. But my question is how we can connect the table without share the folder/drive where the table is? Is it possible?

  4. #4
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi;

    you always need a kind of access to the database you want to connect to, but maybe working with sharepoint tables is an option for you?

    gr
    NG

  5. #5
    Yance is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    22
    Never use sharepoint table. Can you give any reference for this?

  6. #6
    Yance is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    22
    I have find on this http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx. It seems i must use Windows Server

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Linking Access Table with already imported External Data (Excel)
    By izzarshah in forum Import/Export Data
    Replies: 1
    Last Post: 07-29-2010, 09:40 AM
  2. populate table w/ external data
    By tlittell in forum Programming
    Replies: 2
    Last Post: 02-20-2010, 08:29 AM
  3. Error Linking External Table
    By mcgowan.b in forum Import/Export Data
    Replies: 9
    Last Post: 11-24-2009, 07:44 AM
  4. Appending a table with external script
    By farva in forum Import/Export Data
    Replies: 0
    Last Post: 11-09-2009, 12:12 PM
  5. Replies: 2
    Last Post: 10-27-2009, 07:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums