Results 1 to 8 of 8
  1. #1
    NJMike64 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Apr 2014
    Posts
    15

    Multi-Table Query does not allow any fields to be edited

    Hi all,



    I have a query that combines 2 tables on it with a linked Master-Child field between them, however, when I run the query (or the form that I created the query from), none of the fields are editable.

    any clues on how to resolve this?

    Thanks
    mike

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    master data should be on main form, child data in a subform - basic rule is one table per form

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Maybe this link can help: http://allenbrowne.com/ser-61.html

  4. #4
    NJMike64 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Apr 2014
    Posts
    15
    @AJAX - Yes I agree, but this is a special case.

    @RURALGUY - Thanks. I think I know the problem.

    In my test db, all the tables and forms are within access and it works fine. However, in my deploy db, I have moved all the tables to sharepoint and it seems sharepoint does not maintain indexing the same way nor does it maintain the relationship between tables the same way. Does that make sense?

    Mike

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It does to me. I've heard that before.

  6. #6
    NJMike64 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Apr 2014
    Posts
    15
    Ok, well that really sucks. Now I have to really think out of the box, and maybe someone has a thought. Basically I have 2 tables, one called room inventory, that, you guessed it, has the complete inventory of equipment in a room. Unique values are the Room Id and a field called uniqueSN that is combo of the part serial number and the part model number (this is because some serial numbers are duplicated in different vendors).

    I have a second table called changelog. This is for the team that handles the inventory adjustments to enter in what changes they have, such as Asset Tag, add a new part, remove a part, move the part to a different room.

    I was hoping to be able to join the 2 so that I can have a list of changes and just click on a button to copy the change information to the room inventory, if that makes sense.

    Thanks
    Mike

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    If I think of something I'll post back but don't hold your breath.

  8. #8
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,845
    you can try changing the form recordsettype to dynaset (inconsistent updates) however this will almost certainly require additional code around populating FK's and potentially updating 2 tables - just because you don't intend to doesn't mean access knows this. But may not be relevant to sharepoint

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

Similar Threads

  1. Append Query - Multi-Valued Fields
    By lynthel in forum Queries
    Replies: 8
    Last Post: 08-03-2017, 11:46 AM
  2. Update seperate table when a record is edited.
    By Homegrownandy in forum Access
    Replies: 4
    Last Post: 08-05-2015, 07:57 AM
  3. Replies: 8
    Last Post: 05-08-2014, 12:07 PM
  4. Replies: 6
    Last Post: 07-02-2013, 12:27 PM
  5. Replies: 11
    Last Post: 04-22-2013, 04:21 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