Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 7th, 2006, 11:01 AM
Registered User
 
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do i do this type of crystal report?

Hello, I am having trouble doing a particular type of report. I have tried to use the cross tab component, but it makes no sense for this type of report do to the summarized field, I don't need one.

I would like my report to be a grid. The columns of the grid will be a laser.

So my columns would be laser1, laser 2, laser 3 etc.

The rows i would like to be the attributes of my lasers from the database such as : laser position, laser manufacturer, laser type, laser offset, etc.

The values inside of the grid i would like to be the value from the database. So for example for laser 1; laser type, i would like the value in the grid to be the actual type from the database say... 32Khz.

My grid would look something like this:

--------------laser 1------------------------- laser2
Type -------32Khz---------------------------16Khz
Position------1-------------------------------- 2

etc etc.

Does anyone know how to do this in crystal where I have a grid structure like the one above. Any suggestions are welcome and greatly appreciated.

Thanks,
deep.


 
Old June 7th, 2006, 11:22 PM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Deep,

Even i had such situation of creating report. Finally I get ride of it.

I too used Cross-Tab report for by problem. But rahter than connecting the
tables directly, i created a stored procedure and inserted the data to #table
by joining all multiple tables. So i finally sort the data as needed, at the SP
level. Then i reffered this SP in the report and used grouping and dragged proper
those fields as the column headers and also for rows.

Th output of the report was like a matrix, like for this row at this column, it
is mapped and i am showing "X" symbol, where you will be showing the numbers like
1,2,3 ... and Khz.

Its not an eays way to approch. But just give a try by creating SP and check.
hope this helps.

If you already tried using SP what i said, then, try creating a physical table
at runtime by adding "Laser1"... like column names and insert the correct respective data under respective column. Here you have the table ready with proper look at the database level. Now just you have to reffer that table and
place right fields at right place.

According to my knowledge, its not a very easy job. Just give a try, you might
end up with success.

Hope this helps.


With Regards,
Raghavendra Mudugal
 
Old June 12th, 2006, 02:22 PM
Registered User
 
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, I thought about creating a seperate table but that sounded outlandish considering i am just showing basic data from my tables.

The stored procedure idea is a good idea, and I will give that a shot. Anybody else have any ideas.

Thanks for taking your time to reply.

deep






Similar Threads
Thread Thread Starter Forum Replies Last Post
simple report and crystal report in vb.net saket123 .NET Framework 2.0 0 August 13th, 2008 06:55 AM
VS 2002 Crystal Report opens Seagate crystal 8 tusis_1 Crystal Reports 0 May 12th, 2007 11:45 AM
Three questions about line type report. luckcao_1979 Crystal Reports 0 December 27th, 2006 02:25 AM
type not defined - crystal report cathiec Crystal Reports 3 November 27th, 2006 01:45 PM
Error While printing report (Crystal report) vikaspaweb Pro VB 6 0 March 8th, 2004 09:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.