M
Mr. JYC
Hello,
I am using Access 2000 ADO to build form control validation.
I am running into a problem. I use an event lostfocus to process some form
control validation. When I try to move the focus back to the same form
control using setfocus, it doesn't do it. It seems I have to move the focus
to some other control then to the control that I originally want to move back
to.
So for example, I have a control text1. I use the lostfocus event to test
the contents of text1. If it is false I want to move it back to text1. It
seems that I have to move to text2 (an arbitrary control) (using setfocus)
before I can move it back to text1 (again using setfocus).
Could someone help me on this?
I am using Access 2000 ADO to build form control validation.
I am running into a problem. I use an event lostfocus to process some form
control validation. When I try to move the focus back to the same form
control using setfocus, it doesn't do it. It seems I have to move the focus
to some other control then to the control that I originally want to move back
to.
So for example, I have a control text1. I use the lostfocus event to test
the contents of text1. If it is false I want to move it back to text1. It
seems that I have to move to text2 (an arbitrary control) (using setfocus)
before I can move it back to text1 (again using setfocus).
Could someone help me on this?