SELECT DISTINCT [Your Results].sonumber, [Your Results].company, [Your Results].custnumber, [Your Results].sodate, jobdata.dept, jobdata.status, jobdata.ID, jobdata.notes, jobdata.sonumber AS Expr1, [SO total query].SumOfextprice, [Your Results].reqdate
FROM (([Your Results] INNER JOIN jobdata ON [Your Results].sonumber = jobdata.sonumber) INNER JOIN [SO total query] ON jobdata.sonumber = [SO total query].sonumber)
****************************************
The above statement works fine. I would like to add a parameter to only selects the next req date and not show all the req dates in the gridview for the particular sonumber. Only display one reqdate which should be the soonest date.
Thanks in advance