Well.. Here is a section of the code that I am using..
First, I create one recordset for the comparison.
'Get the duration Hours from the srcboduration table for populating the durationHour combo box.
drQryH = "select cbovalue, cboname from srcboduration where cboType = 'H'"
SET rsDurationHour = CreateObject("adodb.recordset"

rsDurationHour.Open drQryH, SDBConnect, adOpenForwardOnly
Now I will get the second recordset.. This one will only return one record.
'Now get the hours and minutes for the record that needs updating.
drHourMinutes = "select cast(sum(durprojectDuration) / 60 as varchar(10)) as Hours, cast(sum(durprojectDuration) % 60 as varchar(10)) as Minutes from srduration where durID ='" & strDurID & "'"
SET rsHours = CreateObject("adodb.recordset"

rsHours.Open drHourMinutes, SDBConnect, adOpenForwardOnly
strHours = CInt(rsHours("hours"

)
Now I will compare the values from the first recordset with the second recordset and if they match, I will change the value of the combo box to selected.
<select name="cboDurationHourAdd">
<option value="0">Hour</option>
<% Do Until rsDurationHour.EOF %>
<% IF strHours = CInt(rsDurationHour("cboValue"

) THEN%>
<option value="<%=rsDurationHour("cboValue"

%>" selected><%=rsDurationHour("cboName"

%></option>
<%ELSE%>
<option value="<%=rsDurationHour("cboValue"

%>"><%=rsDurationHour("cboName"

%></option>
<%END IF%>
<%rsDurationHour.MoveNext %>
<% LOOP %>
</select>
<% rsDurationHour.Close %>
For some reason, the combo is not working properly.. No values are selected when I run this.. I know there are values that match but I'm not sure why it's not working.