>>>BTW, one funny thing here - on my form I only have 3 grids, nothing more. Now, in order to avoid problem with Preview and grids documented in my FAQ should I put an invisible button on the form to set focus to? But if it's invisible, would I be able to set focus to it?
>>
>>Most likely not, but you can make it visible right before preview, set focus on it and make invisible after preview.
>
>This doesn't work, for some reason. The idea of moving the button outside the visible portion of the screen doesn't work either. Perhaps I really need to have the button visible and on the form.
It has to work. Been doing this for ages.
Put a textbox (say TextBoxDummy) in your form's baseclass with left = -1000 or so. Set its TABSTOP to FALSE
Add a method to the form's class, eg TakeFocusOff(). TakeFocusOff() will just do: =m.thisform.TextBoxDummy.SetFocus()
printing then becomes
= m.thisform.TakeFocusOff()
select cursor
report form ....
=m.thisform.SomeOtherControl.SetFocus()
Gregory