H
Howard
I need the code to set focus on a field in a subform. My
main form is called Customer, the subform is called
Components, and the field I want to put the focus on is
called Date. What is happening in my application is I'm
trying to use a pop-up calendar control. I have the
control set as invisible. Using the events in the form,
when I enter the field, I make the calendar control
visible, and when I exit the field, I make the calendar
control invisible. The problem is after I make the
calendar control invisible, the focus goes back to the
first field in the form instead of the next field in the
tab order. Therefore, I want to set the focus to the
proper field. Thanks!
-Howard
main form is called Customer, the subform is called
Components, and the field I want to put the focus on is
called Date. What is happening in my application is I'm
trying to use a pop-up calendar control. I have the
control set as invisible. Using the events in the form,
when I enter the field, I make the calendar control
visible, and when I exit the field, I make the calendar
control invisible. The problem is after I make the
calendar control invisible, the focus goes back to the
first field in the form instead of the next field in the
tab order. Therefore, I want to set the focus to the
proper field. Thanks!
-Howard