Assigning Employee IDs Across Datasets Containing the Same Employee Names

Hello Kobo Toolbox Community,

I’m working with an existing dataset that has a column for employee names, and I want to assign unique employee IDs to each one. However, the dataset already contains entries, and each employee’s name may appear several times. What would be the best approach to assign and maintain unique IDs in this scenario?

Additionally, when creating a new form from scratch, what would be the best method to automatically generate and assign unique IDs for new employees?

Lastly, once the IDs are assigned in this dataset, what is the most efficient way to ensure these same IDs are added to other datasets where the same employee names are also used multiple times, ensuring consistency across all datasets?

Thank you for your help and any guidance you can provide!

Best regards,
Abhas

@Abessolo, maybe this post discussed previously should help you solve your issue:

1 Like

Dear @Abessolo,

To create unique employee ID in a form that already contain data entries and duplicated values are not a good choice so i would suggest you to avoid to that. and also maintain the unique IDs in this scenario is not an easy task you would likely to edit thousands of records to change one unique IDs information. What i would suggest you to make would be,

1- Create a new form where you will be register staff first and this form will provide the unique beneficiary IDs.
2- You can connect and form you want to this form and call unique beneficiary information from this form based on your Unique beneficiary ID. You can connect this form as much form as you want. So all forms will bring the same information so there will be no problem with the data consistency access the data sets.
3- If you want to create unique ID automatically, i suggest to you not to use any date or time that will change in the future, because when you would like to edit anyinformation in the unique ID form, their code will also change. Keep it mind this is important.
4- You also can share this unique ID form with other relavent staff so they also can add new people to this form, it would make your life easier.

If you need more details, or question let me know

2 Likes