Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need to print memory array not data from database
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01579970
Message ID:
01579972
Vues:
78
J'aime (1)
>Hopefully a simple question.
>
>I have an array in memory. I've laid out a report format to print the data on one page. There is no table opened.
>I just want to print the array elements. I've tried formatting the detail portion of the report format. When I run the
>report prints nothing. I've tried formatting the report in the header portion of the report format. Still nothing.

VFP reports have scopes i.e. they expect to process a table.

One workaround would be to create a dummy cursor with a single row, and set that as the default work area when you REPORT FORM ... Your report does not have to reference the cursor at all.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform