Hi,
I have a Notes table with a notesid field, jobref field & date field where I want to return the record with the earliest date by jobref
from the above I want to display just records 1 and 4 as they have the lowest NotesDate for the jobref, only problem is I cant work out how to do this, I need to be able to do this in a way where I can edit the data in a form.
Also the data I am using is stored in SQL Server with ADP FE.
Thanks,
Gavin,
I have a Notes table with a notesid field, jobref field & date field where I want to return the record with the earliest date by jobref
Code:
Notes ID JobRef NotesDate Notes
1 MY-06-014 11/05/06 11:23 test 1
2 MY-06-014 11/05/06 11:27 test 2
3 MY-06-010 11/05/06 11:35 test 3
4 MY-06-010 11/05/06 11:27 test 4
from the above I want to display just records 1 and 4 as they have the lowest NotesDate for the jobref, only problem is I cant work out how to do this, I need to be able to do this in a way where I can edit the data in a form.
Also the data I am using is stored in SQL Server with ADP FE.
Thanks,
Gavin,