Howdy
I have a form and a report open at the same time. I need the report to have focus when both objects are opened and, if a button is clicked on the form, it immediately passes the focus back to the report.
I think I should be OK with where to put the command to achieve this. The part i'm struggling with is what the command should be. I've tried
but this does nothing, no error but the form keeps focus ![[sad] [sad] [sad]](/data/assets/smilies/sad.gif)
Has anyone got any ideas how I can achive this ?
Thanks in advance
TSSTechie
May The Force Be With You
![[yoda] [yoda] [yoda]](/data/assets/smilies/yoda.gif)
I have a form and a report open at the same time. I need the report to have focus when both objects are opened and, if a button is clicked on the form, it immediately passes the focus back to the report.
I think I should be OK with where to put the command to achieve this. The part i'm struggling with is what the command should be. I've tried
Code:
Reports!Report1.SetFocus
![[sad] [sad] [sad]](/data/assets/smilies/sad.gif)
Has anyone got any ideas how I can achive this ?
Thanks in advance
TSSTechie
![[lightsaber] [lightsaber] [lightsaber]](/data/assets/smilies/lightsaber.gif)
![[trooper] [trooper] [trooper]](/data/assets/smilies/trooper.gif)
![[yoda] [yoda] [yoda]](/data/assets/smilies/yoda.gif)