cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor movement to the Erroneous record position.

Former Member
0 Kudos

Dear Gurus,

I've a requirement, wherein when the user enters a wrong data somewhere in the 100th location of the table and found erroneous on click of Save button to the Database table, the cursor should get highlighted on that particular record and the control should go to the same position, even if the Cursor is at the first Record of the table.

Kindly suggest a small clue for the same.

P.S: The number of display records for the window is - 35.

Regards,

-Syed.

Edited by: wahid hussain syed on Apr 23, 2009 2:14 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In the button event, write the code to navigate to errors using the REPORT_ELEMENT_ERROR_MESSAGE of the message manager where you can speicify the element ie row and the attribute name also based on the condiiton you speciify.

Get the elements of the node and loop through the elements and for each element get the values and based on the condition use the above method to throw error at that record for that field.

Hope it is clear.

Regards,

Lekha.

Former Member
0 Kudos

Hi,

Thank you. I'm able to solve the problem.

Regards,

-Syed.