SOLVED

Can no longer edit queries after Table divide

%3CLINGO-SUB%20id%3D%22lingo-sub-1656846%22%20slang%3D%22en-US%22%3ECan%20no%20longer%20edit%20queries%20after%20Table%20divide%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1656846%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20sure%20this%20is%20a%20simple%20resolution%20but%20probably%20about%20my%20intermediate%20Access%20skills%20in%20terms%20of%20quickly%20identifying%2Ftroubleshooting.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20a%20table%2C%20that%20over%20time%2C%20had%20grown%20to%20well%20over%2090%20fields%20which%20was%20causing%20some%20issues%20regarding%20restrictions%20on%20number%20of%20indexed%20fields%2C%20etc.%20For%20this%20reason%20I%20decided%20to%20sub%20divide%20the%20data%20into%20three%20new%20tables%20with%20%22RPATSID%22%20being%20the%20common%20field%20that%20linked%20the%20three%20together.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20running%20queries%20now%2C%20everything%20works%20find%20and%20I%20get%20all%20the%20data%20I%20need%20like%20i%20did%20before%20with%20the%20single%20table%2C%20but%20if%20I%20include%20fields%20across%20more%20then%20one%20of%20these%20tables%20I%20cannot%20edit%20any%20of%20the%20data.%20I%20have%20checked%20the%20easy%20issues%20like%20the%20status%20of%20%22Allow%20Edits%22%2C%20%22Data%20Entry%22%2C%20etc%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3EAttached%20is%20the%20screenshot%20showing%20the%20relationship%20between%20the%20three%20tables%20(linked%20by%20RPATSID).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20in%20letting%20me%20know%20if%20there%20is%20any%20correction%20to%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1656846%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1657787%22%20slang%3D%22en-US%22%3ERe%3A%20Can%20no%20longer%20edit%20queries%20after%20Table%20divide%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1657787%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EYou%20can%20have%2032%20indexes%20in%20a%20table.%20With%20just%2090%20fields%20you%20would%20have%20to%20have%20a%20very%20special%20use%20case%20to%20need%20so%20many%20indexes.%20Also%20be%20sure%20to%20not%20have%20duplicate%20indexes%20as%20e.g.%20Access%20already%20creates%20a%20hidden%20index%20on%20the%20foreign%20key%20field%20in%20every%20relationship.%3C%2FLI%3E%0A%3CLI%3EIn%20order%20for%20the%20query%20to%20be%20updatable%20your%20common%20field%20RPATSID%20should%20have%20a%20unique%20index%20in%20all%203%20tables.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CFONT%20size%3D%22-1%22%3E%3CFONT%20face%3D%22Verdana%22%3EServus%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%22-1%22%3E%3CFONT%20face%3D%22Verdana%22%3EKarl%3CBR%20%2F%3E*********%3CBR%20%2F%3E%3CA%20href%3D%22http%3A%2F%2FAccessDevCon.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2FAccessDevCon.com%3C%2FA%3E%3CBR%20%2F%3EAccess%20FAQ%20(German%2FItalian)%3A%20%3CA%20href%3D%22http%3A%2F%2Fdonkarl.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fdonkarl.com%3C%2FA%3E%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I'm sure this is a simple resolution but probably above my intermediate Access skills in terms of quickly identifying/troubleshooting.

 

I had a table, that over time, had grown to well over 90 fields which was causing some issues regarding restrictions on number of indexed fields, etc. For this reason I decided to sub divide the data into three new tables with "RPATSID" being the common field that linked the three together.

 

When running queries now, everything works find and I get all the data I need like i did before with the single table, but if I include fields across more then one of these tables I cannot edit any of the data. I have checked the easy issues like the status of "Allow Edits", "Data Entry", etc

 

 

Attached is the screenshot showing the relationship between the three tables (linked by RPATSID).

 

Any help in letting me know if there is any correction to this.

 

2 Replies
Highlighted
Best Response confirmed by DarrylJP (New Contributor)
Solution

Hi,

 

  1. You can have 32 indexes in a table. With just 90 fields you would have to have a very special use case to need so many indexes. Also be sure to not have duplicate indexes as e.g. Access already creates a hidden index on the foreign key field in every relationship.
  2. In order for the query to be updatable your common field RPATSID should have a unique index in all 3 tables.

Servus

Karl
*********
http://AccessDevCon.com
Access FAQ (German/Italian): http://donkarl.com

Highlighted

@Karl DonaubauerThanks so much Karl! I don't know how I didn't notice I had RPATSID set to "Yes (duplicates OK)" when I recreated the tables. Everything is working great now after following your instructions! Your help is greatly appreciated :)