Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using 2 Different Tables in a Database to Create One Cystal Report

Status
Not open for further replies.

snorgaard

Programmer
Mar 11, 2002
2
US
I have an application that uses Crystal Reports to print a report that contains account information. The problem that we were having was the data listed in the report contained 49 records but only one record was being placed in the report. We found that in Crystal Report Versions before 8.5 a developer could retrieve data from 2 different table in a database to get information for one report. If we changed the report using version 8.5 to get all 49 records then we were not able to get a name from the other table in the header information of the report. The question that I have is "Can a developer only get data from one table instead of multiple tables when using the new version 8.5 of Crystal Reports even though a user could get data from 2 tables in earlier version of Crystal Reports?"
 
You can certainly join a large number of tables in any report.

What database are you using and what driver did you pick when you created the report?

Is it an equi-join or a left/right join?
 
It does sound like a join issue. I would suggest going into the visual linking expert, and select your link between the two tables, change the link to either a left outer join or right outer join if you are using a connector that allows you that option. The default join type will be equal Seagate Certified RCAD Specialist.
-Bruce Thuel-Chassaigne
roadkill150@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top