Just looking for thoughts here: each case our company takes on has an alphanumeric case code. The code is composed of a three letter client stem, like “ABC-” followed by a three digit number. So Acme Industries might be “ACM-” and the fourth case for Acme Industries would be “ACM-004.” Currently that Case Code is a short text field in our Knack app.
We have been assigning these codes manually, which requires looking up the previous case codes and figuring out the last number used. So for the example above, we would need to verify that “ACM-003” was the last code assigned, before we gave the next case “ACM-004.” (The system only accounts for three digits. As we haven’t yet had a client with 999+ cases, it isn’t a problem. Yet.)
I am trying to figure out if there is a way to automate the assigning of that next code in sequence when a new case record is created. Any thoughts from the Knack Forum Brain Trust?

