Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Group and Page break
Message
De
29/01/1999 14:37:14
 
 
À
29/01/1999 14:32:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00181911
Message ID:
00181955
Vues:
12
>>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform