frosty2000
Technical User
Hello,
I am creating a query that will pull demographic information on our employees' spouses and children. The spouse and dependent records are linked to the employee by the employee's social security number, and the column "Record Type" differentiates between an employee "E", spouse "S", and child "C".
In the Category field in my query, I need it to output "S" if Record Type="S", and if it is a Child ("C"), then I need it to output C1 for child record 1, C2 for child record 2, etc.
How do I set this up? Any help would be appreciated. Bear with me...I'm a beginner! Thanks!
I am creating a query that will pull demographic information on our employees' spouses and children. The spouse and dependent records are linked to the employee by the employee's social security number, and the column "Record Type" differentiates between an employee "E", spouse "S", and child "C".
In the Category field in my query, I need it to output "S" if Record Type="S", and if it is a Child ("C"), then I need it to output C1 for child record 1, C2 for child record 2, etc.
How do I set this up? Any help would be appreciated. Bear with me...I'm a beginner! Thanks!