Hi, Tom.
Yup. That's why I asked you what the garbage string looked like, because
that's one of the things I suspected.
You can use a different key combination that does not use the <ALT> key for
the date insertion, or you can get rid of the other shortcuts that are
interfering, or you can use the form timer to delay the insert of the date
string until a time after the <ALT> key is no longer being pressed.
This last choice is problematic and will likely cause occasional annoyances
when stepping through code in the VB Editor if the form is open at the same
time, or when closing the application, or when you can least afford to have
those SendKeys activated.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.