Hi, I'm trying to use this SQL in VBA DAO command but I can't get the syntax right. Why do I have so many ""?
Thanks. Jim
Code:
SQLsmt = "SELECT tblHistory.TicketNum, tblHistory.SignInDate FROM tblHistory WHERE TicketNum ="" '" & strThisMemberTicketNum & "' and SignInDate = #" & ThisSignInDate & " #"""
Thanks. Jim