Trying to place a Sales order on hold(OrderOnHold Field)
with a check box. Want it to warn before placing on hold, then a warning to take off hold.
Private Sub Order_On_Hold_Click()
If MsgBox("Do you want to close out this Sales Order?", vbYesNo, "Close out SO?") = vbYes Then
'Update the OrderOnHold Flag and save the record
End If
'We want to Take off hold
If MsgBox("Are you sure you want take order off hold?", vbYesNo, "Take off Hold?") = vbYes Then
End If
End Sub
Will not work, any suggestions
with a check box. Want it to warn before placing on hold, then a warning to take off hold.
Private Sub Order_On_Hold_Click()
If MsgBox("Do you want to close out this Sales Order?", vbYesNo, "Close out SO?") = vbYes Then
'Update the OrderOnHold Flag and save the record
End If
'We want to Take off hold
If MsgBox("Are you sure you want take order off hold?", vbYesNo, "Take off Hold?") = vbYes Then
End If
End Sub
Will not work, any suggestions