Hi,
Can someone help me add another condition to the below selection:
Dim Re As DAO.Recordset
Set Re = CurrentDb.OpenRecordset("Select * From Tel_List Where Email_1 Is not null")
The intention is to select all those [Email_1] Fields as well as a company category, for expample [Forms]![My_Form]![Category]
I'm not at very good at writing code, here's what I've been trying:
Set Re = CurrentDb.OpenRecordset("Select * From Tel_List Where Email_1 Is not null" & ("Select * From Tel_List Where Category = [Forms]![My_Form]![Category]"))
Any help would be highly appreciated.
Best regards,
P.D. HAPPY CHRISTMAS TO EVERYONE
Can someone help me add another condition to the below selection:
Dim Re As DAO.Recordset
Set Re = CurrentDb.OpenRecordset("Select * From Tel_List Where Email_1 Is not null")
The intention is to select all those [Email_1] Fields as well as a company category, for expample [Forms]![My_Form]![Category]
I'm not at very good at writing code, here's what I've been trying:
Set Re = CurrentDb.OpenRecordset("Select * From Tel_List Where Email_1 Is not null" & ("Select * From Tel_List Where Category = [Forms]![My_Form]![Category]"))
Any help would be highly appreciated.
Best regards,
P.D. HAPPY CHRISTMAS TO EVERYONE