would anyone know how I can convert this text to asp?
I've been trying to find information on RecordCounts however they seem to only be used for maps in the examples I have found.
<cfparam name="PageNum_Recordset4" default="1">
<cfparam name="recordset4.recordcount" default="1">
<cfset MaxRows_Recordset4=20>
<cfset MaxRows_Recordset4=15>
<cfset StartRow_Recordset4=Min((PageNum_Recordset4-1)*MaxRows_Recordset4+1,Max(Recordset4.RecordCount,1))>
<cfset EndRow_Recordset4=Min(StartRow_Recordset4+MaxRows_Recordset4-1,Recordset4.RecordCount)>
<cfset TotalPages_Recordset4=Ceiling(Recordset4.RecordCount/MaxRows_Recordset4)>
<p><cfif Recordset4.RecordCount GT 0 >
<table border="1" align="left">
<tr bgcolor="#33CC66">
<td width="100"><center><font size="4" face="Arial, Helvetica, sans-serif">Year</font></center></td>
<td width="146"><center><font size="4" face="Arial, Helvetica, sans-serif">Make</font></center></td>
<td width="153"><center><font size="4" face="Arial, Helvetica, sans-serif">Model</font></center></td>
<td width="179"><center><font size="4" face="Arial, Helvetica, sans-serif">Description</font></center></td>
</tr>
<cfoutput query="Recordset4" startrow="#Startrow_Recordset4#" maxrows="#Maxrows_Recordset4#">
<tr bgcolor="##FFFFCC">
<td><font size="3" face="Arial, Helvetica, sans-serif">#Form.subyear# </font></td>
<td><font size="3" face="Arial, Helvetica, sans-serif">#Form.Make# </font></td>
<td><font size="3" face="Arial, Helvetica, sans-serif">#Form.Model# </font></td>
<td><font size="3" face="Arial, Helvetica, sans-serif">
#Recordset4.AppDesc#</font></td>
</cfoutput>
</table>
</cfif>