Sorry I still think there is a mistake in there (I may be crazy). Off the top of my head I can't tell which (couple tooo many beeers maybe) but I think your code will catch it if there are either 1 extra row or 2 extra rows, not both conditions.
Maybe something like this: <cfif GetCat.CurrentRow MOD 3 IS 0> do something (make new row) <cfelseif GetCat.CurrentRow EQ GetCat.RecordCount> do something else (ok we are near the end of the table but how many extra empty cells do we need 1 or 2?) <cfelseif GetCat.CurrentRow EQ GetCat.RecordCount (+ or -) 1> do something here (ok we are near the end of the table but how many extra empty cells do we need 1 or 2?) <cfelse> do something here (this is the default - just draw a cell) </cfif> I'm really not explaining this well but my gut feel tells me something like the above is required. At this time in on a Friday my math brain is not really switched on - sorry. Cheers Mark ______________ Mark Stanton Web Production Gruden Pty Ltd Tel: 9956 6388 Mob: 0410 458 201 Fax: 9956 8433 www.gruden.com --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
