Robert
Had a play around and this seems to produce what you want in small test db using a table set up like yours:
SELECT Table1.NameID, First(Table1.FirstName) AS FirstOfFirstName, First(Table1.Surname) AS FirstOfSurname, First(Table1.RowID) AS FirstOfRowID
FROM Table1
GROUP BY Table1.NameID;
HTH Nigel
Didn't someone say work is supposed to be fun? They didn't have computers then I guess....