我正在尝试正确显示的报告中的文本框隐藏了倍数,即使第二个字段不同。
例如:" = [客户]& " " &安培; [发票]&#34 ;.
如果Bob有多个发票,则报告只会显示一个Bob和最低发票号。
如何让文本框单独显示每个客户和发票? 感谢。
编辑:请求的SQL " SELECT [SUMFCRR& Plaintiff] .Firm,[SUMFCRR& Plaintiff]。[Firm Type],IIf([ReportID] Null,0,Val([ReportID]))AS [Report#],[SUMFCRR&原告] .SumOfFeesBilled,[SUMFCRR&原告]。[SumOfRecommended Reduction],[SUMFCRR&原告]。[SumOfCosts Billed],[SUMFCRR&原告]。[SumOfCost Reduction],[SumOfFeesBilled] + [SumOfCosts Billed] + [SumOfRecommended Reduction ] [SumOfCost Reduction] AS Reimbursement,[SUMFCRR& Plaintiff] .Plaintiff,[SUMFCRR& Plaintiff] .ReportID,[SumOfRecommended Reduction] + [SumOfCost Reduction] AS ReductionSum,[SUMFCRR& Plaintiff] .Invoice,([SumOfFeesBilled] + [SumOfRecommended Reduction])AS FeeReimbursement,([SumOfCosts Billed] + [SumOfCost Reduction])AS CostReimbursement, - [SumOfRecommended Reduction] AS PositivefeeReduction,IIf([positivefeereduction]> [sumoffeesbilled]或[sumofcost reduction]> [sumofcosts billed ]," E","")AS ErrorNote, - [sumofcost reduction] AS PositveCostReduction 来自[SUMFCRR&原告] WHERE((([SUMFCRR& Plaintiff] .Firm)喜欢[哪家公司?]&" *")AND(([SUMFCRR& Plaintiff] .ReportID)= [哪个报告?])) IIf的订单([ReportID]是Null,0,Val([ReportID]));"
Edit2:这里关注的两个领域是[原告]和[发票],当我运行查询本身时会显示所有信息。
答案 0 :(得分:0)
修正了它。它最初是在[原告]分组中。我将组更改为[发票],并开始显示多个发票编号。