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 7132 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

So I have a table that tracks transactions, and each transaction gets an ID number. The ID Number looks like YR-### and is a concatenatation of the YR field (calculation of two digit year), and the auto-entered serial. How to I reset the serial number every year or every time the YR field changes? This one's been killing me.

Thanks,

Lonn

Posted

See attached.

Note that the relationship is sorted by Incrementor descending, so that the first related record has the largest Incrementor, and that Incrementor's auto-enter calculation has 'do not evaluate if all referenced fields are empty' deselected.

When the year on your computer's clock changes, so will the Year field and, consequently, the next created PseudoSerial.

I call it a pseudoserial because you should still use the real serial for relationships, etc. PseudoSerial should only be used for visual purposes.

PseudoSerial.zip

  • 3 weeks later...

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