Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print on BACK of paper
Message
De
20/08/2001 08:00:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
20/08/2001 07:38:04
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00545590
Message ID:
00546118
Vues:
21
>>
>>iif(mod(_pageno,2)=1,printer formfeed character,'')
>>
IMO, the "%" operator is slightly simpler, and more readable, than the (otherwise equivalent) "mod()" function. Both give you the remainder of a division.

Change:

iif(mod(_pageno,2) = 1, ...

to:

iif(_pageno % 2 = 1, ...
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