>>Could it be related to
Forms with Grids and printing reports FAQ #15515 ?
>
>
>Pretty terrific you guys!
>
>Both forms have grids. The first form has a grid but you get the invoice to preview by clicking on a command button. Focus should be on the command button.
>
>The 2nd form previews the report when the user double-clicks on an item in a selection grid.
>
>Sounds like this is a VFP "feature" and I must just live with my work around.
>
>Thanks.
>
>
>Tim
If you can not move focus out of the grid, you may try to create a separate DS before calling your report, e.g. create an object based on session class and have your report generation to be a method of this class. This way you separate form's DS from report's DS and would not have a problem.
If it's not broken, fix it until it is.
My Blog