Subform recordset is not updateable

Derek

Registered User.
Local time
Today, 13:20
Joined
May 4, 2010
Messages
234
Hi ALl

I have few subforms within a form. My other subforms are working fine except one. When I try to make some changes in the subform like adding something in the textbox or selecting optionbutton thn it doesn't do anything and a message "Recordset is not updateable" comes up in the taskbar in the bottom on the left hand side of the of the screen .

ANy idea why its happening?

Thanks
 
Sounds like the subform is bound to a query with a JOIN in it. You should only base forms that directly interact with data (edit/add/delete) on tables and not queries.

I would change the recordsource of the subform to a table.
 
But my other subform is working fine and it is based on the same query :(
 
might be the parent/child relationship you have between the form/subform that makes it unable to update.
 
Else show the Record source both for the none working form and for one of the other.
 
Ensure you have the primary key defined correctly.

edit: I recall getting errors like that when connecting MS Access to SQL Server. This was resolved by ensuring the primary key was defined either n SQL server itself or in the linked table manager. (I can't recall which.) :confused:

From memory just having a unique key isn't sufficient. it needs to be explicitly defined as the primary key.
 
Last edited:
Is it access only? Or connecting to SQL Server?
 
Last edited:
it is only access. I am not able to update records. My recordset for the subform is linked to a query(which is using 3 tables).
 

Users who are viewing this thread

Back
Top Bottom