General information
Category:
Forms & Form designer
Title:
Setfocus after 3 forms
I have a command button i a form.
This form is my fourth open form.
In the click events i have this code
thisform.text1.setfocus
After clicking this command button i recieve this errormessage:
Cannot call SetFocus from within a When, Valid, RangeHigh or RangeLow event (Error 2012)
1 - I have not used the setfocus method within a When, Valid, RangeHigh or RangeLow event
2 - When this form is the third form i dont recieve this error.
Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only