The SQL statement below is what I currently have that is working:
I need to ammend this statement with another condition...I also need to query by date that is between #5/1/03# and #5/31/03#.VB Code:
rs.Open "SELECT RepName FROM Main WHERE RepName = '" & txtRepName.Text & "'"
Something like:
My problem is , how do I combine both conditions into one statement?VB Code:
rs.Open "SELECT RepName FROM Main WHERE DateRef BETWEEN #5/1/03# AND #5/31/03#"
Thank you.
