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

Recommended Posts

  • Newbies
Posted

Hi there,

i'm fairly new at FileMaker. I would like to generate a custom serial number. Basically, I would like the text/number generated to have the first 4 character in the AdvertiserName field + a 6 digit number (automatically generated).

I don't know how to calculate this.

please help

Posted

The easiest approach might be to use a field with an auto-enter serial number. Start the serial number off with 100000 since it is the first 6 digit number. This will give you unique values of 6 digits till you reach 1 million. Then, you can use the serial number in a calculation:

Left(AdvertiserNameField; 4) & SerialNumberField

  • Newbies
Posted

thank you. that worked. now how do I get the records that have already been made to have that number. the serial won't generate unless it's a new record.

Posted

select the SerialNumberField and then Go to the 'Records' menu --> 'Replace field contents'. This can not be undone so make sure that you save a backup first.

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