Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old May 17th, 2006, 01:22 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to brettdavis4
Default Can I do this in Crystal Reports?

I'm making an application that will be using Crystal Reports to generate some reports.

I have a question about how I am storing my data in the database. This is an example of how my data looks after it is being queried:

CustomerID CustomerType Products
---------- --------------- ------------------
1 Online, Phone product a, product b
2 Instore, Online product c, product d

My report is suppose to be a cross-tab report displaying the totals. My question is crystal reports smart enough to recognize the commas in the data fields? Will it recognize Online as 2 entrys or will it read it as Online, Phone and Instore, Online?

Or does my data need to look like this:

CustomerID CustomerType Products
---------- --------------- ------------------
1 Phone product a
1 Online product b
2 Online product c
2 Instore product d

  #2 (permalink)  
Old May 24th, 2006, 02:30 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to brettdavis4
Default

Does anyone know?

  #3 (permalink)  
Old May 24th, 2006, 03:01 PM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I would say the second example is how you should store your data. Trying to determine where the commas are and how they are supposed to break out would be a nightmare in my opinion. Hope that helps..good luck!




Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal reports shyna Crystal Reports 3 September 20th, 2011 08:41 AM
how to get reports in crystal reports using ASP3.0 candy133 Classic ASP Basics 2 January 26th, 2006 08:26 AM
Comparitive Reports in Crystal Reports tarunm Crystal Reports 1 January 21st, 2006 01:08 AM
comparision among crystal reports and Data reports avats Crystal Reports 0 April 13th, 2005 01:01 PM
How to create/design reports with crystal reports BassmaniaQ Crystal Reports 0 December 14th, 2004 04:58 AM





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