dz2k7
Not only User
- Local time
- Today, 13:42
- Joined
- Apr 19, 2007
- Messages
- 104
I have two tables.
Main Table
Branch, ProductGroup, Product
Table of Parameters
Branch, Product Group, Parameter
I need to make report
Branch, ProductGroup, Product, Parameter
Now.
The manager can give directions in three ways
1. Make parameters such and such for these branches
2. Make parameters such and such for these ProductGroups
3. Make parameters such and such for these ProductGroups in these branches only.
Lets assume those directives never overlap.
I don't want to make 3 adjustment tables and three queries to manage process.
I want one adjustment table.
There is no problem with #3, but there is a problem with # 1 and #2.
The only thing I don't know is:
What should I put in parameter table if I say something like
"For ALL ProductGroups of this branch", or
"For this ProductGroup in ANY Branch"
I tried using Asterisk - it does not work.
Any idea?
Main Table
Branch, ProductGroup, Product
Table of Parameters
Branch, Product Group, Parameter
I need to make report
Branch, ProductGroup, Product, Parameter
Now.
The manager can give directions in three ways
1. Make parameters such and such for these branches
2. Make parameters such and such for these ProductGroups
3. Make parameters such and such for these ProductGroups in these branches only.
Lets assume those directives never overlap.
I don't want to make 3 adjustment tables and three queries to manage process.
I want one adjustment table.
There is no problem with #3, but there is a problem with # 1 and #2.
The only thing I don't know is:
What should I put in parameter table if I say something like
"For ALL ProductGroups of this branch", or
"For this ProductGroup in ANY Branch"
I tried using Asterisk - it does not work.
Any idea?
Last edited: