Greetings for the day!I am new in outsystems, and currently i am working in a project that was already developed whren i firt starting working on itmy question is I have a TR in a form and it has a source a record list after i fill the text boxes and comobo boxes from the formfor the first input line is ok when I fill the second one in the same form before a sub,it replaces the firs row and add the currently i am adding so it makes duplicate lines.
As per my understanding you are having form controls and using values of these form controls you are appending the record into recordlist on add button action & populating TableRecord using above RecordList.
But unable to understand your problem if you can attach your oml i can look into it.
Sahshi kant Shukla wrote:
That's it! The issue is, when I press the add button to add a second value from the form, it duplicates the new value I am inserting and delete teh preview value added.
I think there is some logical issue in code if you can share your code i can look into it.
Kindly check the logic where you add an item to the list. Assuming that the logic you created is this:
You have to clear the list record variable used in the table widget before inserting the new/updated records. Assign an empty list to the list record variable before adding/inserting the new records. This will avoid appending the current records from the table to the updated records.