View Full Version : Report doesn't have focus on load


darkmastergyz
08-08-2007, 07:54 AM
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
08-08-2007, 08:45 AM
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
08-08-2007, 09:36 AM
How can I hide the form? Is there any vba code for that? Thanks.

pbaldy
08-08-2007, 09:40 AM
Set its visible property to false.