I have a client database with several thousand records in it now. Should have done this at the outset, but didn't think of it.
Among the fields I have in the database...are DOB (date of birth) and Date_Seen. I was thinking of making a case number for each record by combining the digits from each of those 2 fields. RAther than doing this individually for several thousand records...was wondering if there is some sort of code that could do it for me? I would need it to:
1. Create a new field (case_no)
2. Read the entire database one record at a time.
3. Take the data from each case and cram it into case_no
as follows:
0304196401072004
This would indicate that the client's date of birth was 3/4/64 and the date I saw the client would be 1/7/04. I suppose I should add one more digit just in case, tho extremely unlikely, I saw 2 people on the same day who were born on the same day...so I could insert "a" or "b". Is there a way to do this via code...or am I in for a long, error prone...data entry day?
Thanks,
Dan
Among the fields I have in the database...are DOB (date of birth) and Date_Seen. I was thinking of making a case number for each record by combining the digits from each of those 2 fields. RAther than doing this individually for several thousand records...was wondering if there is some sort of code that could do it for me? I would need it to:
1. Create a new field (case_no)
2. Read the entire database one record at a time.
3. Take the data from each case and cram it into case_no
as follows:
0304196401072004
This would indicate that the client's date of birth was 3/4/64 and the date I saw the client would be 1/7/04. I suppose I should add one more digit just in case, tho extremely unlikely, I saw 2 people on the same day who were born on the same day...so I could insert "a" or "b". Is there a way to do this via code...or am I in for a long, error prone...data entry day?
Thanks,
Dan