L
Lee
Sorry to keep bothering you guys but I can't see why the
following doesn't work.
Private Sub FeesFrame_BeforeUpdate(Cancel As Integer)
Dim strMsg As String
If [DateInvoiced]<>"" And [FeesFrame] <6 Then
strMsg = MsgBox("blah, blah...., vbOKCancel,"Warning")
If strMsg = vbCancel Then
Cancel = True
End If
End If
End Sub
I would have expected that when the user clicks on Cancel,
the attempted change would be cancelled but it isn't - why
is this, do you know?
Many thanks as always,
Lee
following doesn't work.
Private Sub FeesFrame_BeforeUpdate(Cancel As Integer)
Dim strMsg As String
If [DateInvoiced]<>"" And [FeesFrame] <6 Then
strMsg = MsgBox("blah, blah...., vbOKCancel,"Warning")
If strMsg = vbCancel Then
Cancel = True
End If
End If
End Sub
I would have expected that when the user clicks on Cancel,
the attempted change would be cancelled but it isn't - why
is this, do you know?
Many thanks as always,
Lee