FindFirst for multiple criteria

AshikHusein

Registered User.
Local time
Today, 10:51
Joined
Feb 7, 2003
Messages
147
I would like to know if there is a way to search for a record in a recordset which finds a record on multiple criteria. Foe example I have the following code.

rec.FindFirst "[acct_num] = """ & acct_num_str & """"

I also want it to search on

"[IPO_name] = """ & IPO_name_str & """"

so that the corect record for the matching [acct_num] and [IPO_name] can be found. Effectively, the record which matches the correct IPO_name and acct_num is required. Thank you.
 
rec.FindFirst "[acct_num] = """ & acct_num_str & """ AND [IPO_name] = """ & IPO_name_str & """"
 

Users who are viewing this thread

Back
Top Bottom