简体   繁体   English

如何管理Crystal Reports中的多个详细信息部分?

[英]How to manage more than one detail section in Crystal Reports?

I'm setting up a Crystal Report for POS receipt and there are two detail sections, one for products and other for services. 我正在为POS收据设置Crystal Report,有两个详细信息部分,一个用于产品,另一个用于服务。 The problem is that products and services are overlapped: for example, first a product row shows up and then a service row. 问题是产品和服务是重叠的:例如,首先显示产品行,然后显示服务行。 I want to show only products in detail section a and then in detail section b services. 我想只显示产品详细信息a部分,然后详细介绍b部分服务。 I want to print the POS receipt on a thermal printer. 我想在热敏打印机上打印POS收据。 Is there any alternative way to print the receipt a on thermal printer, continuously print the receipt? 有没有其他方法可以在热敏打印机上打印收据a,连续打印收据?

I tried two detail sections, but they show the data like this: 我尝试了两个细节部分,但它们显示的数据如下:

product 1   qty    price
service 1          price
product 2   qty    price
service 2          price

I want to show the results like this: 我想显示这样的结果:

Product 1  qty   price
Product 2  qty   price
service 1        price
service 2        price

create two sub reports one for products and other for services. 创建两个子报告,一个用于产品,另一个用于服务。

Now in detail section a place product sub report and in detail section b place services sub report 现在详细部分一个地方产品子报告和详细部分b放置服务子报告

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM