Weekend message

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

Guest

I have a couple of Date/Time fields in different forms. i have a code in most
of the fields that restricts entering a weekend or holiday date. i will like
to use one code and apply it to all the date fileds in the database. please
help
 
If I understand your request correctly, just put your "code" in a standard
module and call it from the BeforeUpdate event of each control. You will
want the code to be a Public Function that returns a boolean value indicating
validation. Post your code if you would like any suggestions on changes.
 
Back
Top