I have a form on which text is entered into a text box, which drives various subforms and queries on the form. One of the related forms (not a subform, but which pops up on a command button click) allows selection of a similar item. Having clicked on that, I copy that item text to my starting text box and close the related form, ready to start over on my main form with the new item.
That works fine. My problem is that if you press <Enter> on the text box, nothing happens. You have to delete part of the text, re-enter it, then press <Enter> to make it work.
How can I make it know that there is a new entry in the text box, when <Enter> is pressed? Even better would be to not require a key press at all, but just process the new entry as though <Enter> was pressed.
Robert
That works fine. My problem is that if you press <Enter> on the text box, nothing happens. You have to delete part of the text, re-enter it, then press <Enter> to make it work.
How can I make it know that there is a new entry in the text box, when <Enter> is pressed? Even better would be to not require a key press at all, but just process the new entry as though <Enter> was pressed.
Robert