Can anyone tell me why the code below only works if the argument after CDATE contains ('"&) at the beginning and end, either side of the "true" value? Something to do with strings?
Set MyRs = dbs.OpenRecordset("SELECT * FROM DiaryNotes WHERE DiaryDate = cdate('" & (Me!Calender1) & "')"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Me![Text1] = MyRs!DiaryNote
Set MyRs = dbs.OpenRecordset("SELECT * FROM DiaryNotes WHERE DiaryDate = cdate('" & (Me!Calender1) & "')"
Me![Text1] = MyRs!DiaryNote