I have two search criteria in VBA. strCriteria is a value I am grabbing from a Word document. strCriteria reads "lngCoIDNo = " & strHold, where strHold is the value brought in from Word. strCriteria2 reads "dtmYearQuota = '2002'". I can get the code to find the first occurrence in the table where lngCoIDNo equals the value in strHold. But once it finds that record I need to remain positioned on that record to then continue the search of field dtmYearQuota to find the year 2002. The primary key consists of lngCoIDNo and dtmYearQuota. So there are multiples of lngCoIDNo. What it is doing is moving back to record 1 when it starts strCriteria2 search.
I'd greatly appreciate any ideas or suggestions...
Debbie
I'd greatly appreciate any ideas or suggestions...
Debbie