I have created a dbase to allow staff at my school to enter homework tasks for their classes. That side works fine. All I want to do now is collect the data from the tables using a select query and display it in a report that can be printed as a PDF and sent to parents as an email attachment.
One of the fields used in the query is called Year [as in Year group]; a fairly essential field in a school based system. If I set the criteria in this field to look for homework for Year 10 or above it returns the data no problem. If I set the criteria to Year 7 [or Year 8 or Year 9] it finds no records [records do exist].
I recall a message saying that Year was a reserved word and it might cause problems, but it's the title of the field used in the data source that I have imported class and staff data from [and it isn't causing a problem elsewhere in my system]. I don't understand why it will work for Year 10+ and not Year 7 to 9.
Any suggestions gratefully received.