• Today’s date

    • This topic has 5 replies, 4 voices, and was last updated 24 years ago.
    Author
    Topic
    #353070

    If Access is so smart, why won’t the CTRL-; quick key work for inputting today’s date in a form? It only works when the date has 2 digits in the month and in the day, otherwise the numbers get stuffed in the wrong slot, and you get NO date! Excuse me if this has already been covered…. Russ

    Viewing 2 reply threads
    Author
    Replies
    • #515402

      Hello Russ:
      Actually, I believe the Access Shortcut Key Ctrl; inserts the date in the format designated in Regional Settings Short Date. Any date field in Access will convert it to its default, but — if you have an input mask that conflicts with the the Regional Setting, you will have a problem. There are a number of ways to programatically solve the problem, for example where today’s date is the common entry to a field, you could set it as the default for that field.

      • #518162

        Thanks for the info about Regional settings. Sometimes I forget to look elsewhere for the answer! That helps.

    • #515444

      How about a button next to the field called Today (surprise surprise). OnClick and you insert todays date into the field. Quick and self-explanatory.

      • #518159

        Good answer! That seems to work better than the quick key. Thanks.

    • #518190

      You could put the =date() as a default value for the date field. The current date will always appear and if you need to change it, just type over it.

      Deborah

    Viewing 2 reply threads
    Reply To: Today’s date

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: