Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jamie Osborn
  Where is Jamie Osborn?
 Melbourne
 Australia
 Jamie Osborn
 To: BZ Dusk
  
 
 
 BZ Dusk
 Tags
Subject: RE: 5 records per page on my report - help!
Thread ID: 16001 Message ID: 16003 # Views: 0 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Sunday, October 06, 2002 2:19:59 PM         
   


> Hi!
>
> How will i be able to have 5 records per page on my report?
>
> Thanks and more power!
>
> BZ

You could get your output cursor together in order and then put that into a writeable cursor with an extra column eg. nGroup. Then SCAN through that cursor incrementing the value of nGroup by 1 every 5 records. In the report, group on nGroup as the main group and start a new page for that group.
I hope that I have made some sort of sense !
eg. Output cursor ends up as :
nGroup Field1 Field2 ............
1 Dog Fleas
1 Cat Whiskers
1 Fish Scales
1 Mouse Ears
1 Iguana Tongue
2 Lemur Tail
etc. etc.

Cheers,
Jamie
jamie.osborn@foxite.com

ENTIRE THREAD

5 records per page on my report - help! Posted by BZ Dusk @ 10/6/2002 2:09:11 PM
RE: 5 records per page on my report - help! Posted by Jamie Osborn @ 10/6/2002 2:19:59 PM