Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Group and Page break
Message
From
29/01/1999 14:37:14
 
 
To
29/01/1999 14:32:44
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00181911
Message ID:
00181955
Views:
13
>>>>Hi, What's the best way to have a line or group break of every ten records and have a page break of every fifty records. Thanks.
>>>
>>>You may group on MOD(RECNO(),10) and/or MOD(RECNO(),50)
>>
>>Sorry, it should be INT(RECNO()/10), INT(RECNO()/50)
>
>Thanks, and I wonder how come the MOD(RECNO(),10) and/or MOD(RECNO(),50)
>doesn't work. Its almost the same function when using the
> INT(RECNO()/10), INT(RECNO()/50)

No, actually they are doing different parts of the same job (this is why I mixed them up:). INT returns integer part of division and MOD returns remainder.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform