Results 1 to 3 of 3
  1. #1
    stalk is offline Competent Performer
    Windows 8 Access 2003
    Join Date
    May 2014
    Posts
    147

    operation must use updateable query ?

    I have two rows per patient_Id in table A and one row per patient_id in TableB. both are SQL tables residing on two different servers.
    I need to update Table B (Results) with patient details from Table A. When I run select query with distinct key word I can see the details. But when I try to use update query its erroring " Operation must use updatable query".

    How to handle this? Table A has a field called Aliquot_ID which is causing duplicate issue. I don't need that info in Table B.

    Any thoughts to ignore A;iquot_id and match the records by Patient_id?

    Thank you

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    1.depending on the query joins, you may get UNUPDATEABLE
    2. you cannot run a query with summation on AND update a table. UNUPDATEABLE
    3. are both tables writeable? (not set to read only)

    is it a simple 2 table join on PatientID? If so, then you shouldnt get the Unupdate err.






  3. #3
    stalk is offline Competent Performer
    Windows 8 Access 2003
    Join Date
    May 2014
    Posts
    147
    TableA is read only, where as tableB is writable. When I run the query in datasheet view I see there are 16 records to update in table B ( 2 records per patient_id) . When I run the update query I get this error.
    Only condition I have is TableA.Patient_Id=TableB.Patiet_ID. One other minor difference I noticed is TableA is number ( decimal with precision 20 and TableB is also decimal with precision 18. Is there a way to limit mapping one record( like using distinct or self join etc in update query)

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

Similar Threads

  1. Operation must use an updateable query - help
    By fluffyvampirekitten in forum Access
    Replies: 5
    Last Post: 01-08-2016, 08:11 AM
  2. Replies: 3
    Last Post: 11-26-2013, 01:45 PM
  3. Operation must be an updateable query! Arg
    By redbull in forum Queries
    Replies: 6
    Last Post: 10-05-2012, 02:04 PM
  4. Operation must use an updateable query.
    By pericherlasuma in forum Access
    Replies: 1
    Last Post: 05-16-2011, 09:45 AM
  5. Operation must use an updateable query
    By skaswani in forum Queries
    Replies: 0
    Last Post: 12-23-2010, 11:59 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