?
Solved

Using multiple databases in Crystal Reports 11

Posted on 2010-08-30
6
Medium Priority
?
775 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 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 101

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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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 101

Assisted Solution

by:mlmcc
mlmcc earned 2000 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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

777 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