Question : Select Row Number

I am using Access and would like to retrieve a row number from my select statement.  There is no field in the table that I can substitute for row number.  Is there an equivalent to ROW_NUMBER() in Access?  If not, how would I construct the select statement?

SELECT ID,Facility, Facility AS FacilityLabel, Address, Address2, City, County, ST, Zip, Latitude, Longitude
FROM Locations

Answer : Select Row Number

Use this. Replace Facility by the primary key for the table.
1:
2:
SELECT (select count(*) from Locations a where a.facility <= b.facility) as ID,Facility, Facility AS FacilityLabel, Address, Address2, City, County, ST, Zip, Latitude, Longitude
FROM Locations b
Random Solutions  
 
programming4us programming4us