I want to create 'user friendly' IDs using names to create unique IDs. eg. John Smith would SMIJ01, and the second John Smith would be SMIJ02
Can anyone point me in the right direction as to how to do this with triggered actions?
Thanks!
EDIT: I'm not sure how robust it is but think I figured it out.
Created an 'ID building block' column
This is populated by a 'update #inserted' trigger action (concatenate first 3 letters of last name and first letter of surname)
Then immediately followed by a second 'update #inserted' trigger action to concatenate the 'building block' with a count of pre-existing blocks that match. Creates a series of unique IDs based on the surname/first name.
If anyone has a more elegant solution I would love to know
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Felix
Hi everyone,
I want to create 'user friendly' IDs using names to create unique IDs. eg. John Smith would SMIJ01, and the second John Smith would be SMIJ02
Can anyone point me in the right direction as to how to do this with triggered actions?
Thanks!
EDIT: I'm not sure how robust it is but think I figured it out.
Created an 'ID building block' column
This is populated by a 'update #inserted' trigger action (concatenate first 3 letters of last name and first letter of surname)
Then immediately followed by a second 'update #inserted' trigger action to concatenate the 'building block' with a count of pre-existing blocks that match. Creates a series of unique IDs based on the surname/first name.
If anyone has a more elegant solution I would love to know
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.