Hello,
I need some help writing a query.
I have a table with street sign information. It has 10 fields. I would like to create a new field (an 11th) and have a new ID number for each unique entry in one of the 10 fields field.
In other words, I want to create a new field called UNIQUE IDs. In the next field (MAIN STREET) there might several mentions of a Street Name (like LEROY STREET) (because there are several entries (multiple traffic signs) for each block). I would like a Query that would give a Unique ID number (like X-1, X-2, etc.) every time the value (Text) in the MAIN STREET field changes. So, if the ID for LEROY STREET is X-1, when the MAIN STREET field changes to CANAL STREET (or even LEROY AVENUE) the next consecutive ID is calculated (X-2)
And for you super initiated SQL writers. I would eventually like to create a Unique ID when any one value in as many a 4 fields changes a unique ID# is created and added to a new field, but that may be too much to dream for.
Any help would be greatly appreciated.
Thanks for looking
I need some help writing a query.
I have a table with street sign information. It has 10 fields. I would like to create a new field (an 11th) and have a new ID number for each unique entry in one of the 10 fields field.
In other words, I want to create a new field called UNIQUE IDs. In the next field (MAIN STREET) there might several mentions of a Street Name (like LEROY STREET) (because there are several entries (multiple traffic signs) for each block). I would like a Query that would give a Unique ID number (like X-1, X-2, etc.) every time the value (Text) in the MAIN STREET field changes. So, if the ID for LEROY STREET is X-1, when the MAIN STREET field changes to CANAL STREET (or even LEROY AVENUE) the next consecutive ID is calculated (X-2)
And for you super initiated SQL writers. I would eventually like to create a Unique ID when any one value in as many a 4 fields changes a unique ID# is created and added to a new field, but that may be too much to dream for.
Any help would be greatly appreciated.
Thanks for looking
Last edited: