N
Nelson
I have a table with the following fields:
complaintid (key)
patientid
md
pt
ap
psyc
other1
other2
There can be up to three records with the same patientid. I want to create
query that will combine the information of the three records to one line per
patientid.
Example:
Records:
complaintid patientid md pt ap psyc
other1 other2
1 31 28 63
2 31 17
24
3 31
96
Output:
31 28 17 63
24 96
I am guessing a union query with a group by would do it but I have not tried
working with a union query before. (Access 2000) Any help will be
appreciated. Thanks!
complaintid (key)
patientid
md
pt
ap
psyc
other1
other2
There can be up to three records with the same patientid. I want to create
query that will combine the information of the three records to one line per
patientid.
Example:
Records:
complaintid patientid md pt ap psyc
other1 other2
1 31 28 63
2 31 17
24
3 31
96
Output:
31 28 17 63
24 96
I am guessing a union query with a group by would do it but I have not tried
working with a union query before. (Access 2000) Any help will be
appreciated. Thanks!