T
Tom
I need some help w/ the desing of a query.
Let's say, the data source table contains the following columns:
- DIV
- BRANCH
- TASK1
- TASK2
- TASK3
- TASK4
Based on the data in the table, a SELECT query shows the following results:
DIV BRANCH TASK1 TASK2 TASK3 TASK4
Div1 BranchA X X
Div1 BranchB X X
Div2 BranchC X
Div2 BranchD X
Div2 BranchE X
Based on the results, no division/branch does do "Task3". Therefore, I
don't even want to show the field "Task3" in my query.
However, if another branch is added who performs Task3, I then certainly
want to display that field in the query.
I also need to know how to dynamically link such query to a report without
"allocating space" in the report. If Task3 doesn't exists, I don't want to
show the header for that field (nor any empty records below that field).
Any suggestions how to do that?
Thanks,
Tom
Let's say, the data source table contains the following columns:
- DIV
- BRANCH
- TASK1
- TASK2
- TASK3
- TASK4
Based on the data in the table, a SELECT query shows the following results:
DIV BRANCH TASK1 TASK2 TASK3 TASK4
Div1 BranchA X X
Div1 BranchB X X
Div2 BranchC X
Div2 BranchD X
Div2 BranchE X
Based on the results, no division/branch does do "Task3". Therefore, I
don't even want to show the field "Task3" in my query.
However, if another branch is added who performs Task3, I then certainly
want to display that field in the query.
I also need to know how to dynamically link such query to a report without
"allocating space" in the report. If Task3 doesn't exists, I don't want to
show the header for that field (nor any empty records below that field).
Any suggestions how to do that?
Thanks,
Tom