D
David McKnight
I get an Expected end expression error with the following code at point of
"mmdd". What is missing here?
qdf.SQL = _
"SELECT Table1.Yearof, Table1.Dateof, " & _
"Table1.Nameof, Table1.Valueof FROM Table1 " & _
"INNER JOIN Table5 " & _
"ON Table1.Yearof = Table5.Yearof " & _
"WHERE " & _
"Format([Table1.Dateof], "mmdd") >= '1115' AND " & _
"Format([Table1.Dateof], "mmdd") <= '1215';"
"mmdd". What is missing here?
qdf.SQL = _
"SELECT Table1.Yearof, Table1.Dateof, " & _
"Table1.Nameof, Table1.Valueof FROM Table1 " & _
"INNER JOIN Table5 " & _
"ON Table1.Yearof = Table5.Yearof " & _
"WHERE " & _
"Format([Table1.Dateof], "mmdd") >= '1115' AND " & _
"Format([Table1.Dateof], "mmdd") <= '1215';"