I need to set the checkbox value on Order Entry form in the Customer Finder_click() event when the returned customer NO. is not null, but I don't know how and where to access this event. Any help would be greatly appreciated!
Thanks a lot for your quick reply, Tuba2007!
I am a newbie to accpac, I don't know what is the signature of this event? Where can I find a Accpac development guide?
Yes, I drop the AccpacOE1100.ocx on my form and I am coding with C#. So any suggestion for me to learn more about custom development of accpac. Thanks a bunch!
Dim WithEvents dsOrder As AccpacOE1100.ACCPACDSControl
2:
Private Sub AccpacOE1100UICtrl1_OnUIAppOpened()
With Me.AccpacOE1100UICtrl1
Set dsOrder = .UIDSControls("adsOEORDH")
End With
End Sub
3:
Private Sub dsOrder_OnRecordChanged(ByVal eReason As AccpacCOMAPI.tagEventReason, ByVal pField As AccpacDataSrc.IAccpacDSField, ByVal pMultipleFields As AccpacDataSrc.IAccpacDSFields)
if dsOrder.Fields("CUSTOMER") <> "" Then Me.chkMyCheckbox = True else Me.chkMyCheckbox = False
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.