473,241 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,241 software developers and data experts.

Crystal Reports Out Joins with DataSet?

I'm trying to create a Crystal Report based on a strongly-typed DataSet
(that I'm populating manually instead of from a database). This is almost
working except Crystal seems to always do inner joins along the
relationships in the DataSet, but I want an outer join.

I have a table (QuestionTable) that's a list of questions. Each row
contains the question, as well as the foreign key to a row in AnswerTable
(which contains the description/text for the selected answer). I have a
Relation connecting QuestionTable to AnswerTable.

If I only include fields from QuestionTable in my report, then I get all
rows from QuestionTable in my report (even if the AnswerId field is blank).
This is good. If I try to include the AnswerTable.Description field in my
report however, then the report only shows the rows from QuestionTable where
there is a value for QuestionTable.AnswerId. Crystal seems to be doing an
inner join between QuestionTable and AnswerTable. But I want an outer join.
I want to display all questions, and the answer description for the
questions that have been answered. How can I do this?

VS 2005 Team Suite, C#, ASP.NET 2.0
Jan 3 '07 #1
1 1820

Figured it out... on the "Links" tab of the 'Database Expert' I can change
how the links (relationships) work.
Jan 3 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: kristoff plasun | last post by:
I have a problem with a C++ DCOM application that prints Crystal Reports with data from Oracle. The SQL query is relatively complex but when the report is printed from the Crystal Reports...
4
by: Rick Thiel | last post by:
Hello, I am trying to build a Crystal report VisualStudio.NET for an ASP.NET application. I would like to build a report that doesn't connect to any particular database at design time because I...
7
by: Phin | last post by:
I need your HELP! I've seen all the posts on using Crystal Reports within vs.net (vb.net) and changing a SQL query at runtime. When I tried to pass in a dataset into the crystal report at...
3
by: John Smith | last post by:
Hello all: I am not sure if this is the right place to post this but I could not find a specific Crystal Reports forum in the Microsoft forums nor the Business Objects website. Anyways, I am...
0
by: Maqsood Ahmed via .NET 247 | last post by:
Hello, I was trying to create Crystal Report using a DataSet (notfilled with DataBase entries). DataSet contains some Tables. Butwhen I want to generate a Crystal report it doesn't showanything. I...
3
by: lee_mcknight | last post by:
I am using Crystal Enterprise V9. I have a report that needs to have multiple datasets as the datasource(s) on a single subreport (some common lookup data I need to join to is stored in a seperate...
3
by: VMI | last post by:
I know this may not be the best NG for this, but I feel you guys know more about this than any of the other NGs. I need to build several simple reports (over 50 of them and they get their data...
7
by: Jlo | last post by:
Hi, I have a c# winforms application. When I call the report file, it shows me all the records in the table. How can I make it to call only a particular range. i have the following code...
2
by: =?Utf-8?B?Um9zcyBNYXNvbg==?= | last post by:
Hi I am interested in using crystal reports for the first time but have a few questions that someone maybe able to help with before I get started. The background to my query is that a client is...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.