Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing only 7 record in details
Message
From
22/12/2003 08:15:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
22/12/2003 07:52:06
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00861223
Message ID:
00861235
Views:
15
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform