Hi, Is there a way to use multiple criteria when setting up a record set. The code below gets a recordset that meets criteria of MyPress_ID =[Schedule].Press_ID (MyPress_ID is a variable) I would like to have it further narrow the recordset by only including records after a certain date which I also have as a variable (MyStartDate). Could someone show me the correct syntax for this? Thank you.
strSQL = "SELECT * FROM [Schedule] WHERE ( " & MyPress_ID & " =[Schedule].Press_ID );"
Set MyRecordSet = MyDB.OpenRecordset(strSQL, dbOpenDynaset)