Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement