View Single Post
Old 06-01-2012, 07:23 PM   PM User | #9
theborg72
New Coder

 
Join Date: May 2010
Location: Sweden
Posts: 15
Thanks: 1
Thanked 0 Times in 0 Posts
theborg72 is an unknown quantity at this point
Quote:
Originally Posted by WolfShade View Post
The code will place a textarea after every 5 records (per your modulus equation). If you are returning 10 records, there will be 5 records, then a textarea, then five records, then a textarea. If you are returning only 9 records, only one textarea will be placed. If you do not want more than one textarea, then you can modify the conditional to include "AND testrec.Currentrow eq 5" so that a textarea will ONLY be placed after the fifth record, and no more.
it works perfectly on the 10 first. but then when you take the next 10 the script dont work.
theborg72 is offline   Reply With Quote