Re: [U2] Old tricks for old dogs

2011-11-12 Thread Kevin King
Or how about:

TOTAL.PAGES = INT(KEY.COUNT / 5) + (MOD(KEY.CNT,5) NE 0)

Yours is more brief but that -1 threw me (mentally) for a moment.

-Kevin
http://www.PrecisOnline.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Old tricks for old dogs

2011-11-09 Thread Wjhonson

TOTAL.PAGES = KEY.COUNT/5 ; IF INT(TOTAL.PAGES)#TOTAL.PAGES THEN TOTAL.PAGES = 
INT(TOTAL.PAGES)+1

is equivalent to

TOTAL.PAGES = INT((KEY.COUNT-1)/5) + 1

Or how to page and avoid a final blank page logic
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users