Thanks Nadia, just what I thought
Enmanuel
>>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.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain