I am working on a report that and by using Format with multiple columns and Format groups with multiple columns, the report displays data like this.
station 1 Station 4
Mike Barry
Sam Jim
Abe Gary
Station 2
Ruth
Ben
Karim
Station 3
Cat
Billy
Erin
And so on. The report is grouped by the station and I want the report to display data like this.
Station 1 Station 2 Station 3 Station 4
Mike Ruth Cat Barry
sam Ben Billy Jim
Abe Karim Erin Gary
I looked through the search information but did not find a way for me to list the group and the data side by side.
Open the section expert, layout, print direction, set "Across then Down".
Adjust the width of the section to fit 4 columns.
I figured it out. I needed to insert a group footer (not suppress it), and have it set to "print at bottom of page."
Related
I just started to use crystal report and struggling about some kind of negative list building.
I am getting two input lists into crystal report and as a result I like to output a list of items, which are not included in both lists.
Example:
List 1 contains Peter, John, Alice, Mary and Tom
List 2 contains Peter and Mary
My result list should show John, Alice and Tom
How can I do this with crystal report?
If by LIST you mean database table, use an Outer Join from A to B and apply a record selection criterion of: IsNull(B.some_column)
I have a report grouped by Supplier. In the details section for this group, there are customer names with other fields of information. The problem is that a customer may be listed several times, but I only want one record to show per customer.
Supplier
John Doe 10/15 $25.00 Eggs
John Doe 10/15 $29.00 Milk
Susan Weva 10/12 $15.00 Corn
Susan Weva 10/18 $11.00 Bread
What I want is one complete row for John Doe and one for Susan Weva. Any idea as to how I can do this? I tried to suppress each field, but that did not seem to work.
There is one way (which i use in this situations) and it work.
So your data looks like this
John Doe 10/15 $25.00 Eggs
John Doe 10/15 $29.00 Milk
Susan Weva 10/12 $15.00 Corn
Susan Weva 10/18 $11.00 Bread
From what i have understand you want to have your output like
John Doe some columns
Susan Weva some columns
To show it only once per group put fields in group header or group footer. In your case all other columns are different and you should "summarize" those fields. For field price is easy, just do summarize by group and you have for each person amount. But dates and last columns makes a problem. So you should learn about using Cross-tab to solve this problem. If you need only sum of price, then put fields in group header or group footer and it will be show only once per group.
Hope it helps
I have the following data returned from a stored procedure
Staff Category Amount
----- ------- ------
Bob Art 123
Bob Sport 777
Bob Music 342
Jeff Art 0
Jeff Sport 11
Jeff Music 27
All Categories will always be returned for all Staff even is the Amount is zero
What I want to do on my Crystal Report is output this:-
Staff Art Sport Music
----- --- ----- -----
Bob 123 777 342
Jeff 0 11 27
I effectively want to Transpose the data in the Category rows as headers or columns in my report.
I do not want to use a Cross Tab as I have other things I need to add which will not fit nicely into a Cross Tab
Any thoughts on how I can do this in Crystal? I'm using version 11
Should be able to achive this in your sproc with a PIVOT Table. A helpfile on PIVOT tables can be found here
Group the report by staff and place staff, Art, Sport, Music as text fields in Group header.
now in details section place data as
Staff, formula 1 (If Category='Art' then Amount), formula 2 (If Category='Sport' then Amount), formula 3 (If Category='Music' then Amount)
If Staff has only one value then its ok else place Staff in Group footer and take sum of all values in group footer (Don't remove Formula 1,2,3 from details)
I have a bunch of data about people attended or unattended, and I want to sepparate them. In one column I have '0' for unattended people, and some number for the attended ones. How can I show that in a report? I want a pie chart that divides them, and I've spent many hours in this, I don't even know how to search about it and I have almost no experience with Crystal Reports.
I've tried making two summarize formulas for acumulated totals like this (the other one looks almost the same):
StrCmp(ToText({table.Atendido}),"0") <> 0
But I can't use that in a pie chart. And it doesn't even stores the data as it supposed to do, in my data I have 8 unattended, 1 attended. This formula gives me 9 as result.
Any help is greatly apreciated, thanks!
My data looks like this:
IDPerson Person Attended
1 John 0
2 Mary 0
3 Graves 1
4 Paula 0
In the report I need:
Who was attended (list of people)
A pie chart of attended, unattended with percentages and all
If I group by Attended, the groups form like this:
There will be many groups of numbers > 0, I just need groups sepparated by:
attended = 0
attended != 0
I hope i understand your question but if you group on Attended then you should be able to get what you want with count functions.
I was over complicating it, because I'm inexperienced and in a hurry...
I made a formula to separate both values:
if tonumber({PacientesAtendidosYNoAtendidos.Atendido}) = 0 then 0 else 1
Then, I just grouped by that. Very silly, indeed.
I am currently working on a Crystal Report wherein I use three different commands.
I use the first command to display the details on the header of the report while the other two commands contain two sets of data for the report body itself.
My problem is that the report's format should be grouped into two wherein the first group will appear after the header and the second group will appear after the first group. To give you a better view of it, please refer to the sample below:
CLASS CODE: AC01
SECTION : A
TEACHER : Ms. Teacher 1
GROUP 1
NAME AGE BIRTHDATE
Student 1 19 12-01-1990
Student 2 22 08-04-1987
Student 3 20 07-07-1989
SCHEDULE
TIME DAY SUBJECT
10-11 AM MWF HISTORY 101
12-01 PM MWF BIOLOGY 202
02-04 PM TTh BIOLOGY LAB
Please note that I am using TextTools for GROUP 1 and SECTION Labels. I have tried adding a new Header and placing the 'GROUP 1' in it then the preceeding Details Section contains the data for Group 1. However, I cannot add another Header below the Details Section so that I can start working with the SCHEDULE.
Are there any workarounds for this problem? Thank you very much!
Alright,
I did some other research and this is what I got: http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=12033
Apparently, I had to use SUBREPORTS.
Thanks for the help! :)