Hi I’m trying to convert some old queries into VBA to be run on the Fly. I’m having a problem with this.
strSQLhistory = "DELETE tblCasualtyHistory.PeriodStartDate, tblCasualtyHistory.Comment, * FROM tblCasualtyHistory WHERE PeriodStartDate >31/12/ 2004 And Comment is null;"
DoCmd.RunSQL...