Generate an individual Code from selected answers

I’ll be doing a baseline study and I want to make sure that the people interviewed are the same people who will take part in the end-line study. I want to create questions that, when answered, generate a unique code for each respondent. Is this possible?

Welcome to the community, @JonesdaCosta! This post discussed previously should help you solve your issue: