G
Guest
Hi
I have a sub-form within the main form. The sub-form has a combo-box for Activity list and a text box for time input and this allows users to enter multiple rows of Activity/Time
Both the Activity and Time inputs are mandatory
I tried using the BeforeUpdate event to trap user input and then do a setfocus on the combo box and this resulted in this error "run-time error 2108". I read about that the setfocus() will not work with a BeforeUpdate event
how do I validate users have entered both the Activity and the Time before they are allowed to enter the next set of Activity/Time ?
Appreciate your helping..
I have a sub-form within the main form. The sub-form has a combo-box for Activity list and a text box for time input and this allows users to enter multiple rows of Activity/Time
Both the Activity and Time inputs are mandatory
I tried using the BeforeUpdate event to trap user input and then do a setfocus on the combo box and this resulted in this error "run-time error 2108". I read about that the setfocus() will not work with a BeforeUpdate event
how do I validate users have entered both the Activity and the Time before they are allowed to enter the next set of Activity/Time ?
Appreciate your helping..