on 11-05-2015 1:54 PM
Hi,
We are using crystal report 2008 i.e. 12 version. We are exporting report through C# visual studio code.
The below issue for cross tab report.
We have one field description in report which is not getting displayed properly in column section i.e. summary section of cross tab. This is string field which need to be displayed. To display this field we are using Maximum function of summary and its value is getting displayed properly.
This description field is a formulae field which is formed on the basis of command output.
Now, there is a scenario, where this command query is not having row for particular column which is used in column section of summary. In this case the report when exported is distorted.
I want to show a blank entry in the position where there is no record found for that particular column for that row. Then how this can be achieved in cross tab report. Please let me know, if any more information is required.
Below Image is attached. Field is Desc For the 2nd combination, no record is found, so its distorted. Need to fix this issue.
Hi Renuka,
Could you post a screenshot of the Crosstab Expert and the Preview Page of the report please?
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For strings, the default is blank.
You can evaluate formulas against True Nulls in a crosstab - meaning there exists a row for that data point and its value is just NULL.
For blank cells that do not have a row/column combination, there isn't much you can unfortunately.
So, in your case, if the string value that you're trying to set a default value for has atleast a row/column then you can use a formula however, if there does not exist a row in the database then there is no way to evaluate a formula against such blank cells.
-Abhilash
Yes I mentioned to set default value beacuse I was not able to see blank value in string field when there is no row fetched. I cannot post the report with saved data as this is confidential data. But the issue is same as shared in screenshot. Can you please elaborate more on how string field looks blank when there is no row fetched.
User | Count |
---|---|
76 | |
10 | |
9 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.