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...