读书人

[]水晶表 出格式

发布时间: 2012-01-01 23:10:55 作者: rapoo

[求助]水晶表 出格式

SQL code
--create table #temp(    brh varchar(8),    [order_no] varchar(20),    seq int)insert into #temp values('3101' , '001',1)insert into #temp values('3101' , '002',2)insert into #temp values('3101' , '003',3)insert into #temp values('3101' , '004',4)insert into #temp values('3101' , '005',5)insert into #temp values('3101' , '006',6)insert into #temp values('3102' , '123',1)insert into #temp values('3102' , '008',2)insert into #temp values('3102' , '009',3)insert into #temp values('3102' , '101',4)insert into #temp values('3103' , '102',1)insert into #temp values('3103' , '113',2)insert into #temp values('3104' , '145',1)--SP出容就如#temp出的容一。select * from #temp




表按照brh行分,不同page break 。同示全部order_no,同一的示格式如下。
brh(分店);order_no();seq(序列);

brh:3101
1)0012)0023)003
4)0045)0056)006

brh:3102
1)1232)0083)009
4)101

brh:3103
1)1022)113

:如何在水晶表中同一的按照每行只示3列,超3列就折行出?

效果如,改成著出3列然後折行。




[解决办法]
可以做到,但是做起来有些复杂。
基本思路是使用 详细资料节 的 分栏 效果。

你可以先试试,不过要实现你的格式,还需要一些细节的设置。
先参考下面文章看看
http://www.cnblogs.com/babyt/archive/2005/03/13/118059.html

读书人网 >.NET

热点推荐