I've created a ActiveX control with 3 Textboxes used by a DataRepeater control. When the user clicks Enter on the 3rd Textbox I want to add a new record to the recordset the DataRepeater control is bound to. So, how can I determine which textbox has the focus and then how can I get the ActiveX control to communicate back to the program the DataRepeater control is used in to add a new record?
Thanks