Skip to Content
0
Jan 07, 2014 at 09:02 AM

Calling the event in another event pb7

23 Views

Friends...

I am calling the rowfocuschanged event from itemchanged event....but the calling event is not working.

see the italic bold line. the event

dw_2 item changed event.

String ls_PassFail

If dwo.Name = 'marks_final_grade' Then

Choose Case data // What is the letter grade?

Case 'A','B','C','D','E','S'

ls_PassFail = 'Pass'

Case 'U'

ls_PassFail = 'Fail'

dw_2.TriggerEvent(rowfocuschanged!)

case else

ls_PassFail = 'Nil'

End Choose

This.SetItem(row,'marks_final_passfail',ls_PassFail)

End If

my requirement is....marks_final_passfail field's font color should be red...once the 'Fail' case comes...

already the rowfocuschanged event is working...but now i am not going to that field to select 'Pass' or 'Fail'...iam doing it here...so i want to change the font color also from here(dw_2 item changed event)

thanks