Hi people
Access Ver. Access 97
I have a database table ([Contacts]) relating to contacts made to patients. In this table i have a field called primary_reason_for_care. This field is a three letter code that links to a codes database and to a table which lists the full description given the three letter code. I have already managed to update the contacts table to show the description as apposed to the code but i have a problem with another field. The field [Contacts].Other_reasons_for_care uses the same codes as the primary_reason_for_care, Only this field can have more than one code delimited by carriage returns.
What i would like to know is if it would be possible to have a query that would split up the field into the three letter codes and then relate each of these codes to the codes database. From that i want to return the descriptions to the field instead of the codes.
Hope this makes sense. Any help would be much appreciated.
Thanks in advance.
Access Ver. Access 97
I have a database table ([Contacts]) relating to contacts made to patients. In this table i have a field called primary_reason_for_care. This field is a three letter code that links to a codes database and to a table which lists the full description given the three letter code. I have already managed to update the contacts table to show the description as apposed to the code but i have a problem with another field. The field [Contacts].Other_reasons_for_care uses the same codes as the primary_reason_for_care, Only this field can have more than one code delimited by carriage returns.
What i would like to know is if it would be possible to have a query that would split up the field into the three letter codes and then relate each of these codes to the codes database. From that i want to return the descriptions to the field instead of the codes.
Hope this makes sense. Any help would be much appreciated.
Thanks in advance.