Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Using multiple databases in Crystal Reports 11

Posted on 2010-08-30
6
Medium Priority
?
776 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

618 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