I am relatively new to Crystal Reports, so the report I am trying to do might be a little over my head or not possible. Currently using Crystal reports Ver. 8, with an ODBC connection. I currently have one main report with two tables linked giving me part numbers that are on order, and quantities on order by a date range selection. It looks like this:
Part Number Quantity
Widgets 100
Etc.
Most of the part numbers have components to them, (3-4 levels of indented bills of material). What I would ultimately like to do is “drill down” and get the component part numbers and quantity per bill. I have created a sub-report in the main report, using a table that has the part number, component part number, and quantity per bill.
In the main report (details section) I have the formula for shared variables:
WHILEPRINTINGRECORDS;
SHARED STRINGVAR part:={table.field}
In the sub-report (report header) I have the formula for the shared variable:
WHILEPRINTINGRECORDS;
SHARED STRINGVAR part
After running the report, the sub-report gave me all the “level 1” component part numbers and quantities used per bill. This is where I am stuck. Some of these part numbers have other components to them. I need to “drill down” to the next level, and perhaps even the next level, and “flatten out” the bill of materials. Any help would be appreciated.
Part Number Quantity
Widgets 100
Etc.
Most of the part numbers have components to them, (3-4 levels of indented bills of material). What I would ultimately like to do is “drill down” and get the component part numbers and quantity per bill. I have created a sub-report in the main report, using a table that has the part number, component part number, and quantity per bill.
In the main report (details section) I have the formula for shared variables:
WHILEPRINTINGRECORDS;
SHARED STRINGVAR part:={table.field}
In the sub-report (report header) I have the formula for the shared variable:
WHILEPRINTINGRECORDS;
SHARED STRINGVAR part
After running the report, the sub-report gave me all the “level 1” component part numbers and quantities used per bill. This is where I am stuck. Some of these part numbers have other components to them. I need to “drill down” to the next level, and perhaps even the next level, and “flatten out” the bill of materials. Any help would be appreciated.