I inherited this database structure so I know it's not normalized like it should be.
I have a report with multiple IDs in the same record that all link to a description table.
in my main table a tray has 8 slots...
trayID = 0001
cookie1 = C
cookie2 = P
cookie3 = M
cookie4 = NULL
cookie5 = NULL
...etc.
We have a cookie table which contains the cookie IDs and their descriptions (e.g.
C,Chocolate Chip
P,Peanut Butter
M,Macadamia Nut
I would like to show the friendly name on the report for each cookie slot instead of the ID.
When I link the tray table to the cookie table on the cookie ID, it will show the first cookie name, but none of the others.
I can get this...
or this...
But I would like to display this....
Is there a way in Crystal Reports to show different fields from another table in the same record?
Either this is very simple or very hard, because I can't find any kind of example in any of my books or online.
Thanks in advance for any direction you can give me.
I have a report with multiple IDs in the same record that all link to a description table.
in my main table a tray has 8 slots...
trayID = 0001
cookie1 = C
cookie2 = P
cookie3 = M
cookie4 = NULL
cookie5 = NULL
...etc.
We have a cookie table which contains the cookie IDs and their descriptions (e.g.
C,Chocolate Chip
P,Peanut Butter
M,Macadamia Nut
I would like to show the friendly name on the report for each cookie slot instead of the ID.
When I link the tray table to the cookie table on the cookie ID, it will show the first cookie name, but none of the others.
I can get this...
Code:
[b]Tray Cookie1 Cookie2 Cookie3[/b]
0001 C P M
Code:
[b]Tray Cookie1 Cookie2 Cookie3[/b]
0001 Chocolate Chip
But I would like to display this....
Code:
[b]Tray Cookie1 Cookie2 Cookie3[/b]
0001 Chocolate Chip Peanut Butter Macadamia Nut
Either this is very simple or very hard, because I can't find any kind of example in any of my books or online.
Thanks in advance for any direction you can give me.