DJWheezyWeez
Technical User
I'm using CR XI.
I'm trying to get a working Sales Journal and I'm very close but having trouble with the linking. In one report I have sales. In another report I have cost of sales. I need them both in one report so I suppressed the cost of sales report down to one field for a subreport. When I import it into the sales report, I link them by customer but I don't end up with the same cost of sales totals.
In the sales report, I have 6 tables: Item, AnalysisCode, Bill, BillLine, CustAnalysisCode, and Customer. In the cost of sales report, I have 3 tables: Item, Customer, and InvHistory. I linked the reports by {Customer.CustCode} since that's what I'm grouping by first in both reports and it made sense but it didn't work. I've been just guessing with different links now and nothing seems to be working.
Should I be linking between the same tables since both report share two of the same tables or should I be linking different tables? Or is there some special knowledge of an easy rule for linking subreports? I'm very lost at the moment. Any help is appeciated.
-DJWW
I'm trying to get a working Sales Journal and I'm very close but having trouble with the linking. In one report I have sales. In another report I have cost of sales. I need them both in one report so I suppressed the cost of sales report down to one field for a subreport. When I import it into the sales report, I link them by customer but I don't end up with the same cost of sales totals.
In the sales report, I have 6 tables: Item, AnalysisCode, Bill, BillLine, CustAnalysisCode, and Customer. In the cost of sales report, I have 3 tables: Item, Customer, and InvHistory. I linked the reports by {Customer.CustCode} since that's what I'm grouping by first in both reports and it made sense but it didn't work. I've been just guessing with different links now and nothing seems to be working.
Should I be linking between the same tables since both report share two of the same tables or should I be linking different tables? Or is there some special knowledge of an easy rule for linking subreports? I'm very lost at the moment. Any help is appeciated.
-DJWW