Validation for selected records

Hi All,

I have a form in which has employee’s certification details.

Fields - EmplID,Company,CertiNo,Description.

user key-in fields. - “CertiNo and Description”

HR enters the certification details and selects the button “completed Certi” which will pass the selected recs to another table.

How to validate the following cases-(as shown in pic)

1.The selected records should be for same employee (i.e) if he selects ‘67899’ the other recs should be only '67899’1.

2.The certification no entered 8787.Selected Records.bmp (1.64 MB)

Please help.

Thanks Rajee

Note : I’m using similar code to keep track of the selected recs

learnax.blogspot.in/…/x-code-to-identify-multiple-selected.html

Which part do you need a help with? If you know how to validate a single line and you know how to iterate through selected lines, it’s trivial to check whether the validation passes for all selected records.

By the way, you can use MultiSelectionHelper class for the iteration.