ive been thinking about trying something new(or new to me) and im not sure how to go about doing it. i was wondering if anyone had suggestions. i basically have two tables
Teams
TID TName DivisionID
1 Hornets 2
2 Bulls 2
3 Cavs 2
4 Hawks 2
Players
PLID PName TID
1 Bob 1
2 Frank 1
3 Bill 2
4 Ralph 3
what i want to do is dynamically call the team names from the database so i can use them as column headings and also call the players dynamically and have them listed under the appropriate column names. i would assume that i need at least two record sets. but im not really sure, i basically know what i want, i just dont know how to get there. does anyone have any suggestions. please post if this is unclear, and maybe i can shed more light on the topic.
Teams
TID TName DivisionID
1 Hornets 2
2 Bulls 2
3 Cavs 2
4 Hawks 2
Players
PLID PName TID
1 Bob 1
2 Frank 1
3 Bill 2
4 Ralph 3
what i want to do is dynamically call the team names from the database so i can use them as column headings and also call the players dynamically and have them listed under the appropriate column names. i would assume that i need at least two record sets. but im not really sure, i basically know what i want, i just dont know how to get there. does anyone have any suggestions. please post if this is unclear, and maybe i can shed more light on the topic.