Crystalyzer
Technical User
- Mar 28, 2003
- 218
I have two tables as follows:
Contacts:
ID Name
1 John
2 Mary
3 Joe
4 Sue
Addfields:
ID fieldname fieldvalue
1 Exp Date 12/31/05
1 Priority High
2 Exp Date 1/31/06
2 Priority Low
When I simply join the two tables on ID I get multiple records back for contacts 1 & 2 which I understand is not "wrong", however, I want to get a single row per contact with the fieldnames from Addfields as columns in my result (Exp Date and Priority) and their values listed in those columns.
Is this possible? I'm stumped.
Thanks in advance for any direction anyone can give!
Thanks and best regards,
-Lloyd
Contacts:
ID Name
1 John
2 Mary
3 Joe
4 Sue
Addfields:
ID fieldname fieldvalue
1 Exp Date 12/31/05
1 Priority High
2 Exp Date 1/31/06
2 Priority Low
When I simply join the two tables on ID I get multiple records back for contacts 1 & 2 which I understand is not "wrong", however, I want to get a single row per contact with the fieldnames from Addfields as columns in my result (Exp Date and Priority) and their values listed in those columns.
Is this possible? I'm stumped.
Thanks in advance for any direction anyone can give!
Thanks and best regards,
-Lloyd