On Fri, 27 Aug 2010 22:16:20 +0100, Linda Fox <(E-Mail Removed)> wrote:
>I wonder if someone can help with a question from a beginner?
Just bear in mind that the *storage* of dates, the *input* of dates, and the
*format* of dates are three almost independent features.
Date/Time values are not stored formatted. A Date is actually stored as a
number, a count of days and fractions of a day since midnight, December 30,
1899.
You can display that value using any format you please - e.g.in order to see
"Thursday 26 August 2010" you could display the date/time field in a textbox
with a Format property of
"dddd dd mmmm yyyy hh:nn am/pm"
There are lots of other options for formatting, dig down in the Help for
"custom date formats".
There's nothing builtin in Access to autofill the month; typing (e.g.) 8/26
will autocomplete the year. Input Masks will probably hinder more than help
here; all they do is restrict what keystrokes you're allowed to type, and they
often require more typing not less. You could try a mask of
00/00 00:00
to let you type 08261500 to get "Thursday 26 August 2010 03:00 pm" in the
display.
It wouldn't be hard to write some VBA to replicate the functionality you
describe, but it's not clear how you want to combine that with entering a
time: should typing 2615 automagically enter 3:00pm on 8/26?
--
John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/For...-US/accessdev/
http://social.answers.microsoft.com/.../en-US/addbuz/
and see also
http://www.utteraccess.com