C
Colin
How to print text values instead of ID's?
I have 4 tables. The goal is to list bills of materials.
The first two are for a Parent product and Child product.
The 3rd table is a join table to allow for one Parent to have many
Children and for one Child to have many Parents.
The last table is for product units.
PARENT PRODUCT TABLE
Parent_ProductID (the parent part number) PRIMARY KEY
Parent_Product_Description (a text description)
Parent_Product_UnitID (a number pointing to the Units Table)
CHILD PRODUCT TABLE
Child_ProductID (the parent part number) PRIMARY KEY
Child_Product_Description (a text description)
Child_Product_UnitID (a number pointing to the Units Table)
PARENT CHILD JOIN TABLE
Parent_ProductID (the parent part number) PRIMARY KEY
Child_ProductID (the child part number) PRIMARY KEY
Child_Qty (the Qty of children that are contained in the parent)
UNITS TABLE
UnitID (the parent part number) PRIMARY KEY
Unit Description (a text description e.g. Feet, Pounds, Each…)
I would like to produce a report that looks like this (assuming the
parent has 3 children for this example):
Parent Part Number Parent Description Parent Unit
Child Part Number Child Description Child Qty Child Unit
Child Part Number Child Description Child Qty Child Unit
Child Part Number Child Description Child Qty Child Unit
Here's the problem:
Using the report wizard, I can only show the Units Description on one
side of the report (e.g. units show for Parent). How can I show the
appropriate Units Description for both the Parent and the Children?
This is common on many reports where I would like to show text (like
units) in more than one place. I have a units table to avoid duplicate
data.
Thanks!
I have 4 tables. The goal is to list bills of materials.
The first two are for a Parent product and Child product.
The 3rd table is a join table to allow for one Parent to have many
Children and for one Child to have many Parents.
The last table is for product units.
PARENT PRODUCT TABLE
Parent_ProductID (the parent part number) PRIMARY KEY
Parent_Product_Description (a text description)
Parent_Product_UnitID (a number pointing to the Units Table)
CHILD PRODUCT TABLE
Child_ProductID (the parent part number) PRIMARY KEY
Child_Product_Description (a text description)
Child_Product_UnitID (a number pointing to the Units Table)
PARENT CHILD JOIN TABLE
Parent_ProductID (the parent part number) PRIMARY KEY
Child_ProductID (the child part number) PRIMARY KEY
Child_Qty (the Qty of children that are contained in the parent)
UNITS TABLE
UnitID (the parent part number) PRIMARY KEY
Unit Description (a text description e.g. Feet, Pounds, Each…)
I would like to produce a report that looks like this (assuming the
parent has 3 children for this example):
Parent Part Number Parent Description Parent Unit
Child Part Number Child Description Child Qty Child Unit
Child Part Number Child Description Child Qty Child Unit
Child Part Number Child Description Child Qty Child Unit
Here's the problem:
Using the report wizard, I can only show the Units Description on one
side of the report (e.g. units show for Parent). How can I show the
appropriate Units Description for both the Parent and the Children?
This is common on many reports where I would like to show text (like
units) in more than one place. I have a units table to avoid duplicate
data.
Thanks!