Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report form can't find cursor
Message
From
24/10/2011 14:19:23
 
 
To
24/10/2011 14:14:07
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:
01527210
Views:
61
Do you have a grid on the form? If so, set the focus to any other object on the form before you run the repoort.

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

Click here to load this message in the networking platform