1
I have a table that only has a record this table I save the system parameters it only has one item saved and its item number in one will be greater than 1 so she has no primary key, only when I try to change the system parameters this error:
Update command updated [0] Instead of [1] record. Possible reasons: update table does not have PK or Row Identifier, record has been changed/Deleted by Another user.
Possible reasons: the update table does not have PK or line identifier, the write has been changed / deleted by another user.
The table does not need a PK as it does not relate to others and has not been changed by another user because I am running it locally for testing. Someone knows how to fix this?
The components you are using for data manipulation must be requiring a primary key, even if there is only one record in the table, why not create a PK? If you are using "Datasetprovider", you must change the "Updatemode" property to "upWhereAll"
– Carlos Andrade
I’m not using the
DataSetProvider
I’ll change the connection component options to see if it works– Edu Mendonça
My table uses three columns as PK and was giving this message. [SOLUTION] The only thing I did was change the Keyfields property in Datasource, I added the three columns.
– user3640622
Check if your field where the primary key is, is the first one in the table mentioned. This happened to me.
– Vander Batista Luciano