geno
08-03-2000, 07:29 PM
I have set a cmd button to look up an item count from a query. After closing the query I would like to set the focus back to the control for data entry. Any help will be appreciated.
Thanks
Thanks
|
View Full Version : Set focus back to another control geno 08-03-2000, 07:29 PM I have set a cmd button to look up an item count from a query. After closing the query I would like to set the focus back to the control for data entry. Any help will be appreciated. Thanks R. Hicks 08-04-2000, 09:16 AM Use the following at command before you exit your cmdbutton's code: Me![YourControlName].SetFocus "YourControlName" needs to be the actual name of the control you wish to receive focus. HTH RDH |