I have a table (Tbl_notes) containing amongst other fields
RefId
NoteID
NoteDate
NoteType
Looks something like this
RefID NoteID NoteDate NoteType
1 1 12/01/2005 Response1
1 2 13/01/2005 Response1
1 3 12/01/2005 Response2
2 4 12/01/2005 Response1
2 5 13/01/2005 Response1
2 6 14/01/2005 Response1
3 7 12/01/2005 Response1
3 8 12/01/2005 Response2
I want to create a query to show all 4 fields but only where NoteType = Response1 and only the first response1 by NoteDate
So the end result would look like this
RefID NoteID NoteDate NoteType
1 1 12/01/2005 Response1
2 4 12/01/2005 Response1
3 7 12/01/2005 Response1
I’ve been at this all morning but can’t work out how it would be done.
Many thanks.
RefId
NoteID
NoteDate
NoteType
Looks something like this
RefID NoteID NoteDate NoteType
1 1 12/01/2005 Response1
1 2 13/01/2005 Response1
1 3 12/01/2005 Response2
2 4 12/01/2005 Response1
2 5 13/01/2005 Response1
2 6 14/01/2005 Response1
3 7 12/01/2005 Response1
3 8 12/01/2005 Response2
I want to create a query to show all 4 fields but only where NoteType = Response1 and only the first response1 by NoteDate
So the end result would look like this
RefID NoteID NoteDate NoteType
1 1 12/01/2005 Response1
2 4 12/01/2005 Response1
3 7 12/01/2005 Response1
I’ve been at this all morning but can’t work out how it would be done.
Many thanks.