on 11-30-2007 9:14 AM
Hi,
In my UDO form, there is a field "SumTotal " that is declared as double in database by default whose value is 0.0.
Before submitting i.e. adding the value to the database I want to keep the checking that the value should be greater than zero.
But, it's UDO form , so I don't have any control to check it.
How will I solve?
Rgds
Subrata
Subrata,
Becoz of UDO so wht u can write by this in ItemEvent
Case SAPbouiCOM.BoEventTypes.et_CLICK
If pVal.ItemUID = "1" And pVal.BeforeAction = True Then
If PI_Frm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE Or PI_Frm.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE Then
If Validation() = False Then
BubbleEvent = False
End If
End If
End If
Where Validation is a function which returns boolean.
If this is helpful give reward points,
Regards,
Anitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.