Hi all,
I'm experiencing a problem when handlig the et_validate event.
I've already read the forum and tried all the solutions suggested, but i can't make my form work.
i have a matrix and when inserting my ItemCode and checking et_validate event i get in an infinite loop.
I've tried the solution suggested in other posts.
Using the InnerEvent property i don't get in loop, but when exiting from the form, i got the Invalid Form error.
If i don't use the InnerEvent Property i get in the loop. I don't know what's wrong in my code. I post it here hope tha anyone could help me
If (pVal.Before_Action = False) Then If (pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE) Then If (pVal.ColUID = "V_ItemCode") Then .... ' Do my stuff,e.g. set Item Description, get price, etc .... End If End If End If
I tried the et_LOSTFOCUS event too, it works, but anytime i get out from ItemCode Cell, everything in the line is recalculated. i should have the possibility to check if the ItemCode has been modified or not to recalculate all.
Hope i've been clear, and thanks in advance for help