Crystal报告的第一页为空白 [英] First page of Crystal report in blank

查看:119
本文介绍了Crystal报告的第一页为空白的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Visual Studio 2005中创建一个应用程序来显示水晶报表上的数据。

我根据供应商编号对元素进行了分组。

我这里有两个问题。



首先是Crystal Report的第一页空白。它仅显示列名,日期和页码。但数据显示在第二页。



http://img203.imageshack.us/img203/9165/erru.jpg</a> [ ^ ]



我的第二个问题是我想在供应商处显示供应商名称代码作为页面标题。

供应商代码和供应商名称都在不同的数据库中。所以我将不得不为此写一个查询。所以,怎么做。



希望我的问题很明确。

I am making an application in Visual Studio 2005 to display data on crystal report.
I have grouped the elements on the basis of Vendor Number.
I have two problems here.

First is the first page of Crystal Report is coming blank. It is showing only column names, date and page number. But data is displayed from second page.

http://img203.imageshack.us/img203/9165/erru.jpg</a>[^]

And my second problem is I want to display Vendor name in the place of Vendor Code as a page title.
And both the vendor code and vendor name are in different databases. So I will have to write a query for this. So, how to do it.

Hope my question is clear.

推荐答案

1。

选择每个部分,右键单击并适合部分它将删除不必要的空白空间



2。

你有没有设置选项新页面/新页面之前

如果你在标题部分/详细信息部分设置此选项然后它将导致你现在面临的问题。



快乐编码!

: )
1.
select each section, right click and "Fit Section" it will remove unnecessary empty space

2.
have you set option in any section "New Page After"/"New Page Before" ?
if you set this option in header section/detail section then it will cause the problem you are facing right now.

Happy Coding!
:)



你能发布水晶报表布局的截屏,我认为你将元素保留在错误的段中,即在子页面下。



通常最好在包含所有相关信息的代码中创建数据集,然后将该数据集分配给晶体报告;因此,您可以根据需要从任何数据库和任意数量的联合语句中创建数据集。



问候

Jegan
Hi Can you post a screen shot of the crystal report layout, I think you are keeping the element in the wrong segment i.e. under a sub page.

Normally it is good to create a dataset in code that contains all the relevant information then assign that dataset to the crystal report; so in this way you can create the dataset as you like from whatever database and as many joint statements as you want.

Regards
Jegan


您好,

您是否可以删除组,只保留第2节页眉中的列标题标签和第3节中的列数据细节。这将消除你看到的其他页面。



此外,如果你不在部分之间添加任何东西,那么保持它靠近即不要留空空间,小空设计师的空间可以在实际视图中占用大量空间,这可能会填满页面。



问候

Jegan
Hi,
Can you remove the groups and just keep the column title labels in the section 2 "Page Header" and the column data in the section 3 "Details". This will get rid of additional pages you are seeing.

Also if you not adding anything between sections, then keep it closer i.e. don't leave empty spaces, small empty space in the designer can take huge space in actual view, this may fill up pages.

Regards
Jegan


这篇关于Crystal报告的第一页为空白的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆