Set focus problem
- From: "RipperT" <rippertsmith<nospam>@comcast.net>
- Date: Mon, 4 Apr 2005 21:53:17 -0400
Hello,
I have a combo box that users can use to look up a field value in the
database. If the value is not found, a message box appears saying as much
with an OK button. When the user clicks OK, either with the mouse or the
Enter key, I would like the focus on the same combo box with the previously
typed value highlighted, ready for the next entry. I am using:
Forms!myForm!Combo206.SetFocus
which sets the focus, but the text is not highlighted; the cursor is at the
beginning of the field. Is there a way to get the field highlighted?
Many thanx,
Rip
--
Ripper T Smith
rippertsmith<nospam>@comcast.net
.
- Follow-Ups:
- RE: Set focus problem
- From: MWG
- RE: Set focus problem
- Prev by Date: Re: button generates file not found vba6.dll error
- Next by Date: Re: Help with code
- Previous by thread: Too many forms, I Think?
- Next by thread: RE: Set focus problem
- Index(es):