Hello,
I want to perform a database lookup and return a matching recordset from various fields. However, I need the matching recordset to be based on lookup values from 2 fields of data where the 2 are in the same row (recordset). (I have a form where the user enters both criteria in textboxes, and a commandbutton click will return the results from the matching recordset.)
(Example)
Table name: TRACKING
Field 1 name: FILE# (employee numbers; "7235" etc.)
Field 2 name: PERIOD (dates in mm-yy format; "04-02" etc.)
Fields 1 and 2 both may have duplicate entries in them ("7235" may have more than 1 entry, same with "04-02"
However, there will be only 1 entry with BOTH "7235" and "04-02" and that is why I need to do a lookup of 2 fields to get the unique recordset. (Hope I explained that clearly.)
Can anyone help? Thank you in advance.
Rey
I want to perform a database lookup and return a matching recordset from various fields. However, I need the matching recordset to be based on lookup values from 2 fields of data where the 2 are in the same row (recordset). (I have a form where the user enters both criteria in textboxes, and a commandbutton click will return the results from the matching recordset.)
(Example)
Table name: TRACKING
Field 1 name: FILE# (employee numbers; "7235" etc.)
Field 2 name: PERIOD (dates in mm-yy format; "04-02" etc.)
Fields 1 and 2 both may have duplicate entries in them ("7235" may have more than 1 entry, same with "04-02"
However, there will be only 1 entry with BOTH "7235" and "04-02" and that is why I need to do a lookup of 2 fields to get the unique recordset. (Hope I explained that clearly.)
Can anyone help? Thank you in advance.
Rey