Can I set Access to Autofill Weekdays ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ryno Bower

    #1

    Can I set Access to Autofill Weekdays ?

    Hello
    Isit possible that If I enter data that one of the fields enters a weekday and if i enter the new next record that it would choose the next weekday?

    E.g.

    1. Monday | Post Office
    2. Tuesday| Police Station
    3. Wenesday...

    From Monay to Friday, and repeat the who thing over again after each Friday.

    Is this a challenge?
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32669

    #2
    It's possible to do in a form.

    In the AfterInsert() event procedure determine which weekday is required for the next record and set the .DefaultValue property of the control which manages that field to that.

    Comment

    • malcolmk
      New Member
      • Sep 2010
      • 79

      #3
      Take a look here http://bytes.com/topic/access/answers/901669-day-week Simply place a popup calendar control yo select date for each entry or auto increment date and get dayname.

      Comment

      Working...