Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing from an array
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00674170
Message ID:
00674406
Vues:
22
The Report Writer MUST have a table or cursor to drive the report. You can copy the array to a cursor, as Sergey suggested .. or .. if the original data is already in a table you can drive the report directly from the table. You can either set a filter on the table or use any applicable combination of the scope clauses with the REPORT command ...
*-- Using a filter
SELECT MyTable
SET FILTER TO <somecondition>
REPORT FORM MyReport WHILE TO PRINTER PROMPT PREVIEW

*-- Using WHILE
SELECT MyTable
SEEK <somevalue>
REPORT FORM MyReport WHILE <key = somevalue> TO PRINTER PROMPT PREVIEW

*-- Using FOR
SELECT MyTable
GOTO TOP
REPORT FORM MyReport FOR <somecondition> TO PRINTER PROMPT PREVIEW

*-- Using both
SELECT MyTable
SEEK <somevalue>
REPORT FORM MyReport WHILE <key = somevalue> FOR <someothercondition> TO PRINTER PROMPT PREVIEW
Cathy

>I have an array that i want to send to a report. How else can i speed up my print process other than by a filter.
>
>Is there a way to print the array to a report, Someone told me NO this isn't possible.
>
>thanks John Faulkner
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform