473,545 Members | 2,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

crystal report cross-tab


i have the need for a bit of an complex cross-tab report.

the following information needs to be shown in 1 report.

projectname
department
hours quarter 1,2,3 and 4
and offcourse all sort of summerized fields.

i want all the projectnames listed and then for every department it has
to show the quarter 1,2,3 and 4

DEP1 DEP2 and so forward
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
projectA 1 2 6 12 55 77 18 99
projectB 5 11 88 99 4 23 22 66

and this with the buildin crystal report designer in visual studio .Net

I hope it is clear and possible, so far i have not been able to figure
out how to get these fields out there. It keeps making too many
crosses,

Is a simular kind of report possible without cross-tab ?

Feb 20 '06 #1
3 3685
Certainly this is possible without a cross tab, create a temp table (or a
datatable) and manually populate it, then it will be just a regular report.

I would imagine that for your crosstab report, you have a query that outputs
something close to the desired data?

i.e

Select Projects.Projec tName, Tasks.TaskName, Departments.Dep artmentName,
Sum(Tasks.TaskA ctualHours), datepart(qq,Tas ks.TaskActualCo mpleteDate)
From ... <complete your joins>
Group By

Now you would have data that looked like

B2BWebservice | Security | A Team | 325 | 1
B2BWebservice | Cataloge | A Team | 248 | 2
B2BWebservice | eCommerce | A Team| 19 | 3

CommercialWeb | Security | B Team | 400 | 1
CommercialWeb | Cataloge | B Team | 65 | 2
CommercialWeb | eCommerce | B Team| 110 | 3
The crosstab wizard in crystal should understand this.

"willemp" <ic*******@hotm ail.com> wrote in message
news:11******** **************@ g47g2000cwa.goo glegroups.com.. .

i have the need for a bit of an complex cross-tab report.

the following information needs to be shown in 1 report.

projectname
department
hours quarter 1,2,3 and 4
and offcourse all sort of summerized fields.

i want all the projectnames listed and then for every department it has
to show the quarter 1,2,3 and 4

DEP1 DEP2 and so forward
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
projectA 1 2 6 12 55 77 18 99
projectB 5 11 88 99 4 23 22 66

and this with the buildin crystal report designer in visual studio .Net

I hope it is clear and possible, so far i have not been able to figure
out how to get these fields out there. It keeps making too many
crosses,

Is a simular kind of report possible without cross-tab ?

Feb 21 '06 #2
my query did not output data as your query does, i will try it with a
simular query as yours.

Feb 23 '06 #3
that seems to have done the trick, thank you.

however for future reference is it possible to build a report when you
only have monthly hours and not quarter numbers, so that you have to
summerize them yourself ?

Feb 23 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
19141
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal Report at runtime? Example: private void button1_Click(object sender,
1
4159
by: samik_tanik | last post by:
I want to use the Crystal Report to display and allow the clients to create the .rpt files in the browser at runtime and allow them to drill down and use cross-tabs. To check out the possibilities I have downloaded the evaluation versions of Crystal Report 10 (CR10AdvDevEn.exe) and CE 10 (CE10EN.exe from...
13
15127
by: kristoff plasun | last post by:
I have a problem with a C++ DCOM application that prints Crystal Reports with data from Oracle. The SQL query is relatively complex but when the report is printed from the Crystal Reports designer it shows up very fast. When the report is printed from my application it takes about ten times as long to get the report to appear. When...
1
3063
by: bthomas71chevy | last post by:
I have just setup a WebServer and all the applications work fine, but when every any of the applications try to generate a Crystal Report the page errors out. "File or assembly name CrystalKeyCodeLib, or one of its dependencies, was not found." I read that the 4 MSM files need to be moved to the a MERGE MODULES folder in the Common Files...
3
5142
by: Brad | last post by:
In a Vista/IIS7 asp.net app, a coded crystal report export is crashing IIS7....but it works just fine in visual studio's cassini web server. And if I create a web form and use the crystal reports web viewer, view the report and then export from the viewer it also works fine (IIS7 and cassini). And I should note this all works fine in IIS6...
1
4598
by: ssk | last post by:
Hello there, I have one crystal report in VisulaStudio 2003 C#, i have used IGraphObject for Line Chart. My data is somewhat like this 0.00, 0.01, 0.03 ....etc on y axis and 0000,0002,0004,....etc on x-axis Now when i plot the graph i can see propert values on X-axis (with overalapping) thats fine but on y-axis i can see all zero values.
11
9667
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
How can I stop receiving this message while calling a crystal report? "The report you requested requires further information." Thanks
3
2546
by: Brock | last post by:
I am trying to populate a Crystal Report from data in my DataGrid. The reason for this is that I want the user to be able to change values without updating the database, but still have their report reflect the values they anticipate committing to see hypothetical totals of columns from a set of records. These records are displaying properly...
3
3803
by: Miro | last post by:
Hi, Just wondering what a good book is on visual studios 2008 ( or 2005 if no 2008 ) that teaches you how to properly use crystal reports with it. Or im assuming that as long as I can create a dataset and link it to a reportviewer than any Crystal Report book will do. I use vb.net but im assuming most books would show you vb and c
2
11887
Pittaman
by: Pittaman | last post by:
Hello I am creating some crystal reports (for visual studio 2005) based on the content of certain .NET objects. I'm doing this in .NET 2.0. For one of them I'm using a Cross-table to summarize the information of a bunch of objects. The actual data is numeric. Since these reports are meant to be flexible number formatting must be configured...
0
7496
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7428
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7452
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7784
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6014
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5071
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3485
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1916
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.