Hi,
I'm looking for some help on how I would go about doing the following:
I have a query YearLink which links an primary key of a bird species table to the years they were seen so it looks like this:
1 2000
1 2001
1 2004
2 2000
2 2002
3 2000
4 2003
and so on.
What I would like to do is have an expression in the third field of the query which returns true or false depending on whether the year is the earliest sighting of the bird by looking for the earliest year for that particular bird ID:
1 2000 True
1 2001 False
1 2004 False
2 2000 True
2 2002 False
3 2000 True
4 2003 True
This would save me having to input whether a species seen was a first sighting as it could then be looked up by finding the True values.
Thanks for your time.
I'm looking for some help on how I would go about doing the following:
I have a query YearLink which links an primary key of a bird species table to the years they were seen so it looks like this:
1 2000
1 2001
1 2004
2 2000
2 2002
3 2000
4 2003
and so on.
What I would like to do is have an expression in the third field of the query which returns true or false depending on whether the year is the earliest sighting of the bird by looking for the earliest year for that particular bird ID:
1 2000 True
1 2001 False
1 2004 False
2 2000 True
2 2002 False
3 2000 True
4 2003 True
This would save me having to input whether a species seen was a first sighting as it could then be looked up by finding the True values.
Thanks for your time.