G
Guest
Not sure how to explain my question, but perhaps some background on my
database will help. I'm putting together a database where employees use a
form to enter the status of various seabird nest sites that we are monitoring
for a restoration project. Nests are monitored everyday, so each day a code
is entered into the form indicating the status of the nest site on that day
(e.g B/0=bird over nothing, B/E= bird over egg). During the course of the
year we will want to query this data to determine the first day that eggs
were seen at each nest. I'm trying to figure out a query that will, at the
very least, select the very first record that contains an "*E*" in the status
column. Unfortunately, I can't use *E* b/c that gives me the two codes B/E
and 2B/E. I need something that can pick out just the first record that
contains E in the site status column. In a perfect world, it would be better
to have a query that could select the first record that has an E in it after
a string of records that do not contain an E. This way, I can determine the
date that eggs were first seen in nests that have more than one breeding
attempt in a seaon (e.g. nest 1 is B/E on the first, loses this egg and has
two weeks of B/0 and then another B/E). Thanks a bunch.
database will help. I'm putting together a database where employees use a
form to enter the status of various seabird nest sites that we are monitoring
for a restoration project. Nests are monitored everyday, so each day a code
is entered into the form indicating the status of the nest site on that day
(e.g B/0=bird over nothing, B/E= bird over egg). During the course of the
year we will want to query this data to determine the first day that eggs
were seen at each nest. I'm trying to figure out a query that will, at the
very least, select the very first record that contains an "*E*" in the status
column. Unfortunately, I can't use *E* b/c that gives me the two codes B/E
and 2B/E. I need something that can pick out just the first record that
contains E in the site status column. In a perfect world, it would be better
to have a query that could select the first record that has an E in it after
a string of records that do not contain an E. This way, I can determine the
date that eggs were first seen in nests that have more than one breeding
attempt in a seaon (e.g. nest 1 is B/E on the first, loses this egg and has
two weeks of B/0 and then another B/E). Thanks a bunch.