On the Click event of the textbox, try code like this...
With Me.MyDateControl
.SelStart = 0
.SelLength = Len(.Text)
End With
--
Steve Schapel, Microsoft Access MVP
"Brian" <Br...@discussions.microsoft.com> wrote in message
news:E9C34F21-FC93-4C85...@microsoft.com...
I may just have to use the DblClick event, since it is an event that can be
cancelled, and I can use it to select the entire field rather than its
default behavior of selecting the portion of the time/date between the
punctuation marks (colon or slash).
I'm pretty sure you won't have to explicitly code this for the Dbl Click
event, I think you'll find this is the default behaviour for Dbl Click
anyway.
I understand that DblClick is a cancellable event, however, so it can be
cancelled and code inserted to modify its default. I have not yet tried this,
but that is the next step.