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