chrissypchy
Programmer
Hi Everyone,
I am writing a report with about 14 tables in it. Each table has an attribute "customer_id" and another attribute called "status". I would like to make a report that lists the customer_id when the status is not equal to zero for EACH TABLE. The problem I am having is that one table will have 1 with that status, another has two, and sometimes they dont have any. When it doesnt have any, NOTHING from any table shows in the results. I know this can be fixed with a join but since I do not know which tables are going to have which values, I'm not sure which ones to join where. I plan to run this report accross many of our databases so usually we wont know which tables have how many customers with 0 status. Is there any way I can make each table an individual entity so that the number of attributes dont have to match up? Kind of like separate reports all in one? Sorry for the long post. Anyones help would be greatly appreciated.
-Chrissy
I am writing a report with about 14 tables in it. Each table has an attribute "customer_id" and another attribute called "status". I would like to make a report that lists the customer_id when the status is not equal to zero for EACH TABLE. The problem I am having is that one table will have 1 with that status, another has two, and sometimes they dont have any. When it doesnt have any, NOTHING from any table shows in the results. I know this can be fixed with a join but since I do not know which tables are going to have which values, I'm not sure which ones to join where. I plan to run this report accross many of our databases so usually we wont know which tables have how many customers with 0 status. Is there any way I can make each table an individual entity so that the number of attributes dont have to match up? Kind of like separate reports all in one? Sorry for the long post. Anyones help would be greatly appreciated.
-Chrissy