L
LG
I have created a message box with the following:
Private Sub Form_BeforeUpdate(Cancel As Integer)
If ([REASON1] = 1 And [PLATFORM] = "QL" And [CLIENT_CARRIER_CODE] = "lzboy")
Then
MsgBox "Please check elegibility on RxClaim for DOF!"
Me.PLATFORM.SetFocus '<---Assumption: control name is 'Platform"
Cancel = True
End If
ExitProc:
Exit Sub
ProcError:
MsgBox "Error" & Err.Number & ":" & Err.Description, vbCritical, "Error in
procedure Form_BeforeUpdate..."
Resume ExitProc
End Sub
What this does is if Reason1 =1, Client is LZBOY, and platform is QL a
message box will appear to please check carrier.
How do I get the message box to close once the processor presses ok. It is
just a warning to look for it not necessarily that if must be changed.
Thank you
Private Sub Form_BeforeUpdate(Cancel As Integer)
If ([REASON1] = 1 And [PLATFORM] = "QL" And [CLIENT_CARRIER_CODE] = "lzboy")
Then
MsgBox "Please check elegibility on RxClaim for DOF!"
Me.PLATFORM.SetFocus '<---Assumption: control name is 'Platform"
Cancel = True
End If
ExitProc:
Exit Sub
ProcError:
MsgBox "Error" & Err.Number & ":" & Err.Description, vbCritical, "Error in
procedure Form_BeforeUpdate..."
Resume ExitProc
End Sub
What this does is if Reason1 =1, Client is LZBOY, and platform is QL a
message box will appear to please check carrier.
How do I get the message box to close once the processor presses ok. It is
just a warning to look for it not necessarily that if must be changed.
Thank you