A family of Microsoft relational database management systems designed for ease of use.
You cannot set the focus back to the control that is losing the focus.
You can try setting the focus to another control and then setting the focus back to this control.
Me.SomeControl.SetFocus
Me.Type_ID.SetFocus
Me.Type_ID.DropDown
If you wish to trap the user in the Type_ID control then use the above code. They will not be able to get out until they select a value or leave the field blank.
A better idea might be to use the control's validation rule.
Set the control's Validation rule to
<> 100000 and Is Not Null
Or if you want to allow nulls
<> 100000
Set the Validation text for the message to You must select a type code
John Spencer Access MVP 2002-2005, 2007-2010 The Hilltop Institute University of Maryland Baltimore County