I'm currently trying to design a report for our estimating package at work. We're almost there, but I'm running into 1 major problem. Our estimating system is setup in 3 "tiers" to speak of. Tier/level 1 is the overall estimate. Each estimate contains components, and each component contains segments. I need to provide component level pricing for a client (no big deal), but I need to list certain aspects of each segment inside that component above where the component price is listed.
Our table would look like this:
Segment-ID Component-ID Desc: Segment-Number
1 1 Prod1A 1
2 1 Prod1B 2
3 2 Prod2A 1
4 2 Prod2B 2
5 3 Prod3A 1
6 3 Prod3B 2
F 1 1 Prod1C 3
This table represents 1 Estimate. What I can currently do is pull segment-ID 2, 4, & 6 using a select case/maximum statement based on component-id, or 1,3,5 if the max statement is based on segment-id. What I need to do is list the price based on the component, no big deal, already have that. Then, list "Prod1A" carriage return "Prod 1B" while still in the grouping for the first component. I do no want to include components which start with "F", so the "F 1" would need to be ignored. There is other information to pull besides description, but if someone can get me started on how to do this, I'm fairly certain I can figure out the rest.
Thanks in advance!!!
WCP
Our table would look like this:
Segment-ID Component-ID Desc: Segment-Number
1 1 Prod1A 1
2 1 Prod1B 2
3 2 Prod2A 1
4 2 Prod2B 2
5 3 Prod3A 1
6 3 Prod3B 2
F 1 1 Prod1C 3
This table represents 1 Estimate. What I can currently do is pull segment-ID 2, 4, & 6 using a select case/maximum statement based on component-id, or 1,3,5 if the max statement is based on segment-id. What I need to do is list the price based on the component, no big deal, already have that. Then, list "Prod1A" carriage return "Prod 1B" while still in the grouping for the first component. I do no want to include components which start with "F", so the "F 1" would need to be ignored. There is other information to pull besides description, but if someone can get me started on how to do this, I'm fairly certain I can figure out the rest.
Thanks in advance!!!
WCP