Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report form can't find cursor
Message
From
25/10/2011 15:39:38
 
 
To
25/10/2011 15:33:20
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01527205
Message ID:
01527339
Views:
62
I suggested it first, so that makes me the man also?

>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform