Results 1 to 8 of 8
  1. #1
    JdeC is offline Novice
    Windows 10 Office 365
    Join Date
    Apr 2021
    Posts
    4

    Multi Table Query & Locked fields


    I have a simple 3 table DB with one primary table and two supporting tables.
    Table 1 - contains ID field set as primary key and AutoNumber property with 1 field set as text
    Table 2 - Has T2_ID (AutoNumber and set as primary key), ID field properties number (Long Integer) and 1 field set as text
    Table 3 - Has T3_ID (AutoNumber and set as primary key), ID field properties number (Long Integer) and 1 field set as text
    Relationship defined as below with referential integrity defined
    Click image for larger version. 

Name:	MSACCESS_qvueXsccgT.png 
Views:	21 
Size:	8.9 KB 
ID:	44913
    The query defined as "SELECT Table1.FIELDT1, Table2.FIELDT2, Table3.FIELDT3 FROM (Table1 INNER JOIN Table2 ON Table1.ID = Table2.ID) INNER JOIN Table3 ON Table1.ID = Table3.ID;"
    Why is it that I am not able to edit the text fields in MS Access 365 but am able to do so in other databases?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    depending on the query, the result set MAY be locked.
    depends on your tables & keys & joins.

    some you can edit, some not.

  3. #3
    JdeC is offline Novice
    Windows 10 Office 365
    Join Date
    Apr 2021
    Posts
    4
    Thanks ranman256, however in the above it the definition is the most simple one can define; yet I am not able to make changes to the fields and do not understand why.

  4. #4
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    Are the two ID fields in table 2 and 3 indexed (duplicates OK)?
    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  5. #5
    JdeC is offline Novice
    Windows 10 Office 365
    Join Date
    Apr 2021
    Posts
    4
    Yes they are.
    Click image for larger version. 

Name:	MSACCESS_n9RFTMPzhi.png 
Views:	14 
Size:	10.7 KB 
ID:	44915

  6. #6
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115
    Please review http://allenbrowne.com/ser-61.html for reasons why your query is read-only.

    You can try to open it in design view, bring up its Properties window and change the recordset type from Dynaset to Dynaset (Inconsistent Updates). If the query is used as the record source for a form to make the edits you will have to also set the form's recordset type to inconsistent updates.

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  7. #7
    JdeC is offline Novice
    Windows 10 Office 365
    Join Date
    Apr 2021
    Posts
    4
    Thank-you Vlad, greatly appreciated the problem is now solved. The change of the recordset type to "Dynaset (Inconsistent Updates)" certainly did the trick.

  8. #8
    Gicu's Avatar
    Gicu is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,115

    Glad to hear, good luck with your project!
    Cheers,
    Vlad
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

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

Similar Threads

  1. Append Table Data With Multi-Value Fields
    By raychow22 in forum Access
    Replies: 5
    Last Post: 08-03-2017, 02:02 PM
  2. Replies: 7
    Last Post: 03-10-2016, 06:16 PM
  3. Replies: 7
    Last Post: 09-11-2014, 12:26 PM
  4. Replies: 8
    Last Post: 05-08-2014, 12:07 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