G
Guest
I'm trying not to update a field when the user has changed the info and then
selects the Cancel button from a message box. I've seen the .CancelUpdate but
dont know how to use it. Can someone give me some clues? in this instance the
control field is VendorID and the code is called from the BeforeUpdate Event.
I'm really new at VB
THanks, here is my code:
MsgBox "Change " & strControlName & "?", vbOKCancel, "Change Field?"
Select Case vbCancel
Case Is = 2
Select Case strControlName
Case Is = "VendorID"
' what should go here?
End Select
End Select
selects the Cancel button from a message box. I've seen the .CancelUpdate but
dont know how to use it. Can someone give me some clues? in this instance the
control field is VendorID and the code is called from the BeforeUpdate Event.
I'm really new at VB
THanks, here is my code:
MsgBox "Change " & strControlName & "?", vbOKCancel, "Change Field?"
Select Case vbCancel
Case Is = 2
Select Case strControlName
Case Is = "VendorID"
' what should go here?
End Select
End Select