T
Taher
Hi Tim
Im sorry to post the last message as i thought that the
message was not clear. Also i tried to work with the
procedure you gave me but its no working. I really
appreciate you fast response. Below is the code
Private Sub Command149_Click()
On Error GoTo Err_Command149_Click
Dim msg, style, Mycheck, checkcriteria, response,
Mystring, style1, checkcriteria1, Mycheck1, optValue
Dim varEnteredvalue As Variant
msg = "Please enter Approver's Name!"
style = vbYesNo + vbExclamation
Msg1 = " Did you enter Approvers name!"
style = vbYesNo + vbExclamation
If optValue = 1 Then
If IsNull(Combo30) Then
MsgBox msg, style
Else
' no message
End If
ElseIf optValue = 2 Then
If IsNull(Combo30) Then
' no message
' Else
' no information given for this
End If
'Else ' opt neither 1 nor 2
'MsgBox "System error in opt value"
End If
Exit_Command149_Click:
Exit Sub
Err_Command149_Click:
MsgBox Err.Description
Resume Exit_Command149_Click
End Sub
I appreciate you help.
Thank you.
Im sorry to post the last message as i thought that the
message was not clear. Also i tried to work with the
procedure you gave me but its no working. I really
appreciate you fast response. Below is the code
Private Sub Command149_Click()
On Error GoTo Err_Command149_Click
Dim msg, style, Mycheck, checkcriteria, response,
Mystring, style1, checkcriteria1, Mycheck1, optValue
Dim varEnteredvalue As Variant
msg = "Please enter Approver's Name!"
style = vbYesNo + vbExclamation
Msg1 = " Did you enter Approvers name!"
style = vbYesNo + vbExclamation
If optValue = 1 Then
If IsNull(Combo30) Then
MsgBox msg, style
Else
' no message
End If
ElseIf optValue = 2 Then
If IsNull(Combo30) Then
' no message
' Else
' no information given for this
End If
'Else ' opt neither 1 nor 2
'MsgBox "System error in opt value"
End If
Exit_Command149_Click:
Exit Sub
Err_Command149_Click:
MsgBox Err.Description
Resume Exit_Command149_Click
End Sub
I appreciate you help.
Thank you.