Solved

Using multiple databases in Crystal Reports 11

Posted on 2010-08-30
6
765 Views
Last Modified: 2012-06-21
I have created a report in Crystal 11.  I have connected 2 different databases using a common field to connect them. The first set of tables pulls from the main database and they are working correctly.  I am also trying to create a chart within the report that pulls information from the 2nd database. I have tried the sub report option and I still can not get it to work correctly.  I don't know if this just can't be done or if I have placed the sub-report in the wrong place (report footer).  I have also tried to add a new Group to the report and then add the chart in that area to pull from the second different databse but the information in the chart never appears corretly.  
0
Comment
Question by:erkootoo
  • 3
  • 3
6 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 33563685
Crystal doesn't play well with multiple data sources like that in a single report except by using a subreport.

Can you build the chart in its own report so it shows what you want?
If so then we can work out the linking and placement in the main report.,

mlmcc
0
 

Author Comment

by:erkootoo
ID: 33571987
I have built the chart in it's own report and it is displaying the information accurately.  What I was trying to acheive was to keep it all on one page so it will print front and back. When I do it as a subreport that is where I don't think I may be placing it correctly.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 33573154
Where did you place it?

Did you link the subreport to the main report using the group field?

mlmcc
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:erkootoo
ID: 33573252
I placed it in the report footer.  I don't know how to link it to the main report other than placing it in the Report Footer.  Is there something else I need to do?
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 500 total points
ID: 33573495
You can place it in the group header or footer
Right click it
Click CHANGE SUBREPORT LINKS
Choose the group field from the top box
In the lower right box choose the same field in the subreport

mlmcc
0
 

Author Comment

by:erkootoo
ID: 33582770
Ok this worked....almost. Report shows correctly on 1st page is correct, then the 2nd page just shows a box which I beleive is the sub-report linked field. Then there is a third page that shows my chart which has CORRECT info in it. YEAH!!!!!!!  And then there is a 4th blank page like page 2. Is there a way I can get rid of the 2nd & 4th pages?
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
free version of MSSQL for over 10GB DB 19 69
T-SQL Default value in Select? 5 38
Merging spreadsheets 8 60
Help With Simple Database Design 7 50
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Creating and Managing Databases with phpMyAdmin in cPanel.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

828 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