Jump to content

Combining 2 fields for a unique id number


This topic is 7156 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

How would I do the following:

populate a field (Project number) with elements of a last name field, the date, and a sequential number starting with 1.

For example, the first project for SMITH would be SMITH_050304_01, first project for MICKIEWICZ would be MICKI_050304_01.

Then if there was already a project number with that code, it would add "02" to the name.

Is this possible?

Kathy

Maine Historical Society

Link to comment
Share on other sites

Here is an example that uses "year" and "Weekofyear" rather than LastName and Date. It does the incrementing, though.

http://www.fmforums.com/threads/download.php?Number=103594

You might want to do a search of previous posts for "secuencial field" (include the quotes) in the subject line. There is a solution posted by -Queue- that works well, along with accompanying explanation.

Paul

Link to comment
Share on other sites

This topic is 7156 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.