disable dataentry if date < today

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form in which I would like to disable data entry into a record if
the record date is < today.

Thanks
 
Enter following code into your form's 'On Current' event. Adjust
accordingly.

If MyDate < Date Then
AllowEdits = False
Else
AllowEdits = True
End If
 
thanks

Dragon said:
Enter following code into your form's 'On Current' event. Adjust
accordingly.

If MyDate < Date Then
AllowEdits = False
Else
AllowEdits = True
End If
 
Back
Top