?
Solved

Cross Tab Crystal Report 2008

Posted on 2009-04-14
3
Medium Priority
?
505 Views
Last Modified: 2013-12-08
Title:
Cross-Tab Crystal Reports 2008Bookmark:Question:
I'm designing a report using Cross-Tab Expert in crystal reports  2008 and I m not finding the solution to leave those values always in the report.

the database field is, oitm.U_size and contains these values,

xs - s - m - l - xl - 99 - 31 - 32 - 33 - 34 - 36 -38 - 40 -42

I'm making an order report where shows me the order with sizes and colors but there are orders where the report doesn't show me all the sizes. I want to view all the sizes even though they weren't ordered.
there is formula to make it a fixed value on the report?
0
Comment
Question by:TonySUP07
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Expert Comment

by:rob_farley
ID: 24144361
How about changing your query, a bit like this:

SELECT sizes.U_size, q..... /* Everything from q except U_size */
FROM
(
SELECT DISTINCT U_size
FROM ...
) as sizes
LEFT JOIN
(
SELECT .... /* Your current query */
) as q
ON q.U_size = sizes.U_size
;

This way, your results will contain every size value, even if there were no records for them in you particular report.

Rob
0
 

Author Comment

by:TonySUP07
ID: 24153523
There is another way because if i use a query in the report will take a long time to refresh.
0
 
LVL 15

Accepted Solution

by:
rob_farley earned 2000 total points
ID: 24153698
Surely your report uses a query to get its data?

I'm not a big Crystal user, but if your data set doesn't contain all the different sizes, it's going to have a hard time trying to guess what other ones it should be displaying.

Rob
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question