在水晶报告中设置细节高度部分 [英] Set the height of detail section in crystal report
问题描述
我想设置细节的高度水晶报告中的部分
例如,如果
,如果想要设置详细信息部分,使其必须在最多的accdomodate
该节中的10条记录
如果发票包含1条记录,则详细信息在1条记录后9条空行<应插入
详细信息部分
如果发票包含8条记录,则详细信息在8条记录后2条空行
应插入
详细部分
所以在指定空间打印发票页脚后
如果有超过10条记录
前10条记录应详细列出
,其余记录应放入下一页及其详细信息
部分
应该打印该页脚
谢谢。
您好
开发人员
在创建报告数据集时,我可以做的是做这件事。根据您的情况将空白行添加到数据集
与例如
dim intCount一样,如Integer = dsList.tables (0).rows.count
说 intCount = 5然后
for i as integer = intCount + 1 到10
dsList.Tables(0).Rows.Add(dsList.Tables(0).NewRow)
下一步
Hi,
I want to set the height of detail section in crystal report for
example if a
if want to set the details section such that it must at the most accdomodate
10 records in the section
if invoice consists 1 record then in details after 1 record 9 empty lines
should be inserted
in detail section
if invoice consists 8 record then in details after 8 records 2 empty lines
should be inserted
in detail section
so after that invoice footer is printed at a specified space
if more than 10 records are there
the first 10 records should be placed in detail
and the remaining records should be placed in next page and its detail
section
after that footer should be printed
Thanks.
Hi
DeveloperWhat can i give is do this thing while you are creating the dataset for report. Add the blank row to your dataset depending on your condition
Like as for eg
dim intCount as Integer = dsList.tables(0).rows.count
Say intCount = 5 Then
for i as integer = intCount+1 to 10
dsList.Tables(0).Rows.Add(dsList.Tables(0).NewRow)
Next
这篇关于在水晶报告中设置细节高度部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!