Can you post your REPORT command?
>Thanks for that suggestion, but I'm afraid it doesn't apply. My report is being generated in a program, not a form so there's no porbelm with losing focus.
>
>Thanks anyway,
>
>>See if
Forms with Grids and printing reports FAQ #15515 applies.
>>
>>>I have been getting problems with printing reports from Print Preview. The reports launch correctly in Preview with all the correct data, but when the Print button is clicked the report comes out with the data missing. The reports have 1 page each. The reports use data from cursors.
>>>
>>>If I change the code not to preview and send to the printer directly it comes out fine.
>>>
>>>In the previous version this always worked fine. With this version we have gone to an SQL backend using remote views instead of using FoxPro tables. Very little of the code has changed.
>>>
--sb--