Multi-Column Report Issue
I am using the Crystal Reports edition bundled with Visual Studio 2005. I have a problem with a multi-column report. It is a two column member directory with family members. It lists the member name, contact info, spouse, and children. I want each family group to stay together, and not break cross a column or a page. Each group may have from 3 to a dozen or so lines.
The family groups will not break across a page (which is good), but they will break across a column (bad). I have tried many combinations of settings to make this work without success.
So I wonder if anyone has seen and resolved this problem, or if perhaps it works better in the full version of Crystal.
In some sub-sections, I have checked 'Suppress Blank Section' checked. In others, I have a suppression formula.
Each section has only a single field.
The record set that the report uses has a single row for each person. The sorting and grouping is arranged so that the first record in each family group is the 'main' member. The report displays this person's name, and also shows the sections which include address and phone number info. Subsequent records are for family members (spouse and/or children). For these records, I display the name, but suppress the address and phone sections.
There is also a detail sub-section used as a group header. This group breaks when the first letter of the last name changes, so it an display a single letter heading ("A"). I had tried this as a regular group header too, but it didn't help.
I have tried combining all the sections into a single one with each field on a separate line (which means the section can have some blank space), and also combined into a text box. No luck.
I also have the group itself set to "Keep Together' in the group expert. Doesn't help/
Similar Messages
-
Multi Column Report - printing Across and then Down
Is there any setup option for a multi column report to go across and then down instead of down & across as a default. The problem I am experiencing is that some where and some how the two columns are not horizontally aligned properly - neither in the
report view nor in the exported PDF.
The added difficulty is the problems created by this misaligned labels while printing on a custom paper that is smaller in size. Though I can setup the custom dimensions and get the desired 4x2 labels on the screen the printing doesn't sit in proper places
on a preformatted paper.
Is there any solution(s). Thanks in advance.Hi Christal,
Based on my understanding, you want to make multi columns go across then down in the report.
For your requirement, on query level, we should add an additional field(DisplayColumn) in the dataset, the field indicates the column in which the corresponding records will display. When designing a report, we add a group in the report, then insert some
tablixes into the detail row. Within the nested tablix, we specify filter expression based on the value of DisplayColumn field. So that we can decide which data should display on which column. When previewing the report, you can find the report displays like
newsletter-style. Besides, if we design the report like this, the report can supports all renders. For detail information about how to design the report step by step, please refer to this article:
Creating Multiple-Column Reports [SSRS] .
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
Helllo,
I"m using Application Express 3.1.2.00.02
I want to do a 3 columned report.
I just saw this thread ( from 2005 - that's why I started a new)
Multi-columned report
When I applied the template to my report region, I got the following error:
ERR-1025 Erreur lors du traitement de l'expression PL/SQL. mod(1,3)0
Can someone tell me why?
thanks,
Roseline
My Query - select ename from emp
The template I created step by step:
Create a report row template....
Workspace>Builder-Application>Shared Components>Themes>Templates...Create
Template Type: Report
Creation Method: From Scratch
Name: One Field - Three Column
Theme: your choice
Template Class: Standard
Template Type: Named Column (row template)
Edit the report Template you just created and modify the following:
Row Template 1: <td width="150">#1#</td>
Row Template Condition: Use Based on PL/SQL Expression
Row Template 1 Expression: mod(#ROWNUM#,3)0
Row Template 2: <td width="150">#1#</td></tr><tr>
Row Template Condition: Use Based on PL/SQL Expression
Row Template 2 Expression: mod(#ROWNUM#,3)=0
Before Rows: <tr>
After Rows: </tr>
Create a query based report region. For my test I used "select ename from emp". Have the report use the row template.
This is just a quick and dirty sample. For better look and feel you'll need to do your own formatting...Yes, that's it.
However, that I SEE is only 4 name ( every 3 name of the list) on the same line:
ENAME WARD ENAME BLAKE ENAME KING ENAME JAMES
1 - 14 But when I cut and paste from Internet Explorer to a text file,m=, even if I see all the result on the same line, when I past it, it's formated :
ENAME WARD
ENAME BLAKE
ENAME KING
ENAME JAMES
1 - 14
I have 14 results in my database:
In My SQL
select * from emp
EMPNO ENAME JOB MGR SAL DEPTNO
7369 SMITH CLERK 7902 800 20
7499 ALLEN SALESMAN 7698 1600 30
7521 WARD SALESMAN 7698 1250 30
7566 JONES MANAGER 7839 2975 20
7654 MARTIN SALESMAN 7698 1250 30
7698 BLAKE MANAGER 7839 2850 30
7782 CLARK MANAGER 7839 2450 10
7788 SCOTT ANALYST 7566 3000 20
7839 KING PRESIDENT - 5000 10
7844 TURNER SALESMAN 7698 1500 30
7876 ADAMS CLERK 7788 1100 20
7900 JAMES CLERK 7698 950 30
7902 FORD ANALYST 7566 3000 60
7934 MILLER CLERK 7782 1300 10
What I would like, is having this display:
SMITH ALLEN WARD
JONES MARTIN BLAKE
CLARK SCOTT KING
TURNER ADAMS JAMES
FORD MILLER
How can I modify the template?
thanks again Roseline -
Changing details layout for a multi column report
I have a report that contains linked 2 subreports. The report has a details layout width of 2.5 inches which will create a 3 column report (Format groups with multiple columns is checked) . This works fine for my first subreport as it is small enough to fit that width. However that isn't enough room for my second sub report. Ii need to change the details layout width from 2.5 inches to 3.5 for a 2 column report then back again when that section is finished. Is this possible?
i believe you can depends on where you place you subreports
insert a 2nd group under the first, place 2nd report in the new details section
in the section expert next to the details section check off underlay.
this will lay them out next to each other but grow independetly -
Multi Columns Report Switch replacement
Hi, I have a multiple columns report with 2 fix columns and 10 selectable ones.
I'm selecting the columns with a checklistbox an it works
The Header is easy just have to put "=Parameters!Columns.Label(0-10)" as an expression in each columns heading
The hard part that I'm not getting is that I'm currently using a Switch statement in the fields values and I want to put it into Custom Code.
Why Custom Code is that I was ask to insert 15 other fields value in my selection list. I just don't want to be ask to add more fields x 10 columns.
Here's part of my Switch, I have 10 of them (0-10) for each columns.
=Switch(Parameters!Columns.Value(0)="Phone"
,Fields!Phone.Value,
Parameters!Columns.Value(0)="FirstTime"
,SSRS.Utility.TimeFromMilliSeconds(Fields!RingTime.Value),
Parameters!Columns.Value(0)="ProcessTime"
,SSRS.Utility.TimeFromMilliSeconds(Fields!ProcessTime.Value),
Parameters!Columns.Value(0)="TalkTime"
,SSRS.Utility.TimeFromMilliSeconds(Fields!TalkTime.Value),
Parameters!Columns.Value(0)="Transferred"
,Fields!Transferred.Value)
Notes that some of the fields are FIELDS and others are call in function (assembly's)
Here's one of my many variation of custom code
Public Shared Function FixColumns(Byref Colonne as String) As String
SELECT CASE Colonne
CASE "Phone"
Return "Fields!Phone.Value"
CASE "FirstTime"
Return "SSRS.Utility.TimeFromMilliSeconds(Fields!RingTime.Value)"
END SELECT
End Function
in the value columns fields
=CODE.Fixcolumns(Parameters!Columns.Label(0))
I would greatly appreciate any help
Denis B.Hi Denis B,
If I understand correctly, you want to use custom code replace Switch expression in your report. Please refer to the following custom code:
Public Shared Function FixColumns(Byref Colonne as String, A as String, B as String, …… , F AS String) as String
Select Case Colonne
Case "Phone"
Return A
Case "FirstTime"
Return B
Case Else
Return F
End Select
End Function
Then, we can use following expression to calculate the values:
=CODE.Fixcolumns(Parameters!Columns.Label(0), Fields!Phone.Value, SSRS.Utility.TimeFromMilliSeconds(Fields!RingTime.Value), …… , Fields!Transferred.Value)
As per my understanding, Return Statement in a Function, Get, or Operator must return a value, we cannot return an expression via custom code. So, we use this fields or assembly as a variable in the custom code.
Hope this helps.
Regards,
Alisa Tang
If you have any feedback on our support, please click
here.
Alisa Tang
TechNet Community Support -
Hi Everyone,
All our reports are multi lingual. By setting the "NLS_LANG" parameter the report displays french or spanish or english strings. The problem I am having is when I open this report in the report builder and make any change and save it, the report no longer displays the strings based on the "NLS_LANG" parameter. It only displays the strings in one language based on the "NLS_LANG" value that was set, when the report was saved.
Can any one help me with this issue. How do I save this report so that it continues to display strings/boiler plates based on the "NLS_LANG" parameter.
Thanks!Post Author: sharonmtowler
CA Forum: General
did you try to surpress the field not the section if there is no data. there is also underlaying the section, so it appears to print next to the other section,
go to format section. select underlay for the section above (details A) that may help -
Hi,
I'm trying to make a 2d column chart of quiz entry results with multiple series (one per possible answer) but it's not working as intended. I have 5 series all with code like:
select null link, substr(question, 1, INSTR(question,' - ',1,1)), count(answer) from quizdata
where answer ='Strongly Disagree'
and :P13_DEP = emp_dep
and to_char(sysdate, 'YYYY') = to_char(ins_date, 'YYYY')
group by substr(question, 1, INSTR(question,' - ',1,1))Except with the answer being different (Agree, Strongly Agree~). However, when I load the page it only shows the results of the first series (Strongly Disagree, or if I delete that then Disagree)...anyone see what I'm doing wrong?
x-axis = question
y-axis = count (number of people to select that option this year)
There should be 5 columns per question.
MikeFor anyone who has a similar issue with multiple series being displayed the reason for my error was that I didn't specify a name for the value...since all of them were count(c) they clashed; making it count(c) "Disagree" etc made it display as intended.
Mike -
Groups and Multi Column Reports
I'm using CR for .Net 2003. I've been running into a problem with the grouping feature, where groups are spanning multiple columns and are not being kept together, but only when spanning b/w columns. However, the groups aren't being broken between pages. Anyone else running into this? Here's my setup:
Page Header
Group Header
Details
Group Footer
Page Footer
The "Group Header", "Details" and "Group Footer" are all set to Keep Together in the Selection Expert. The layout of the "Details" section has "Format Groups with multiple Columns" checked. (I only have two columns) And my group options has the option "Keep Group Together" selected.
I was under the impression that if I have "Keep Group Together" it would keep the group together regardless of an end of page, or an end of column...but, maybe I have something misconfigured.
advTHANKSance for any help!Confirm version of Crystal Reports and version of .NET.
Also, have you applied any Service Packs to your version of CR?
Ludek -
Multi-column report that repeats columns
I don't know if this is possible:
COL A | COL B | COL C | COL A | COL B | COL C
1 | 2 | 3 | 4 | 5 | 6
7 | 8 | 9 | 10 | 11 | 12
So it would be a report being pulled from a single table, but the columns would be repeated across the page.
Has anyone ever done something like that?Okay, firstly, the column titles can be defined any way you want except that they have to be unique names. This is called "aliasing" the columns.
select colA as A1, colB as B1, colC as C1, colA as A2, colB as B2, colC as C2
from my_table
...What I am struggling with is the fact that you seem to have 12 distinct values (ostensibly coming from 12 distinct columns), so why would you want to show the same column name repeatedly?
If you are trying to combine information from several columns but place them in different rows, you can use a union and sort in this manner:
select A1, B1, C1, A2, B2, C2
from (
select ID, 1 as SORT_BY, colA as A1, colB as B1, colC as C1, colD as A2, colE as B2, colF as C2
from my_table
union
select ID, 2 as SORT_BY, colG as A1, colH as B1, colJ as C1, colK as A2, colM as B2, colN as C2
from my_table
order by ID, SORT_BYCan you give us an example of a record to go with the output? -
Hi,
I am newbie in Crystal report. I stuck into a design problem of crystal report. I would like to design a report as per the desired-report.png (attached).
My dataset is like report2.xml and relationship specified in relationship-diagram.png (attached)
The problem is crystal report make the Cartesian product of these two table which result in several rows. I am using .Net windows application to build this report.
Could anyone please suggest how to design this type of report ?This is the desired report format
Id
StoneDescription
Rate
Weight
Value
Carat
Id2
Metal
Rate3
Weight4
Value5
1
Diamond
0.35
0.07
4375
0.35
1
Loose Diamond
0
0
0
2
Diamond
1.15
0.23
15525
1.15
2
Silver Utensils
48
20550
976125
3
Diamond
4.25
0.85
63750
4.25
3
Gold 18K
2250
103.21
232223
4
Diamond
0.8
0.16
12800
0.8
4
Gold 22K
2750
204.3
561825
5
Diamond
0.2
0.04
3300
0.2
5
Sovereign
2810
88
247280
6
Diamond
1
0.2
17000
1
7
Diamond
9.43
1.89
165025
9.43
8
Diamond
0.5
0.1
9000
0.5
9
Diamond
1.7
0.34
127500
1.7
This is the Cartesian product what I am getting in report. For example every diamond row is multiplied to metal rows. As shown in example below-
Id
StoneDescription
Rate
Weight
Value
Carat
Id2
Metal
Rate3
Weight4
Value5
1
Diamond
0.35
0.07
4375
0.35
1
Loose Diamond
0
0
0
2
Diamond
1.15
0.23
15525
1.15
1
Loose Diamond
0
0
0
3
Diamond
4.25
0.85
63750
4.25
1
Loose Diamond
0
0
0
4
Diamond
0.8
0.16
12800
0.8
1
Loose Diamond
0
0
0
5
Diamond
0.2
0.04
3300
0.2
1
Loose Diamond
0
0
0
6
Diamond
1
0.2
17000
1
1
Loose Diamond
0
0
0
7
Diamond
9.43
1.89
165025
9.43
1
Loose Diamond
0
0
0
8
Diamond
0.5
0.1
9000
0.5
1
Loose Diamond
0
0
0
9
Diamond
1.7
0.34
127500
1.7
1
Loose Diamond
0
0
0
1
Diamond
0.35
0.07
4375
0.35
2
Silver Utensils
48
20550
976125
2
Diamond
1.15
0.23
15525
1.15
2
Silver Utensils
48
20550
976125
3
Diamond
4.25
0.85
63750
4.25
2
Silver Utensils
48
20550
976125
4
Diamond
0.8
0.16
12800
0.8
2
Silver Utensils
48
20550
976125
5
Diamond
0.2
0.04
3300
0.2
2
Silver Utensils
48
20550
976125
6
Diamond
1
0.2
17000
1
2
Silver Utensils
48
20550
976125
7
Diamond
9.43
1.89
165025
9.43
2
Silver Utensils
48
20550
976125
8
Diamond
0.5
0.1
9000
0.5
2
Silver Utensils
48
20550
976125
9
Diamond
1.7
0.34
127500
1.7
2
Silver Utensils
48
20550
976125
1
Diamond
0.35
0.07
4375
0.35
3
Gold 18K
2250
103.21
232223
2
Diamond
1.15
0.23
15525
1.15
3
Gold 18K
2250
103.21
232223
3
Diamond
4.25
0.85
63750
4.25
3
Gold 18K
2250
103.21
232223
4
Diamond
0.8
0.16
12800
0.8
3
Gold 18K
2250
103.21
232223
5
Diamond
0.2
0.04
3300
0.2
3
Gold 18K
2250
103.21
232223
6
Diamond
1
0.2
17000
1
3
Gold 18K
2250
103.21
232223
7
Diamond
9.43
1.89
165025
9.43
3
Gold 18K
2250
103.21
232223
8
Diamond
0.5
0.1
9000
0.5
3
Gold 18K
2250
103.21
232223
9
Diamond
1.7
0.34
127500
1.7
3
Gold 18K
2250
103.21
232223
1
Diamond
0.35
0.07
4375
0.35
4
Gold 22K
2750
204.3
561825
2
Diamond
1.15
0.23
15525
1.15
4
Gold 22K
2750
204.3
561825
3
Diamond
4.25
0.85
63750
4.25
4
Gold 22K
2750
204.3
561825
4
Diamond
0.8
0.16
12800
0.8
4
Gold 22K
2750
204.3
561825
5
Diamond
0.2
0.04
3300
0.2
4
Gold 22K
2750
204.3
561825
6
Diamond
1
0.2
17000
1
4
Gold 22K
2750
204.3
561825
7
Diamond
9.43
1.89
165025
9.43
4
Gold 22K
2750
204.3
561825
8
Diamond
0.5
0.1
9000
0.5
4
Gold 22K
2750
204.3
561825
9
Diamond
1.7
0.34
127500
1.7
4
Gold 22K
2750
204.3
561825
1
Diamond
0.35
0.07
4375
0.35
5
Sovereign
2810
88
247280
2
Diamond
1.15
0.23
15525
1.15
5
Sovereign -
Oracle Lite Multi Column Updates
I am new to Oracle Lite. I had heard that there is some problem with Oraclelite w.r.t. handling multi column update. Something like this MAY or MAY NOT work:
Update Emp
set ename = 'ABC',
job = 10,
desc = (select 'desc' from dual)
where empno = 10;
Is that true? Any feedback...
Thanks,
SDI am new to Oracle Lite. I had heard that there is some problem with Oraclelite w.r.t. handling multi column update. Something like this MAY or MAY NOT work:
Update Emp
set ename = 'ABC',
job = 10,
desc = (select 'desc' from dual)
where empno = 10;
Is that true? Any feedback...
Thanks,
SD I have not seen or heard of any multi-column update issues as of 5.0.1 -
How to design crystal report multi column
how to design crystal report multi column
for example
id 1001 id 1002
id 1003
name dinesh name dk name
dkn
address kota address jaipur address delhi
pin 3260356 pin 546332 pin
675942
id 1004 id 1005
id 1006
name dinesh1 name dk1 name
dkn
address kota1 address jaipur1 address delhi
pin 32606 pin 546345 pin
675942
and so on....................DN
I am afraid you have come to the wrong place. MS does not support Crystal reports except for
"Microsoft supports setup and installation for the Crystal Reports products shipped with the Professional and Enterprise Editions of Microsoft Visual Basic for Windows versions 3.0, 4.0, 5.0 and 6.0."
For other support you need to contact
For other Crystal Reports support, please do not contact Microsoft. Please contact Crystal Decisions (formerly Seagate Software), which now owns and supports Crystal Report Writer.
http://support.microsoft.com/kb/100368
Wanikiya and Dyami--Team Zigzag -
Oracle APEX 4.0 - Interactive Report - Table Column Filter Issue
Environment: Oracle APEX 4.0 - Interactive Report - Table Column header Filter Issue
We have developed an interactive report using Oracle APEX 4.0, which contains a record count of around 3,000 Rows. All the rows values are unique in nature. When we try to filter the same with the help of column header filter option available in the interactive report,We get only 1000 records.
Could some one help us, why this behaviour under APEX Table Column Header Filter as if it does not display beyond 1000 distinct values.
Is there a way or workaround on how to get all the records in the column header filter?
Thanks in advance.
KrishHi
Thanks for the advice and this issue has been moved to the below URL
Oracle APEX 4.0 - Interactive Report - Table Column Filter Issue Posted: No
Krish -
Financial Reporting exporting to Excel - Column Width Issue
Hello Experts,
We are having an Hyperion Financial reporting issue from long time. I spent so much time and still I couldn't able to make it work.
I would like to take help you guys.
Issue: In Hyperion Financial Reporting, if I change the columnA size 10 to 20 and saved the report.
In work space, I have refreshed the report ( I do the latest timestamp), run the report and exported into excel. The Coloumn size is not changing. I have tried in many ways, Still it's not working for me.
Could any one try and let me know whether it's working for you or not. and please advice me how to make this work if this is working for you.
Thanks a lot for your help
Thanks,Hi again,
I am not sure if you can extract the formatting to Excel... I had also issues.
Can you please try to retrieve the report into Excel via Smartview? Check page 136 of http://docs.oracle.com/cd/E40248_01/epm.1112/smart_view_user.pdf
Regards,
Thanos -
Creating Multi-Column API radiogroup based on LOV
Hi everyone!
I was wondering whether or not it is possible to create a 3 column radiogroup based on the APEX_ITEM.RADIOGROUP API in APEX 3.0?
For instance, my radiogroup is based on a user's interest level and is supposed to look like: oTest oProduction oBoth
The values returned by whichever button is selected is based on a table value.
I'm having trouble making this multi column instead of 1 column with multiple rows. I need to set these up with an LOV similar to STATIC2:Test;TEST,Production;PROD,Both;BOTH
I also cannot create this radio group as a page item because they must display based on a query issued by a report region on this page.
Any ideas // suggestions?
Thanks,
Eric
Edited by: user11685190 on Oct 12, 2009 9:50 AMAndy,
I'm actually going to have a radiogroup within the report column itself. The suggestion you gave is actually why I'm mixed up as to how to do this....I've always used Apex page items to create my radiogroups, and then you can simply add the LOV and change the number of columns and it's all set up for you.
This radio group is actually going to be within a row queried by the report. The report is essentially a 'checkbox selection screen' that also allows the user to select which interest level they hold for each selection (interest level is represented by this 3-option radio group). Therefore what you're going to see on the screen is ( [] represent checkboxes, o represent radio buttons):
Banner INB
[]Planned Outage Notification oTest oProduction oBoth
[]Unplanned Outage Notification oTest oProduction oBoth
Banner Self Service
[]Planned Outage Notification oTest oProduction oBoth
[]Unplanned Outage Notification oTest oProduction oBoth
My question was mainly geared towards whether or not you can add a static LOV to an API radiogroup (apex_item.radiogroup(1,interest_lvl,blah)), so that it could look like:
apex_item.radiogroup(1,1:2:3, NULL, 'Test':'Production':'Both') as result.
The only documentation I can find deals with issuing a single return value to these API radiogroups. I actually need a three column API radiogroup that hold's three different values based on which group member the user selects. If you can only issue one return value per group, I would have to define three under the same global variable except changing the return value and displayed text for each...such as:
apex_item.radiogroup(1,1,NULL,'Test') || apex_item.radiogroup(1,2,NULL,'Production') || apex_item.radiogroup(1,3,NULL,'Both) which will hopefully display as: oTest oProduction oBoth
I'm going to have to concatenate some  s in between so my radio group buttons and labels are actually seperated, but this may be the right idea.
I'm going to toy around with this a little more today, I'll post my results.
Thanks for your quick responses!
Eric
Maybe you are looking for
-
/BIC/ namespace not modifiable, can't create PSA delete variant in process
Hello, When I attempt to create a PSA delete process in a process chain, I get an error message as such: Namespace '/BIC/' must be set to 'changeable' (transaction SE06) Message no. R7063 I have had Basis dot his for me before and it worked, but it t
-
List of pending Excise Invoices
Dear Experts, I need a list of Billing Documents for which Excise Invoice (J1IIN) has not yet been created. Can someone advise how I can generate this list? Cheers, Mihir
-
Hi - I have a 1920x816 clip that I need to resize to 16:9 for a DVD. I would like it if possible to be full widescreen without letterboxing. What window size would be the best and is this something that I would resize using scale in FCP? Thanks.
-
Why does the creative cloud cost 50% more in the UK than the US ?
Typical American corporate attitude to the rest of the world. We give them the internet and Raspberry Pi and all they do is miss the point. Is it any wonder people don't like american companies ? I would like an explanation.
-
Handling Large list with 150+ columns(40+ Searchable) and 100000 rows.
Hi All, We are working on project architecture for project with the following issue: 1. List having 150+ columns out of which: - 40+ columns need to have search (i.e Indexing) - 30+ lookup columns - 10+ date time columns - 40+ multiline text columns