Author: Charlie Coleman
Posted: 2006-03-13 at 16:33:01
At 12:45 PM 3/13/2006 -0800, Chester Friesen wrote:
>I am having a problem with a report, which is actually an invoice. Records
>are marked for the report, in the preview everything shows right, but when
>printed, it only prints the first record, also the total box in the
>summary band is blank. I have tried it with three separate printers, all
>the same problem. Any ideas?
>--
There was a 'bug' in VFP pertaining to a 'grids' recordsource. I don't know
if it's been fixed.
If you have a grid on the form when you call a REPORT FORM, and if the grid
currently has focus, the report will maybe print the 1st page correctly,
but then error out because the workarea gets reset to the grids recordsource.
The above may not be entirely accurate. But if you've got a grid that has
focus when you call the report, try setting focus to a button on the form
before the REPORT FORM call.
-Charlie