G
Guest
How can I make a Validation Rule That limits the user from inputing a date on
the Termination Field that is on or Before the Starting Date Field?
The code Bellow just changes both Date Fields to "12:00:00 am" Hour Format???
Private Sub Termination_Date_AfterUpdate()
Dim intSDate As Date
Dim intTDate As Date
Starting_Date = intSDate
Termination_Date = intTDate
If intSDate < inTDate Then
MsgBox "The Termination Date may not be on or before the Starting
Date"
End If
If intSDate > inTDate Then
btnTermination.Enabled = True
End If
End Sub
the Termination Field that is on or Before the Starting Date Field?
The code Bellow just changes both Date Fields to "12:00:00 am" Hour Format???
Private Sub Termination_Date_AfterUpdate()
Dim intSDate As Date
Dim intTDate As Date
Starting_Date = intSDate
Termination_Date = intTDate
If intSDate < inTDate Then
MsgBox "The Termination Date may not be on or before the Starting
Date"
End If
If intSDate > inTDate Then
btnTermination.Enabled = True
End If
End Sub