PachecoPrimo
asked on
Serializing Records By Category Filemaker Pro 11
I want to have an auto-enter field or a calculation field that serializes records by category. i have attached a sample of the database I have. I have four fields (Group, Name, Serial Id, and Max Serial Id). I have 1 table with 2 ocurrences. The field 'Max Serial Id' is based on a relationship from an occurrence of the main table that uses the max() function to show the largest 'Serial Id' value entered for a particular Name under a Group. I want to be able to auto enter the Serial Id number every time a record is created. The calculation should look into the Max Serial Id field and get the value and then add a 1 to the Seria Id value.
Serial-Number.fp7
Serial-Number.fp7
PachecoPrimo
You can run a script that opens that table in a separate windows,
Then find all record, sort by field with serial number, go to the last record
Set a variable that equals the serial number field and then add 1
Hope that helps!
Tom
You can run a script that opens that table in a separate windows,
Then find all record, sort by field with serial number, go to the last record
Set a variable that equals the serial number field and then add 1
Hope that helps!
Tom
Another option to having a serial number is to use a Universally Unique Identifier (UUID)
You will need filemaker advanced. Learn more about it here
http://www.briandunning.com/cf/1246
You will need filemaker advanced. Learn more about it here
http://www.briandunning.com/cf/1246
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Serial-Number.fp7