|
|
|
| |
| CLASSIFIEDS |
 |
<%
Dim rs2
dim Y
Y = 0
On error resume next
set rs2 = server.CreateObject("ADODB.Recordset")
rs2.CursorLocation = 3
%>
<%
rs2.Open "SELECT qryInternetClassifieds.Category, qryInternetClassifieds.CategoryID, Count(qryInternetClassifieds.Category) AS CountOfCategory FROM qryInternetClassifieds GROUP BY qryInternetClassifieds.Category, qryInternetClassifieds.CategoryID ORDER BY qryInternetClassifieds.Category" ,cn, 2 'adOpenDynamic ', adLockOptimistic
rs2.MoveLast
rs2.MoveFirst
Do until rs2.eof
Response.write "| "
Response.write "" & rs2("Category") & " (" & rs2("CountOfCategory") & ")" & " | "%>
 |
<% rs2.MoveNext
Y = Y + 1
loop
'cn.close
'set cn = nothing
%>
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| |
 |
| [Back
to top] |
|
|
|
|
 |
|
|
|
| Fill in the form below
to add your business - Please keep the description to no more than 100 words |
|
|
|
|
|
|
|