Results 1 to 5 of 5
  1. #1
    clancy76 is offline Novice
    Windows 10 Access 2013
    Join Date
    Oct 2014
    Posts
    25

    Can't update values in a select query

    Hi all - I have a select query that is pulling from two tables - one is a linked SQL Server table, the other is a local Access table. Every time I try to change a value in the query (by just opening the query and typing in a new value), I cannot edit anything. BUT, if I were to take the select query, put it in an update query and run it, the values update fine. Anyone know what I am doing wrong? I tried the usual stuff (see this white paper: https://support.microsoft.com/en-us/...5bed7#bmchange), none of it seems to work. Anyone know what I'm doing wrong?



    Thanks!

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,914
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,524
    you cant update in a select query. you update in update queries.
    now, if you mean edit fields a select query, SOMETIMES you cant, due to joins in the tables.

    depending on table structure, the join will not allow edits. some do.

  4. #4
    clancy76 is offline Novice
    Windows 10 Access 2013
    Join Date
    Oct 2014
    Posts
    25
    Thanks Welsh - yeah all of the typical stuff isn't working. I'm guessing Ranman is right

  5. #5
    clancy76 is offline Novice
    Windows 10 Access 2013
    Join Date
    Oct 2014
    Posts
    25
    Thanks Ran

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

Similar Threads

  1. Query Update/Select Query (Wont Update)
    By NickWren in forum Access
    Replies: 1
    Last Post: 03-30-2016, 10:41 AM
  2. Replies: 3
    Last Post: 02-07-2016, 10:49 AM
  3. Replies: 15
    Last Post: 10-18-2015, 04:05 PM
  4. Select the larger of two values in a query
    By matteozz in forum Queries
    Replies: 5
    Last Post: 07-01-2015, 03:14 AM
  5. Replies: 3
    Last Post: 01-04-2011, 07:06 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