Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Does anyone know how to create a field (or better yet a calculation) where the last two digits of the current year (e.g.:) 06) and a set serial number are created.

So it would be 06-001 to 06-999 through the year then the next year would go from 07-001 to 07-999 and so forth.

I'd be willing to modify the calculation to change the serial number to 001 for the beginning of each year if there is no solution for that.

Background: Right now another section is manually creating these record numbers for each projects they do but now would like the record number automated. In addition, because the year has already started months ago, they are already well into the 06-200's so I would like to know if this calculation could be satisfied with the last record number and go from there (I've already made the database and this is the last step)

Thanks in advance!

Posted

Thanks! Yes this is exactly what I was looking for, however it does not restart at 000/001 at the start of a new year. I reset my terminal clock as directed and in both mine and your solution it went to 07- but just continued in sequence. Am I doing something wrong? Thanks again!

Posted

Whoops...forgot about the startup script! It works now! Thanks again for the info!

And, yes, I do hear macs work better :)

This topic is 6784 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.