I am working with a table in Access 2010 which includes test result (0/1) and date of result by subject ID in addition to a number of other fields.
I would like to include all results up until and including the first positive result, but eliminate all subsequent results.
I am not sure about the best way to go about this, so any suggestions would be appreciated.
Example:
Subject 123 has negative results on Jan 1 and Jan 2, a positive result on Jan 3, another positive result on Feb 1, and a negative result on Feb 2. I want to keep the first three and eliminate the last one.
I would like to include all results up until and including the first positive result, but eliminate all subsequent results.
I am not sure about the best way to go about this, so any suggestions would be appreciated.
Example:
Subject 123 has negative results on Jan 1 and Jan 2, a positive result on Jan 3, another positive result on Feb 1, and a negative result on Feb 2. I want to keep the first three and eliminate the last one.
Comment