Unanswered: How to save the value of a text box that has been edited and not the others in d2k?
I have 3 textboxes and a SAVE button in D2k.
My Question is : How do I determine which
text box has been edited and save the value of
that textbox alone in the DB.
I know that I can use a POST-TEXT-ITEM Trigger
on the textboxes which can do the saving of specific edited textboxes.
But if I have, say a 100 text boxes then it
would not be feasible for me to write
a POST-TEXT-ITEM trigger on each and every text
Also I would like the saving to be done after I
hit on the SAVE button, so that it is easier
for the end user to understand instead of a
POST-TEXT-ITEM trigger which would be fired automatically after an edit.
I am not sure, Why do you want to save only edited items ? What happens if you just overwrite the fields to database that have not been edited too?
Another question is , you must be using Oracle with d2k. So when you press save button you must be writing commit comand.
So what happens? Won't it update the databsee by itself ?