Solved

Cross Tab Crystal Report 2008

Posted on 2009-04-14
3
500 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
  • 2
3 Comments
 
LVL 14

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 14

Accepted Solution

by:
rob_farley earned 500 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now