you're welcome
>It worked like magic. thank u so much.. you're the man
>
>>Are you printing from a form with a grid? If so, move focus of the grid before printing.
>>
>>>I'm sending a report to the printer.
>>>I'm using print2pdf.prg.
>>>
>>>If I print my report like this
>>> SELECT(m.pcReportCursor)
>>> report form (lcReport) &lcExtra to printer noconsole
>>>and the printer has been setup as a bullzip printer, a pdf file will get created.
>>>
>>>I open my form.
>>>I print my report.
>>>A pdf file gets created.
>>>
>>>If I do it again, it fails.
>>>When the report form line gets executed, I get variable not found.
>>>
>>>THE REPORT FORM CANT FIND THE CURSOR THE SECOND TIME AROUND.
>>>
>>>If I browse the cursor first, it works every time.
>>> SELECT(m.pcReportCursor)
>>> BROWSE norm
>>> report form (lcReport) &lcExtra to printer noconsole
>>>
>>>WHAT DOES THIS MEAN? WHAT IS THE BROWSE DOING THAT MAKES IT WORK? PLEASE HELP.
>>>TU. Deb
--sb--