158 : <cfset EndRow = StartRow + OnEachPage - 1>
159 : <!--- If the end row is greater than the recordcount, determine how many records are left. --->
160 : <cfif EndRow GTE rsProducts.RecordCount>
161 : <cfset EndRow = rsProducts.RecordCount>
162 : <cfset Next = false>
|