A family of Microsoft relational database management systems designed for ease of use.
Hi Lily,
That is by design. When doing things with VBA no events ever fire. 99% of the time this is a good thing; the other times you simply call the event procedure yourself:
Forms.orderentry.OrderDraperyLineItems.Form.Controls("TopDescCode") = ctrl
Forms.orderentry.OrderDraperyLineItems.Form.topcatcodee.SetFocus
Forms.orderentry.OrderDraperyLineItems.Form.topcatcodee_GotFocus
You may have to make it a Public Sub:
Public Sub TopCatCodee_GotFocus()
Me.txtFullness = 20 * Me.IntTopSzeCode
End Sub