mortgsteps
Technical User
I have access 97 on win 95<br>My question is this:<br>I have a tab control with 5 tabs, each page has a subform.<br>When I open any tab the focus seems to be lost. I have tried to setfocus in the onenter event of the subform using the page control syntax from th page collection help.<br>None of these seem to work. When I put a msgbox on the gotfocus event of the first control on the subform, the box does not appear until I click out of the control and then click back in the control.<br>The setfocus code looks something like this:<br><br>set tbc = forms!sometab!tabctl1<br>set pge = tbc.pages(tbc.value)<br>pge.controls("some_form"
.controls![some_control].setfocus<br><br>the tab,subform, and control all have the correct values<br>Any ideas???