Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Report form can't find cursor
Message
De
24/10/2011 14:14:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Report form can't find cursor
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01527205
Message ID:
01527205
Vues:
107
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform