franksirvent
Programmer
Hi
I have a form and subform.
The form has a field, after update it runs an sql and the subform displays the results (the subform is sheet format)
I then do the following to move the focus to the first field in the subform:
Me![Arriving Containers]![Container].SetFocus
However this is not working!
I am not getting an error, it just highlights the CONTAINER field, but the focus continues to be on the SEARCH field of the MAINFORM.
I´ve checked the code in case I moved it back to the SEARCH FIELD however I see no code which does this...
Can anyone help ?
thanks in advance
I have a form and subform.
The form has a field, after update it runs an sql and the subform displays the results (the subform is sheet format)
I then do the following to move the focus to the first field in the subform:
Me![Arriving Containers]![Container].SetFocus
However this is not working!
I am not getting an error, it just highlights the CONTAINER field, but the focus continues to be on the SEARCH field of the MAINFORM.
I´ve checked the code in case I moved it back to the SEARCH FIELD however I see no code which does this...
Can anyone help ?
thanks in advance