One of my freind was having a small requirement:
1. Select one row at a time(only one row in Database block)
2. Only selected row should be saved in database, even other non-selected rows has been changed by the user.
For this requirement first thing is to add one checkbox and write one checkbox changed trigger to allow the user to select only one
row, following piece of code will do this:
where item4 is the name of check box, it will be having value "Y", when it is checked and "N" otherwise.
now change the status of Record to "QUERY", if row is not selected and it has been changed by the user.
when-validate-record at block level
Related Posts:

Binuraj
said:
|
Nice one Hi Reetesh, Nice article... I suppose line 10 should be if :system.cursor_record != l_current_record then |
|
contactriteshsharma
said:
|
... Hi Binuraj, Thanks a lot for Identifying the error, I have corrected it. Regards, Reetesh Sharma |
|


















