Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print on BACK of paper
Message
From
20/08/2001 08:00:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
20/08/2001 07:38:04
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00545590
Message ID:
00546118
Views:
31
>>
>>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform