thnx now i know, i missed out the # sign in the date variable in the query