>Thanks everybody!!! The problem was just that. I needed to move the focus to another object before running the report. I thought that when you run the click event of an object programmatically that object got the focus but it seems that's not the case. Am I right?
>
>Enmanuel
If you run click event of a button from another control, the button doesn't receive focus.
If it's not broken, fix it until it is.
My Blog