hallo I am trying to open a recordset with a where condition but I get the run - time error 3075 "Syntax error in number in query expression '[Qry_Room].[Day]=10.11.2002'"
The code I'm using is:
strSql = "SELECT [Qry_Room].[Room] FROM [Qry_Room] WHERE [Qry_Room].[Day]=" & giorno
Set rs = dBase.OpenRecordset(strSql, dbOpenDynaset)
Does someone have an idea?
The code I'm using is:
strSql = "SELECT [Qry_Room].[Room] FROM [Qry_Room] WHERE [Qry_Room].[Day]=" & giorno
Set rs = dBase.OpenRecordset(strSql, dbOpenDynaset)
Does someone have an idea?