<%
If strKeyword<>"" then
'-----------------------------------------------
'THIS NESTED QUERY DRAWS VERSION TABLE
'-----------------------------------------------
strQuery = "SELECT * FROM tblCactuShopVersions WHERE V_Name" & CStr(numLanguageID) & " LIKE '%" & sqlsafe(strKeyword) & "%' OR V_CodeNumber LIKE '%" & sqlsafe(strKeyword) & "%' ORDER BY V_ID"
Call ExecuteSQL(strQuery, numCursorType, objRecordSet)
%>
<%
do while not objRecordSet.EOF
numBackgroundCounter = numBackgroundCounter + 1
If numBackgroundCounter mod 2 = 0 then
strBGColour = "#EEEEEE"
else
strBGColour = "#DDDDDD"
end if
%>
<%
do while not objRecordSet.EOF
If numLastProductID <> objRecordSet("P_ID") then
numBackgroundCounter = numBackgroundCounter + 1
If numBackgroundCounter mod 2 = 0 then
strBGColour = "#EEEEEE"
else
strBGColour = "#DDDDDD"
end if
%>