please help me with my code, any revisions is appreciated...
Private Sub Combo42_LostFoc us()
Dim Result
Dim Msg
Dim cr As String
cr = Chr$(13)
Result = Me.Combo42
If IsNull(Result) = False Then
End If
If IsNull(Result) = True Then
MsgBox "Pharma Record is Empty", vbOKCancel
If True = vbOK Then
Me.Combo42.SetF ocus ' i wanted the focus to get back on the combo if value is null
Else
End If
End If
End Sub
Private Sub Combo42_LostFoc us()
Dim Result
Dim Msg
Dim cr As String
cr = Chr$(13)
Result = Me.Combo42
If IsNull(Result) = False Then
End If
If IsNull(Result) = True Then
MsgBox "Pharma Record is Empty", vbOKCancel
If True = vbOK Then
Me.Combo42.SetF ocus ' i wanted the focus to get back on the combo if value is null
Else
End If
End If
End Sub
Comment