Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Cross Tab Crystal Report 2008

Posted on 2009-04-14
3
Medium Priority
?
508 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 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Suggested Courses

577 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