<%
'------- select gallery pictures that have post cards
strSQL = "Select * from gallery Where len(smallcardname) > 0 Order By smallCardName Desc"
connection.open dbConn
recordSet.open strSQL, connection, 1, 2
totalRecs = recordSet.recordCount
'------ loop through records
If Not recordSet.EOF Then
While Not recordSet.EOF
%>
<% Wend %>