Results 1 to 5 of 5

Thread: Link table using DSN

  1. #1
    Join Date
    Nov 2010
    Posts
    48

    Link table using DSN

    I have a Microsoft Access Application where I by means of Link table that is SQL Server database by mean of DSN. Is that possible to get each and every one the table’s link detail and revive the preceding link with a new DSN link. Please provide some information how can I do this? Any idea or any suggestion for this then must provide…….

  2. #2
    Join Date
    Nov 2008
    Posts
    1,192

    Re: Link table using DSN

    What occurs with linked tables if they were linked by means of File DSN, while I copy the Access file on a few extra computers with no File DSN? What is the dissimilarity between DSN on linked tables and pass-through query? Why I can modify DSN for pass through query and cannot modify it for linked table, in Properties dialog box?

  3. #3
    Join Date
    Jun 2009
    Posts
    1,518

    Re: Link table using DSN

    DSNs are set up for every machine. If you link a table by means of a DSN, after that the link will only work so extended as a DSN with the similar name exists on the machine you are annoying to make use of the database from. A pass through query passes factual SQL to the server precisely as you write it. With linked tables, Access or JET decides how to inquiry the server. If you create an Access query of linked tables, JET will do its best to produce server side SQL to sprint it; it more often than not does a extremely superior work.

  4. #4
    Join Date
    Nov 2008
    Posts
    1,514

    Re: Link table using DSN

    I also have the same problem and I really don’t understood that how can I adjust connection string for linked tables programmatically? For instance, let us say that I have a login form and a process that makes connection string by means of login information, so that I can make use of DSN less connection? How can I pass that connection string to linked tables each time while user logs?

  5. #5
    Join Date
    Mar 2009
    Posts
    1,360

    Re: Link table using DSN

    I have some idea about your issue and I like to help you. Therefore I am redistribution this from memory at the present, but it is incredible close to...
    1. Acquire a reference to the tabledef from the database's Tabledefs collection
    2. Place the Connect property to the connect string you wish
    3. Call the RefreshLink technique of the tabledef object.

Similar Threads

  1. Replies: 5
    Last Post: 27-08-2011, 10:53 AM
  2. Link a Table to another Table to Drop Down In Main Table
    By himeshRES in forum Windows Software
    Replies: 6
    Last Post: 11-12-2010, 02:01 PM
  3. Replies: 4
    Last Post: 30-11-2010, 03:01 AM
  4. To convert a pivot table to a flattened table in MS Excel
    By zeemga in forum Windows Software
    Replies: 3
    Last Post: 27-11-2010, 06:48 AM
  5. What is the difference between delete table & truncate table?
    By Swati in forum Software Development
    Replies: 4
    Last Post: 13-02-2009, 05:24 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,244,728.14283 seconds with 17 queries