Not sure if this is in the right section or not but here it goes. I am trying to build a field using an update query that pulls information from several fields to create a unique identifier for each record. I have the entire thing working except for one thing, an autonumber function. Here's how I'm trying to get it to work:
Main is a table that contains all of the records. From there I have an update query that pulls all the other information I am using (dates mostly) to build the final code. What I need is for the update query to pull all records matching the criteria from one field, and assign a number (two different criteria, one will require a 3 digit number starting at 001, and another requiring a 4 digit number starting at 0001) so I can plug it into unique identifier.