How to set the active window?

melody.anne

Registered User.
Local time
Today, 00:07
Joined
Feb 27, 2015
Messages
43
I have created a form that will print the active report. I have managed to make it look for the active report, but it won't find it because there's no report active, even though I have the report open. How do I make my report be active when I open it? (In a way that whichever report I open will become the active window so that my form will e-mail the report that is currently open)
 
Maybe throw in a set focus to a control on the report when it opens?
 
Maybe throw in a set focus to a control on the report when it opens?
Can I do this on the Load part of the report?
Won't my email form take over the focus?

Thanks!!

Edit: Scratch that, if I can, I'd like to make it set the focus when I click the email button.
Also, I have no idea how to set focus to something (noob here!)
 
Last edited:

Users who are viewing this thread

Back
Top Bottom