Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gathering invoices
Message
 
 
À
29/07/1998 15:13:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00122281
Message ID:
00122469
Vues:
16
Ok, I see what you're saying. Thanks!

-Michelle



>You do not have to set up an environment in the report; leave it without, and open the tables you need before doing REPORT FORM XXX. Most of my reports have no environment; I create it just before printing.
>
>When you design the report, it´s helpful to CREATE the cursors previously (by hand) just to be able to drag and drop fields to the report. I think you want to write something like:
>
>SELECT secondarycursor
>INDEX ON ... TAG whatever
>SELECT primarycursor
>SET ORDER TO ...
>SET RELATION TO ... INTO secondarycursor
>SET SKIP TO secondarycursor
>REPORT FORM ... TO PRINT
>
>In the report you can include expressions as PRIMARYCURSOR.DATA or SECONDARYCURSOR.TOTAL. You would want to include a grouping on the PRIMARYCURSOR.KEY, and the detail would (mainly) print fields from SECONDARYCURSOR.
>
>HTH!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform