Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing only 7 record in details
Message
De
22/12/2003 08:15:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
22/12/2003 07:52:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00861223
Message ID:
00861235
Vues:
14
>I want to have a report with details only containing 7 numbers by a page.
>So, if I have about 100 records I want 7 records in a details by page.
>
>Is that possible to do it, how?

Select your data into a cursor, with the NOFILTER option. Thus, the first record is guaranteed to have recno() = 1, for the second record, recno() = 2, etc.

Now, in the report, you can make a data group on the expression int((recno() - 1) / 7).

Make each group start on a separate page.

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform