Format on multiple columns issue ...
Post Author: needhelptoo
CA Forum: Formula
I'm having issues with the way the data is displaying.I am using the Format Multiple Columns.I have 3 across set.I have the Down and Across checked.My report with the 3 columns is a custom labels sheet.I need to have the down part always be 8 columns.i can't set that anywhere like the 3 columns across.as the sheet used to print the info are labels and perforated for each label (column)I have the following:1.
Group Header #1 on InvoiceNumber. This have my invoice header
information related to the customer of the invoice. Keep Together
selected.2. Group Header #2 on a formula {@sort}. This is suppressed and as a {@reset} formula in it.3. Details section has {@accum} and section suppressed. Keep Together selected.4. Group Footer #2 as the {@display} formula with Paragraph Formatting. Keep Together selected.5. Group Footer #1 on InvoiceNumber has add'l customer related info for the invoice.so 5 sections in my design view with 2 groups.It'll display the information in InvoiceNumber order in ascending order down first.But the last one on the 1st column is only part of the invoice info and the rest of it starts from the top of the 2nd column.and
then shifts all the columns according to that. Which of course then
does not print on the allotted space of the actual label. part of info
is on one and the rest on another.obviously this won't work. I think i tried everything I can think of and I'm not expert. Barely a novice at this.any help would be appreciated!
Post Author: V361
CA Forum: Formula
In the layout tab, have you tried the Gap between details ?, you should be able to produce a "mailing label type" report using detail size and gap between details...
Similar Messages
-
Post Author: vman
CA Forum: General
I am working a report that has had the details section format with multiple columns selected. I want to change the report and remove the check box, but it is grayed out. How can I get the report details section back to default without the detail size constraints?Post Author: rcoleman
CA Forum: General
Bearing in mind that I'm a relative newbie to the report writing/Crystal world...the only thing I can think of is that maybe the report was written using an older version of Crystal and this option wasn't available. Another possibility, if it's a sub-report, you might try making a copy of the sub-report saving it with the same name, deleting the old sub-report, replacing it with the copy you made. I know that has worked for me when I've had problems with the re-import when opening is greyed out. -
Repeat "Detail a" section when using "Format with Multiple Columns" layout
I am using Crystal Reports for .NET (VS 2008) and I would like to get the "Detail a" section to repeat at top of a second column containing additional data in "Detail b" section. Please see below for example, specifically "Detail a (2)". Any tips or help much appreciated.
Detail a (1)_____Detail a (2)
Detail b (1-1)___Detail b (2-3)
Detail b (1-2)___Detail b (2-4)
--Detail b (1-3)___Detail a (3)
Detail a (2)______--Detail b (3-1)
--Detail b (2-1)
--Detail b (2-2)
Thx, Scottthe format with multiple columns i dont believe will show you the value 2x, but allows you to display the values across instead of down.
i think you may want to use a sub report -
Index on multiple columns issue Oracle 9i
Hi,
I have a couple of issues and would appreciate it if anyone can help:
a). I have a table that has indexes on multiple columns, so for example:
Index 1 on Org_Type, Org_Id and Effdt
Index 2 on FICE_CD, Org_Id and Effdt etc.
I have 9 such indexes and all of them hav Effdt in it.
My question is if I query the table and always use a subquery to get the max Effdt rows form the table, will the above indexes help in my query or will I have to create another index just on Effdt so that my Query runs faster.
b). I have a target table with more than 20 million rows in it. This table has an Effdt too and I would like to find the max effdted row in this table as well so that I can then use that date-time stamp in my ETL tool to do an incremental update from my source table each night. But since the amount of rows is huge, my query runs forever. I have a normal non-unique index on Effdt. Is there another way I can optimize this table? Currenlty I have resorted to getting all rows from source that are >= (sysdate -1), but I would prefer to get the max date-time stamp from the target table itself.
Thanks,
CJHi ,
Thanks for the input. I just used the explain plan and found that there is a full table scan happening on the PS_EXT_ORG_TBL, so I guess I will have to create an index specifically on the effdt field. The sql is as follows:
Select E.EMPLID, E.INSTITUTION, E.EXT_ORG_ID, E.EXT_CAREER, E.EXT_DATA_NBR, E.EXT_SUMM_TYPE, E.UNT_ATMP_TOTAL, E.UNT_COMP_TOTAL,
E.CLASS_RANK, E.CLASS_SIZE, E.PERCENTILE, E.UM_GPA_EXCLUDE, E.UM_EXT_ORG_GPA, E.CONVERT_GPA,
E.UM_EXT_ORG_CNV_CR, E.UM_EXT_ORG_CNV_GPA, E.UM_EXT_ORG_CNV_QP, E.UM_GPA_OVERRIDE, E.EXT_ACAD_LEVEL,
F.FROM_DT, F.TO_DT, G.EXT_DEGREE_NBR, G.DEGREE, G.DESCR "DEGREE DESCR", G.DEGREE_DT, H.EFFDT,
H.EFF_STATUS, H.SCHOOL_CODE, H.LS_SCHOOL_TYPE, H.ATP_CD, H.CITY, H.STATE, H.COUNTRY,
H.DESCR "SCHOOL DESCR", H.PROPRIETORSHIP
FROM PS_EXT_ACAD_SUM E, PS_EXT_ACAD_DATA F, PS_EXT_DEGREE G, PS_EXT_ORG_TBL H
WHERE E.EXT_ORG_ID = F.EXT_ORG_ID AND E.EMPLID = F.EMPLID
AND E.EXT_ORG_ID = G.EXT_ORG_ID AND E.EMPLID = G.EMPLID
AND E.EXT_ORG_ID = H.EXT_ORG_ID
AND H.EFFDT=(SELECT MAX(EFFDT) FROM PS_EXT_ORG_TBL H1
WHERE H.EXT_ORG_ID=H1.EXT_ORG_ID
AND H.EFF_STATUS=H1.EFF_STATUS
AND H.SCHOOL_CODE=H1.SCHOOL_CODE
AND H.LS_SCHOOL_TYPE=H1.LS_SCHOOL_TYPE
AND H.ATP_CD=H1.ATP_CD
AND H.CITY=H1.CITY
AND H.STATE=H1.STATE )
My source DB is a copy of the transactional database, so there is no danger of new rows coming in. -
Hi Crystal gurus.
I'm having the report which consist of more that 500 rows , so therefore I decided to implement "Format with multiple rows" feature, which is available in Section Expert area. Everything is just fine, I'm getting multiple columns, but how to suppress the header which is not needed for the last page, because the records are only in the first column.
I can easily copy/paste the header as such, but I do not know how to suppress it. Tried to search here, but found nothing.
Many thanks in advance McmerphyIf it truely is the last page of the report, you could try a conditional suppression where pagenumber = totalpagecount. But this would always suppress the header selected for suppression, and if you should get another column on the last page, it will still suppress.
Debi -
Crystal Report multiple columns
I'm having trouble with Crystal Report's multiple columns in the detail section.
The details section, the multiple columns is checked then the printing direction is across - down. Since the form I am using is a pre-printed form, by estimation it can only allow at best 30 records in one page, that is 15 in the 1st half of the column and another 15 records on the next. For visual:
Invoice No Invoice Date invoice total Invoice No Invoice Date invoice total
1 16
2 17
3 .
. 28
14 29
15 30
For some reason there is this giant space after the last set of rows before it prints out the page footer. This giant blank section disrupts the layout of the page footer section.
Here are some info on the details section as configuration is involved:
Format with Multiple Columns - checked
In Paging: New Page after 30 visible Records
In Layout: Width: 3.5 in Height: 0.0 in
Horizontal: 0.0 in Vertical: 0.0 in
Printing Direction: Across-Down
Anyone knows how to suppress it or have the page footer move upwards?
P.S To see actual pre-printed form, please download this [http://www.mediafire.com/i/?csu0q75mjynys2k]
Edited by: Khristine Angelei Basilla on Mar 1, 2012 8:34 AMNow why didn't I try that out. Actually, initial plan was 2 subreports.
So when I added the second subreport in the group footer section, it only prints the details on the last page, which should not be the case as I need to be printed on all pages.
I'll test it out. I'll post an update soon.
Thanks. -
Cross-Tab in multiple columns on same page rather than on multiple pages
I have a report that shows temperature readings and the date/time of the reading in a cross tab as a part of a report. The amount of readings causes the cross-tab to take up multiple pages. What I would like to do is set the cross tab to appear three or four times on the same page before going to the next page to reduce the number of pages in my report. Any ideas on how I can do this?
This is what I have:
Page 1:
Date/Time1 | Temp1
Date/Time2 | Temp2
Date/Time3 | Temp3
Date/Time4 | Temp4
Page 2:
Date/Time5 | Temp5
Date/Time6 | Temp6
Date/Time7 | Temp7
Date/Time8 | Temp8
What I want is:
Page 1
Date/Time1 | Temp1..............Date/Time5 | Temp5..............Date/Time9 | Temp9
Date/Time2 | Temp2..............Date/Time6 | Temp6..............Date/Time10 | Temp10
Date/Time3 | Temp3..............Date/Time7 | Temp7..............Date/Time11 | Temp11
Date/Time4 | Temp4..............Date/Time8 | Temp8..............Date/Time12 | Temp12
Page 2
Date/Time13 | Temp17............Date/Time21 | Temp21............Date/Time25 | Temp25
Date/Time14 | Temp18............Date/Time22 | Temp22............Date/Time26 | Temp26
Date/Time15 | Temp19............Date/Time23 | Temp23............Date/Time27 | Temp27
Date/Time16 | Temp20............Date/Time24 | Temp24............Date/Time28 | Temp28hello,
Don's suggestion of creating a "mock cross tab" is a good one.
you can also try this Multiple Columns formatting idea if you wish:
1) create a new report
2) create a group on your date field
3) put a summary on your Temp field and move it into the group header of the group
4) suppress the details section and the group footer
5) right click on the details section header in the design mode and choose Section Expert
6) in the Common tab, choose Format With Multiple Columns
7) in the Layout tab, choose a Width of about 2.66"
8) choose Down Then Across for Printing Directions
9) choose Format Groups With Multiple Columns
10) bring this new report into your existing report as a subreport
jamie -
Repeat group header in multiple columns
I have a group and the details section is set to format with multiple columns. I have the repeat group header on each page option checked but I also want it to repeat group header if the group spans multiple columns. Does anyone know how to do this?
Thanks for your reply but I'm not sure how you copy a group header into another column if the data that is displayed there is dynamically displayed. Please advise. Thanks
-
Label Column When Formatting With Mutliple Columns
When creating a report with multiple columns (setting the Format With Multiple Columns property in the Details section), is it possible to put a label column on the left side of the page, followed by multiple data columns? The idea would be something like this:
8/1/08 8/2/08 8/3/08 8/4/08 8/5/08
====== ====== ====== ====== ======
Metric Label 1 C1D1 C2D1 C3D1 C4D1 C5D1
Metric Label 2 C1D2 C2D2 C3D2 C4D2 C5D2
Metric Label 3 C1D3 C2D3 C3D3 C4D3 C5D3
Metric Label 4 C1D4 C2D4 C3D4 C4D4 C5D4
Metric Label 5 C1D5 C2D5 C3D5 C4D5 C5D5
The date on top will be a group 1 header. The metric labels to the left will be detail rows.
Fuskie
Who is turning once again to the CR Gurus...Hi Fuskie,
A quick suggestion will be to use a cross-tab instead of multiple columns to generate the desired output.
Another suggestion will be to use a subreport. The main report will be used to type the labels on the left side, and the subreport will be used to display the multiple columns information.
1. Create a report that will be used as a container for your multiple column report.
2. Add labels in the Report Footer of the report.
3. Insert your multiple columns report has a subreport in the Report Footer on the right of the labels
you created in the main report. On the main report
In the subreport, if you want to see the Group to appear as columns at the the top, you will have to include the group in the multiple-columns, and I will suggest to format the Group Footer with the option "Print at the Bottom of Page". This will ensure that your Group Header will always appear at the top like in a cross-tab, otherwise, it might display your data like:
8/1/08 C2D3
===== C2D1
Metric Label 1 C1D1 C2D1
Metric Label 2 C1D2 C2D2
Metric Label 3 C1D3 C2D3
Metric Label 4 C1D4
8/2/08
====
C2D1
C2D2 -
Multiple Column with no information
I have a Crystal Report 10 report made that uses multiple columns for the data in each group. The printing direction is set to be "Across then Down".
Suppose a group has 10 rows. When I preview and export from Crystal Developer 10, the two columns show up with 5 rows each. When this report is deployed and created on Crystal Enterprise 10 (or I also tried this on Business Object InforView 3.1) the two columns still show up, but only the left column holds the data (i.e., it has all 10 rows) and the right column is blank.
Does anyone know if there is a setting that I am missing somewhere in my report setup?
Further information:
Checked options:
- Details > Common:
- Free-Form Placement
- Keep Together
- Format with Multiple Columns
- Details > Layout
- Printing Direction: Across then Down
- Group Options has "Repeat Group Header On Each Page" checked
Edited by: Ryan Beaulieu on Nov 7, 2008 10:07 PMI've done some more different scenarios, and the same this is seen if it's created as an Excel sheet, but I also noticed that the results that I am getting on Crystal Enterprise 10/InfoView XI 3.1 are exactly what I am seeing if I am working in Crystal Developer and set the layout to be "Down then Across". It seems like Crystal Enterprise is losing this setting or overriding my setting of "Across then Down" for whatever reason.
-
I'm doing my 2nd ever Crystal Report using the Visual Studio 2008 version. The report has 2 different types of detail lines, each with their own corresponding heading. I made two groups, two details and set conditional logic to determine which one prints for each type of data. This works great. But I need 1 (and only 1) of the details to do a "Format with multiple columns" type display with 2 or 3 columns of the data fields in each row of the dataset for this particular detail. I can't see a way to set "Format with multiple columns" for only 1 of the detail lines. I'm thinking there must be some way to do what I want (perhaps an array?) but I can't find any examples on the web or in the books I have. FYI I tried doing this task with a Sub Report for the multi column detail but I ran into problems with the headings, pagination, and using multiple datasets so I abandoned that approach. Could someone please offer some help?
Hi Paul,
I don't think it is possible to make one detail section with multi column and the other without. I think by using fake group you can get it. Try this
Create a formula like
whilereadingrecords;
true
Now insert a group on this formula as the multi column option can apply to group footer or we may not depending on the option that we have in section expert>Layout>Format Groups with Multi Column.
So place the fields that you dont want mulati column option in the group footer and see the preview.
I hope this may help!
Regards,
Raghavendra -
Post Author: Donamese
CA Forum: General
I am trying to create a report that is split between 3 companies and all states using a distinct count of individuals (as there are duplicates in the data pool). I would like the report to look like:
State Company 1 Company 2 Company 3
AL 0 16 5
AR 3 9 4
AZ 5 0 7
Currently I can only get it to list vertical like:
Company 1
AL 0
AR 3
AZ 5
Company 2
AL 16
etc....
I am unable to get the formating of multiple columns with the grouping. Is it possible? And ifPost Author: rookie10
CA Forum: General
Try inserting a Cross Tab in the Report or page header. Its pretty much like a pivot table.
Use State as the Row, Company as the Column, Individuals as Summarized field using Distinct Count as the summary type.
In customized style part of the cross tab you can hide some of the totals and such to get pretty close to the report above - supress subtotals and such.
Hope this works for you. I was pretty excited when I found this feature in Crystal.
Rookie10 -
Primary Key Multiple Column with Date - parameter issue
All,
I am having an issue that I cannot find the answer to. I have looked high and low to no avail. Please help.
The issue at hand is that I have a table that has a multiple column primary key and one of the columns happens to be a date and the other is a string. I have a basic search and I want an update picture in the results table that the users can click on and go to a different page to update that record. The issue is when I fire an action based on the update picture I also want to set parameters based on the record that I selected. So I set the string parameter and that works fine. The issue is with the date. When i set the date parameter it works but it chops off the timestamp. Later when I try to get this parameter 'pageContext.getParameter("dateParameter");' it will bring in a date like 15-Dec-2008 but I need the entire date and timestamp (i.e. 15-Dec-2008 10:20:33) to correctly identify the record.
Please help!
Thanks,
Colby JHi
since every parameter go in url as a string format so u will never get the date parameter with complete timestamp,the solution would de
1.) Set a fire action on update picture,give its event name as "update",
2.) clicking on update picture will fire this event .
3.) in processFormrequest method of controller
OAApplicationModule am = pageContext.getApplicationModule(webBean);
if ("update".equals(pageContext.getParameter("event")))
// this will give the select row where update is clicked
String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
VORowImpl row = (EmployeeSummaryVORowImpl)am.findRowByRef(rowReference);
Timestamp sdateVal=(String)row.getAttribute("Date value");
// this will transfer the values to next page
pageContext.putTransactionTransientValue("transferdvalue",sdateVal);
// and in the next page u can get the value like this
timestamp getDateVal=pageContext.getTransactionTransientValue("transferdvalue"l);
hope this will resolve your issue,Please let me know if u face any issue
thanx
Pratap -
The issue with using the multiple columns sub-query in WHERE clause
Hi All,
my database version is 10.2.
the problem i am trying to deal with is that when I use multiple column sub-query in the WHERE clause of the SELECT statement, the actual row number returned from the sub-query is different from the whole statement.
And what I found is that, whenever there is NULL in any of those columns returned from the SUB-QUERY, the outer query will just return NULL for that whole row.
Here is an example:
select empno, ename, job, mgr, hiredate, sal, deptno from EMP
intersect
select empno, ename, job, mgr, hiredate, sal, deptno from t;
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7839 KING PRESIDENT NULL 17-NOV-81 5000 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10
select * from EMP where (EMPNO, ENAME, job, MGR, HIREDATE, SAL, DEPTNO) in (
select empno, ename, job, mgr, hiredate, sal, deptno from EMP
intersect
select empno, ename, job, mgr, hiredate, sal, deptno from t);
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10 If I specifically deal with the NULL situations for the columns which might return NULL, I can get the result right.
select * from EMP where (EMPNO, ENAME, job, NVL(MGR,-1), HIREDATE, SAL, DEPTNO) in (
select empno, ename, job, nvl(mgr,-1), hiredate, sal, deptno from EMP
intersect
select empno, ename, job, nvl(mgr,-1), hiredate, sal, deptno from t);
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7839 KING PRESIDENT null 17-NOV-81 5000 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10 the problem is that, I feel this is a very lame way of handling it.
So, I wonder or am asking if there is any better or standard way to do it?
any help would be highly appreciated.
ThanksHi,
As you discovered, INTERSECT treats NULL as a value, but IN does not.
What you did with NVL is one way to handle the situation. If there was a chance that any of the columns could be NULL, then you might prefer something like this:
select *
from EMP
where ( EMPNO || '~' ||
ENAME || '~' ||
job || '~' ||
MGR || '~' ||
TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')
|| '~' ||
SAL || '~' ||
DEPTNO
) in (
select EMPNO || '~' ||
ENAME || '~' ||
job || '~' ||
MGR || '~' ||
TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')
|| '~' ||
SAL || '~' ||
DEPTNO
from emp
intersect
select EMPNO || '~' ||
ENAME || '~' ||
job || '~' ||
MGR || '~' ||
TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')
|| '~' ||
SAL || '~' ||
DEPTNO
from t
);This assumes that you can identify some string (I used '~') that never occurs in the strings in these tables.
This is implicitly converting the NUMBERs. That's usually not a good thing to do. but explicitly converting them would make this even more tedious.
You should explicitly convert any DATEs to strings, however. Depending on your default format, and your data, you might get away with implicit conversions even for DATEs, but don't bet on it.
If you had to do this often, you might consider writing a user-defined function:
delimited_string (empno, ename, job, mgr, hiredate, sal, deptno) would return a string like
'7839~KING~PRESIDENT~~17-NOV-1981~5000~10'
This will make the coding easier, but beware: it will make the execution slower. -
Is it possible to make a condition for formatting multiple column?
I am working on financial report like Balance Sheet. So that I am going to have 2 column and 1 on left, 2 and 3 on right.
I tried to use format multiple columns but can't find any method to define where to break.when you create a stored procedure or use a command file( i believe) you can create CASE statements
CASE WHEN ='BLUE' THEN 'COLUMN1'
WHEN ='GREEN' THEN 'COLUMN2' END AS BUCKET1
when you use this as the dataset you will see this as a field
you can then group by the fields created.
Maybe you are looking for
-
HT204053 How can I delete an icloud account on a particular device?
I had bought an Ipda and signed in with my apple id/icloud id. I have recently given that ipad to my mom and got another one for myself. I want her to keep that apple id and iclould account and i want to create a new icloud id for myself on my new de
-
Hi guys, I would like to use airplay mirroring on apple tv (3rd generation) with my macbook pro late 2011, unfortunately the airplay option does not appear in the display preferences (see screenshot below). Did someone have this problem before? Pleas
-
I'm a long time FCP 7 user but seem to still be scratching my head over FCP X. I've set up a VCR directly into a MiniDV Camcorder which I'm feeding into my Mac. I was doing this on FCP7 yesterday and everything was working fine. But due to so
-
Binding properties of a root node and using fx:include.
I posted a downloadable example of this here: https://dl.dropboxusercontent.com/u/8788282/binding-test.zip I've noticed some understandable, but less than perfect behaviour with the way FXML initialization is done when using fx:include. I find it's
-
Nokia 6110 (Navigator)- PROBLEM: Contact name not ...
When I receive calls from some of my contacts, their names, as defined by me in the contact folder, does not show up but instead just their number. I find this only happens with contacts that have more than one phone number stored under their name in