Hi All,
I need to limit users to specific orders after hours.
The supervisor enters the available orders in a table and the user must only be able to process those orders.
I tried to use the default start position code, but this does not "filter" and display the selected order.
Example for PO: [OE did not compile as UIDSControls(33) is not recognised - hence tried with PO example]
Option Explicit
Dim WithEvents dsPO As ACCPACPO1210.ACCPACDSControl
Private Sub AccpacPO1210UICtrl1_OnUIAppOpened()
Set dsPO = AccpacPO1210UICtrl1.UIDSControls(10)
dsPO.Fields("PONUMBER") = "PO000000028"
End Sub
I have a public variable that feeds the PO number, but I can not find the controls that actually filter/select the PO Number on the Access form.
Do you also know how to disable the finder to prevent them from selecting other orders?
I need to limit users to specific orders after hours.
The supervisor enters the available orders in a table and the user must only be able to process those orders.
I tried to use the default start position code, but this does not "filter" and display the selected order.
Example for PO: [OE did not compile as UIDSControls(33) is not recognised - hence tried with PO example]
Option Explicit
Dim WithEvents dsPO As ACCPACPO1210.ACCPACDSControl
Private Sub AccpacPO1210UICtrl1_OnUIAppOpened()
Set dsPO = AccpacPO1210UICtrl1.UIDSControls(10)
dsPO.Fields("PONUMBER") = "PO000000028"
End Sub
I have a public variable that feeds the PO number, but I can not find the controls that actually filter/select the PO Number on the Access form.
Do you also know how to disable the finder to prevent them from selecting other orders?