Date Validation

  • Thread starter Thread starter Paul
  • Start date Start date
P

Paul

How, with VC coding, would I create validation for a date
field where a past date would not be able to be entered.

I thought something like if Me![datefield] < Date()

Any help would be greatly appreciated.

Paul
 
How, with VC coding, would I create validation for a date
field where a past date would not be able to be entered.

I thought something like if Me![datefield] < Date()

Any help would be greatly appreciated.

Paul

In the Validation Rule Property of the textbox put...
">=Date()" (without the quotes).

In the Validation Text Property put something to inform the user
like...

"Dates must be today or later." (no quotes)

- Jim
 
Back
Top