H
hjs980
I'm having a problem with the relationships between the tables in my
database. Table 1 contains records of inventory being removed (gear, size,
date, removed by), table 2 contains the cost of each type of inventory we
carry (gear, size, cost). I want to be able to look up the cost for each type
and size of gear. (When gear1=gear2 and size1=size2, report cost2).
I am trying to create a summary report that sorts the removals by gear and
size, then looks up the cost. My report is finding the information from Table
1 correctly, but the information from Table 2 isn't linking the size. I am
getting records repeated for each size in Table 2. For example I want it to
read Belt - Large - Dec. 3 - Tom - $34 (cost of large best) and I am getting
Belt - Large - Dec. 3 - Tom - $30 (cost of small belt) then Belt - Large -
Dec. 3 - Tom - $32 (cost of medium belt) and so on.
I could use any suggestions on how my relationships should look or how I can
query the single cost I need in each group. I'm very new to databases, so
please be kind.
Thank you.
database. Table 1 contains records of inventory being removed (gear, size,
date, removed by), table 2 contains the cost of each type of inventory we
carry (gear, size, cost). I want to be able to look up the cost for each type
and size of gear. (When gear1=gear2 and size1=size2, report cost2).
I am trying to create a summary report that sorts the removals by gear and
size, then looks up the cost. My report is finding the information from Table
1 correctly, but the information from Table 2 isn't linking the size. I am
getting records repeated for each size in Table 2. For example I want it to
read Belt - Large - Dec. 3 - Tom - $34 (cost of large best) and I am getting
Belt - Large - Dec. 3 - Tom - $30 (cost of small belt) then Belt - Large -
Dec. 3 - Tom - $32 (cost of medium belt) and so on.
I could use any suggestions on how my relationships should look or how I can
query the single cost I need in each group. I'm very new to databases, so
please be kind.
Thank you.