Quantcast
Channel: VBForums - Reporting
Viewing all articles
Browse latest Browse all 594

[RESOLVED] Multiple SubItems

$
0
0
Hello forum,
Visual Studio 2010 - Crystal Reports
I am working on a small vb program for my work. I need to be able to create a report containing project information, Project Items and the sub items that make up the Project Item. I have the three tables.

Table 1(Project information)
project_number
project_name
date
time
location
....many more fields

table 2(Project Items)
project_number
item_number
description
qty
price

table 3(sub items)
project_number
item_number
sub_number
description
qty
price

I have the project information OK in the report header. I added the project items to the detail(a) and its displays them well. but if I add the sub items directly under it I get the following.

Item# 123 project_item_description qty: 12 price: 120
Sub item 1 qty: 5 price: 5
Item# 123 project_item_description qty: 12 price: 120
Sub Item 2 qty: 3 price: 4

I did try suppressing duplicates but it makes a mess. The way Im loading it now is I have a dataset that is binded to the report. the three tables are loaded with only the information for this current project. Any help would be appreciated.

Viewing all articles
Browse latest Browse all 594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>