Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble with calling report
Message
De
03/07/2000 15:52:09
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
03/07/2000 13:57:45
Brent Knight
Progressive Impressions International
Bloomington, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00387807
Message ID:
00387844
Vues:
21
Brent,

This behavior is typical of a report cursor which has no records or no records which match the filter criteria.

The tried and true way to make the report is to have nothing in the data environment. SELECT the data from the tables exactly as you would have it in your report. This is usually called a "report cursor."

In the report controls, refer to the data by MyField only, not MyTable.MyField.

Make sure the report cursor is the current work area when your report runs.

As an alternative, Barbara Paltiel likes to name all of her report cursors with the same name - something like "RptCursor." She initially saves the data to a dbf, and puts the dbf in the environment. This allows her to drag/drop controls onto the report. Then she removes the RptCursor from the environment and removes the dbf. When running the report the data is SELECTed ... INTO CURSOR RptCursor.



>I am calling a report from a form using:
>
>REPORT FORM newconfs\rptconf preview
>
>When report is called it opens for a split second and then closes. There is data for the report, because I am using a table in the data environment and there are records in the data.
>
>Can you help?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform