G
Gavin
Hi i have a form that contains two subforms. I have a
macro attached to one field on subform1 which if a
particular option is chosen i want to go to a new record
in subform2.
I have set an if statement, this all works fine, my
trouble is when trying to get the focus out of one subform
and into another. I tried simply GoToControl in the macro
and naming subform2, but it says that the form is not
open! i then tried setting the focus on an object on the
main form, and then setting the focus on subform2 but this
still didnt work..
Hope this makes sense. Any ideas would be much
appreciated. Thanks
Gavin
macro attached to one field on subform1 which if a
particular option is chosen i want to go to a new record
in subform2.
I have set an if statement, this all works fine, my
trouble is when trying to get the focus out of one subform
and into another. I tried simply GoToControl in the macro
and naming subform2, but it says that the form is not
open! i then tried setting the focus on an object on the
main form, and then setting the focus on subform2 but this
still didnt work..
Hope this makes sense. Any ideas would be much
appreciated. Thanks
Gavin