on 11-25-2009 7:31 AM
Hello sir
I want to do the Update query on add button of Sales A/R From, to update the satus of my user form
plz suggest
Hi
you can do this by catching the item press event of ok button in add mode and on action success true value you can update your user form values...
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If pVal.ItemUID = "1" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And pVal.FormMode = SAPbouiCOM.BoFormMode.fm_ADD_MODE And pVal.BeforeAction = False Then
Dim oForm As SAPbouiCOM.Form
oForm = SBO_Application.Forms.Item(FormUID)
If oForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE Then
If pVal.ActionSuccess = True Then
Try
' setVisibilityForControlPQ()
SetInitialDataPQ()
Catch ex As Exception
ShowErrMsg("Event Error et_ITEM_PRESSED: " & ex.Message)
Finally
End Try
End If ' action close
End If 'mode close
End If 'else if
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.