I am trying to find a record in an Access Data Base. There might be three email address for each record, Primary, Secondary and Tertiary
I have it working without any Or operators
.FindFirst "[Email-Primary]= '" & Email_Key & "'" (This line works)
I have tried the below code but it gives me an error
.FindFirst "[Email-Primary]= '" & Email_Key & "'" & " or "[Email-Secondary] = '" & Email_Key & "'" or "[Email-Tertiary] = '" & Email_Key & "'" (This gives me a compile error expended end of statement.
Can you please tell me the correct format to do what I am trying to do.
Thanks
Doug
I have it working without any Or operators
.FindFirst "[Email-Primary]= '" & Email_Key & "'" (This line works)
I have tried the below code but it gives me an error
.FindFirst "[Email-Primary]= '" & Email_Key & "'" & " or "[Email-Secondary] = '" & Email_Key & "'" or "[Email-Tertiary] = '" & Email_Key & "'" (This gives me a compile error expended end of statement.
Can you please tell me the correct format to do what I am trying to do.
Thanks
Doug