You can use a query such as below. It is using the Customer table in the Northwind mdb. Paste this into a query in the Northwind database to test out and modify as you need.
SELECT c1.CustomerID AS ID, c1.ContactName AS Name, c1.Address AS Address, c1.City AS City, c1.PostalCode AS Zip
FROM dbo_Customers AS C1, dbo_Customers AS C2
WHERE (((c1.CustomerID)>=c2.customerid) )
GROUP BY c1.customerid, c1.contactname, c1.address, c1.city, c1.postalcode
having count(*) mod 5 = 0