Hi all,
I haven't found in the threads yet how to do this exactly. Using Access 2003, if you enter text in a text field, then loose focus by doing some other code to say, display some records in a list box, then come back to the original text field, how do you get it to select all the text that's already in the text field?
Most threads just say "check out SelText". Well, I've tried multiple combinations of all the Sel properties. And multple combinations of placing it in gotfocus, on enter, before update, etc.
What's the definitive code?
Thanks.
I want to enter text in a text field, do some other code to display records that match the text field, then go back to the text field and highlight all the text so you can see what you just entered, but so when you start typing in that field it erases what was ther
I haven't found in the threads yet how to do this exactly. Using Access 2003, if you enter text in a text field, then loose focus by doing some other code to say, display some records in a list box, then come back to the original text field, how do you get it to select all the text that's already in the text field?
Most threads just say "check out SelText". Well, I've tried multiple combinations of all the Sel properties. And multple combinations of placing it in gotfocus, on enter, before update, etc.
What's the definitive code?
Thanks.
I want to enter text in a text field, do some other code to display records that match the text field, then go back to the text field and highlight all the text so you can see what you just entered, but so when you start typing in that field it erases what was ther