I have two database with fields and I have two relationship linking them.
--dumby database--
-table 1-
name
fav_color
fav_day_of_week
address
-table2-
name
fav_color
fav_day_of_week
family_size
--end--
the relationship is
table1::fav_color=table2::fav_color
table1::fav_day_of_week=table2::fav_day_of_week
now sometimes i want to group people with the same fav_day_of_week
and sometimes i want to group people with the same fav_color
and sometime i want to group people with the same fav_day_of_week and fav_color
then i want to display these group
so that all records in these group is displayed on one form/layout/page
note table1 and table2 hold different details of the people
ie one is contact details and the other is personal details.
any surgestions are welcome
--dumby database--
-table 1-
name
fav_color
fav_day_of_week
address
-table2-
name
fav_color
fav_day_of_week
family_size
--end--
the relationship is
table1::fav_color=table2::fav_color
table1::fav_day_of_week=table2::fav_day_of_week
now sometimes i want to group people with the same fav_day_of_week
and sometimes i want to group people with the same fav_color
and sometime i want to group people with the same fav_day_of_week and fav_color
then i want to display these group
so that all records in these group is displayed on one form/layout/page
note table1 and table2 hold different details of the people
ie one is contact details and the other is personal details.
any surgestions are welcome