Results 1 to 4 of 4
  1. #1
    Batista1409 is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2020
    Posts
    2

    Linked tables

    I am relatively new to Access and trying to link access to external Microsoft net framework sql database. The purpose is to query the source database in Access. Is it possible to overwrite the source data. I do not want to risk overwriting or damaging the source data. Is linking to the source database read only. If no, how can I link in read only mode.

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,792
    If your permissions on the data allow edit/delete then linking will allow that also. One way to ensure you cannot damage the data is to build native Access tables and import into them and only work on the Access tables. However, if the source db tables have features that Access can't handle you will likely have issues importing that data, or at least when you try to use it. Probably the safest way to import the data is to import (Get Data from the Ribbon in Access) otherwise you'll need to create make table queries (with the notion of using them only once) or append queries where you append what's in the source to what's in the target tables after linking these tables. You'd then delete the links to eliminate the potential for messing them up. However, be careful - you could append or make tables on the other back end if you're real unfamiliar with doing that. If you don't have permissions that will allow you to modify or delete then that's much safer, but I think the import is likely your best option.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    Batista1409 is offline Novice
    Windows 10 Office 365
    Join Date
    Nov 2020
    Posts
    2
    Many thanks

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    Another way would be to create SQL Server views based on the tables. These have no primary key.
    Link (don't import) those views instead of the tables. They will be read only.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

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

Similar Threads

  1. Replies: 6
    Last Post: 04-18-2018, 06:56 AM
  2. Replies: 17
    Last Post: 04-09-2018, 04:39 PM
  3. Replies: 1
    Last Post: 02-07-2016, 02:41 PM
  4. Replies: 4
    Last Post: 11-22-2013, 11:20 AM
  5. Replies: 5
    Last Post: 02-02-2012, 06:42 PM

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