Skip to main content
16-Pearl
March 5, 2024
Solved

DataTable entry update service query

  • March 5, 2024
  • 1 reply
  • 1070 views

I have only one entry in my datatable with 4 fields. One of the field is primary key for that datashape. Now my question is i want to update this entry but that primary key value would also be updated. Now the confusion is how can i do that? I have the service UpdateDataTableEntry and AddOrUpdateDataTableEntry but these both services creates a new entry because the value of the primary key changes too. what is the best solution in this regard should i delete the entry first and then add the new one or how you can see this problem?

Best answer by MA8731174

i think i have set another field as a primary key which will remain same and i can always change other fields that it.

1 reply

14-Alexandrite
March 6, 2024

I think you should remove the row and add a new row.

MA873117416-PearlAuthorAnswer
16-Pearl
March 11, 2024

i think i have set another field as a primary key which will remain same and i can always change other fields that it.