T
Ted
when i try this in my a2k application the said message above arriveth:
Private Sub Frame1_BeforeUpdate(Cancel As Integer)
Dim lngRetVal As Long
ToggleColor
If Me.Dirty = True And Me.Frame1.OldValue <> 5 And Me.Frame1 = 5 And _
Me.SequenceNum Is Null Then
lngRetVal = MsgBox("You are attempting to code this Px as 'Off Study'.
Sequence Number is Required!" _
, vbOK, "Critical")
Select Case lngRetVal
Case vbOK
Me.Frame1.Value = Me.Frame1.OldValue
End Select
End If
End Sub
in more or less simple english, what i'm trying to do is to advise the user
that they should have entered a value in me.sequencenum when the above
conditions are met and to revert the options group.
can anybody tell me what i'm doing that's cause it to go awry?
-ted
Private Sub Frame1_BeforeUpdate(Cancel As Integer)
Dim lngRetVal As Long
ToggleColor
If Me.Dirty = True And Me.Frame1.OldValue <> 5 And Me.Frame1 = 5 And _
Me.SequenceNum Is Null Then
lngRetVal = MsgBox("You are attempting to code this Px as 'Off Study'.
Sequence Number is Required!" _
, vbOK, "Critical")
Select Case lngRetVal
Case vbOK
Me.Frame1.Value = Me.Frame1.OldValue
End Select
End If
End Sub
in more or less simple english, what i'm trying to do is to advise the user
that they should have entered a value in me.sequencenum when the above
conditions are met and to revert the options group.
can anybody tell me what i'm doing that's cause it to go awry?
-ted