I am in the process of trying to build an expression in Access 2016. I have three tables that are joined by a common field in a query. The first table is called No Math and it has a field named No Math Test. There is also a table called No Reading with a field named No Reading Test. The third table is called No MAP Test and has a field named Completed. I am a teacher and I am trying to create a way to keep track of who has taken the Math and Reading MAP tests. Some students have taken one of the two tests or neither or both tests. I have created a query called Missing MAP Scores that links each table by the student's ID number. In the query I have the field No Reading Test next to the field No Math Test and the last field is the Completed field. Since every student has not taken every test. I am trying to show only those records that have a value under No Reading Test and NO Math Test. I have tried to code the expression so that it puts a value of "Yes" in the Completed field if the other two fields are empty. This will allow me to sort for "No", which means the students has not completed the two tests, or not display the record at all if the student's record is blank for fields No Math Test and No Reading Test. The values for both fields are Math or blank and Reading or blank. This is the expression that I started with: IIf(IsNull([No Math]![No Math Test] And [No Reading]![No Reading Test], Yes, No)
It is not working. Apparently, I am doing something wrong. Any suggestions? Thanks.
It is not working. Apparently, I am doing something wrong. Any suggestions? Thanks.
Comment