Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    yrstruly is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2024
    Posts
    122

    This Record Set Is Not Updateable

    My Access database has entered a confusing state, where some records have suddenly become non-updatable, despite no recent structural changes.
    Here's what's happening:


    • In the Plants table:
      • Go to Menu 5.1 at the top.
      • Select "Titan SG" (a cultivar).
      • Then click the Licence button in the bottom-left corner. Choose any or Sierra Gold.
      • The licence form opens, but doesn't allow updates for this and a few other records like it.

    • In the Nursery Orders section (menu 3, 3,1) Choose any of the files in drop downs:
      • The same issue — some records suddenly can't be edited.

    This was working before, and I havenÂ’t changed the relationships or form code in any way that IÂ’m aware of. No new joins or locks were added.


    I tested the queries, it works in older db, but not in my current, b that i mean, it shows updateable in older db, but not in new.
    Example is:
    Code:
    SELECT TblNursOrders.[Select], TblNursOrders.Nr, TblNursOrders.Anno, TblNursOrders.OrderDate, Plants_1.PlantType AS Fruit, TblNursOrders.PlantIDScion AS SCult, Plants_1.Ipno, Plants_1.Clone AS SClone, Plants_1.Phyto, IIf(        Not IsNull([Plants_1].[CommercialAgent]), [Plants_1].[CommercialAgent],
            IIf(
                Not IsNull([Plants_1].[Partnership]), [Plants_1].[Partnership],
                IIf(
                    Not IsNull([Plants_1].[NucliusResponse]), [Plants_1].[NucliusResponse],
                    IIf(
                        Not IsNull([Plants_1].[Origin]), [Plants_1].[Origin],
                        "O Gaats geen Agent"
                    )
                )
            )
        ) AS Agent, TblNursOrders.PlantIDRoot AS RCult, Plants.Ipno, Plants.Clone AS RClone, Plants.Phyto, TblNursOrders.OrderAmount, TblNursOrders.OrderSize, TblNursOrders.OrderBy, TblNursOrders.Allocated, TblNursOrders.Contract, TblNursOrders.CommentNurs AS [Nurs Comment], TblNursOrders.rRL2Pay, TblNursOrders.sRL2Pay, TblNursOrders.Comment, TblNursOrders.Cerified, TblNursOrders.DeliveryNo, TblNursOrders.DeliveryDate, TblNursOrders.DeliveryQuantity, TblNursOrders.DeliverySizes, TblNursOrders.CertifiedType, TblNursOrders.SourceScion AS SSource, TblNursOrders.SourceRoot AS RSource, TblNursOrders.Nursery, TblNursOrders.NurseryConfirm AS Confirm, TblNursOrders.DeliveryNotePrinted, TblNursOrders.DeliveryType, TblNursOrders.Gebied, TblNursOrders.BevestigingsbriefGestuur, TblNursOrders.BevestigingsbriefOntvang, TblNursOrders.KontrakGestuur, TblNursOrders.KontrakOntvang, TblNursOrders.DepositobriefGestuur, TblNursOrders.DepositobriefOntvang, TblNursOrders.OrderID, TblNursOrders.CountOrder, TblNursOrders.TreePrice, TblNursOrders.PayableTo, Round(Nz(TblNursOrders.TreePrice,0) * Nz(TblNursOrders.Allocated,0), 2) AS TotalTreesPrice
    FROM TblLicence AS TblLicence_1 RIGHT JOIN (((TblNursOrders INNER JOIN Plants ON TblNursOrders.PlantIDRoot = Plants.PlantID) INNER JOIN Plants AS Plants_1 ON TblNursOrders.PlantIDScion = Plants_1.PlantID) LEFT JOIN TblLicence ON Plants.PlantID = TblLicence.PlantID) ON TblLicence_1.PlantID = Plants_1.PlantID
    WHERE TblNursOrders.Nr = [Forms]![frmNursOrder]![Nr]
        AND TblNursOrders.Anno = [Forms]![frmNursOrder]![Anno]
    ORDER BY Plants_1.Clone, TblNursOrders.PlantIDRoot, TblNursOrders.OrderAmount DESC;
    
    
    I checked if the tables are updateable and they are.
    I have not changed Section 3's query lately. What could have caused this.
    Login: Fritz, 11111.

    DB https://drive.google.com/file/d/1U5N...ew?usp=sharing

  2. #2
    Micron is online now Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,421
    It would be better if you just zipped a copy of your file and put it in a post rather than making helpers download from another site. Some won't. Some cannot.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    yrstruly is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2024
    Posts
    122
    Quote Originally Posted by Micron View Post
    It would be better if you just zipped a copy of your file and put it in a post rather than making helpers download from another site. Some won't. Some cannot.
    I cant upload files.

  4. #4
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    You say in your instructions

    In the Plants table
    Go to record 5.1 at the top

    Your current Plants table displays as shown in the attached.

    How do you have a Record 5.1???
    Attached Thumbnails Attached Thumbnails Plants.jpg  

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    Quote Originally Posted by Micron View Post
    It would be better if you just zipped a copy of your file and put it in a post rather than making helpers download from another site. Some won't. Some cannot.
    Wouldn't upload anyway, it is 73MB
    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

  6. #6
    yrstruly is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2024
    Posts
    122
    Quote Originally Posted by mike60smart View Post
    You say in your instructions

    In the Plants table
    Go to record 5.1 at the top

    Your current Plants table displays as shown in the attached.

    How do you have a Record 5.1???
    Sorry, Menu i meant.

  7. #7
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    There is no Form named "Menu"???

  8. #8
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    Your Login Form has a Command Button which should open the Form named "Switchboard"

    There is no Form named "Switchboard" ???
    Edit *****
    My apologies there is a Switchboard but unable to open it

  9. #9
    Micron is online now Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,421
    Not sure why you can't upload here when you can upload to Google drive. Oh well, never mind.
    WGM, it's 73MB when compacted and zipped? Then it has too much in it for a forum upload as you say. The usual fix is to import only what's needed into a new db and then post that instead.

    EDIT - you mention 2 different db's. Is one not in a trusted location, because you're using a VBA function in the query (IIF)?
    Maybe something here will help you figure it out. Up to you, but if you get a browser warning about an unsecure site, I would not worry about it given who owns it.
    http://allenbrowne.com/ser-61.html
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  10. #10
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    I have taken a quick look at the database and there are issues.

    No relationships set in the BE file.

    The Forms that I have looked at are dealing with Plants.

    the Plants table has a Text Autonumber PK named PlantID and related tables with related tables linked on PlantID with a Text DataType FK

    Tried to set relationships between these tables and get the following error message.
    Attached Thumbnails Attached Thumbnails RI.png  

  11. #11
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,879
    Cant get anywhere with your database. Freezing up and crashing.
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  12. #12
    yrstruly is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2024
    Posts
    122
    I ran this code for frmLicence "SELECT DISTINCTROW TblLicence.*,
    Plants.Cultivar,
    Profile.Display
    FROM
    (TblLicence
    INNER JOIN Profile ON TblLicence.Nr = Profile.Nr)
    INNER JOIN Plants ON TblLicence.PlantID = Plants.PlantID;" it is updateable, i still need to bring in the calculation(Round(Nz(PP.[Royalty/Levy], 0) * 0.8, 2) AS IPOwnerShare,
    Round(Nz(PP.[Royalty/Levy], 0) * 0.2, 2) AS SAPOShare).
    I don't know why it does this, then it works fine, and then it stops working.

  13. #13
    Micron is online now Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,421
    While be relationships are not mandatory, they are helpful. I have to wonder why you're using replication in this db? At least that's what those first 3 fields look like to me. You might have to fix your db schema, else you are likely going to continually struggle.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  14. #14
    yrstruly is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2024
    Posts
    122
    Please indicate of which replication you are refering to?

  15. #15
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,818
    It looks like the field "sGUID" is a Replication Field


Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. The record is not updateable
    By jaryszek in forum Queries
    Replies: 6
    Last Post: 03-29-2018, 04:11 AM
  2. Replies: 6
    Last Post: 09-20-2016, 06:20 AM
  3. Set db set Set rst - what does it mean?
    By gg80 in forum Programming
    Replies: 4
    Last Post: 11-07-2013, 03:20 PM
  4. record set not updateable
    By sherlc29 in forum Forms
    Replies: 4
    Last Post: 11-03-2013, 07:11 PM
  5. This record set is not updateable,
    By MFS in forum Forms
    Replies: 1
    Last Post: 03-24-2009, 08:46 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