Robbyp2001
Registered User.
- Local time
- Today, 11:17
- Joined
- Oct 8, 2011
- Messages
- 143
Good morning folks.
I have a query that has to look at the contents of five fields in the same table to determine if any or all has a null value. I can underrstand how to return records that all five fields are null and all five fields are not null, however I need to know if any records have at least one or more of the five equal to null.
MTR Teacher Comments
MTR Homework Grade
MTR Behaviour Grade
MTR Current Attainment
MTR Target Level
In other words the query has to show [MTR Teacher Comments]=null and/or [MTR Homework Grade]= null and/or [MTR Behaviour Grade]=null and/or [MTR Current Attainment]=null and/or [MTR Target Level]=null
Is this possible to do in a query? If anyone could help with either suggestions how to query or how to write code that will do this, I would be extremely grateful, becaye I am stumped!
Thanks folks
Rob
I have a query that has to look at the contents of five fields in the same table to determine if any or all has a null value. I can underrstand how to return records that all five fields are null and all five fields are not null, however I need to know if any records have at least one or more of the five equal to null.
MTR Teacher Comments
MTR Homework Grade
MTR Behaviour Grade
MTR Current Attainment
MTR Target Level
In other words the query has to show [MTR Teacher Comments]=null and/or [MTR Homework Grade]= null and/or [MTR Behaviour Grade]=null and/or [MTR Current Attainment]=null and/or [MTR Target Level]=null
Is this possible to do in a query? If anyone could help with either suggestions how to query or how to write code that will do this, I would be extremely grateful, becaye I am stumped!
Thanks folks
Rob