Report doesn't have focus on load (1 Viewer)

darkmastergyz

Registered User.
Local time
Today, 15:11
Joined
May 7, 2006
Messages
85
When I open my report ( I open in in pop-up mode on, and modal on), it doesn't have focus. Are there any properties, or any code I can use inorder to give focus to the report on load? Thanks.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 15:11
Joined
Aug 30, 2003
Messages
36,133
Do you have a form previously opened in Dialog mode? If so, I think it will keep focus. You either have to close or hide it.
 

darkmastergyz

Registered User.
Local time
Today, 15:11
Joined
May 7, 2006
Messages
85
How can I hide the form? Is there any vba code for that? Thanks.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 15:11
Joined
Aug 30, 2003
Messages
36,133
Set its visible property to false.
 

Users who are viewing this thread

Top Bottom