Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 20th, 2006, 04:51 AM
Registered User
 
Join Date: Nov 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Report from two tables in two differents databases

Hi,
I have a DB where i am transferering part of the its history table data (events on a table after certain time) to a similar table on a ArchiveDB

Original History table & ArchiveDB one have similar data and Design.

I have a crystal report (CR9) where i need to get information from the 2 tables (from the original history table and from the history on the ArchiveDB)

I need know how to make that my crystal report look for the two tables looking for history as it's possible that for the period of time specified (start date & end date) information is on both tables.

To clarify, let's say that original DB is call MonitorDB and the history DB is call ArchiveDB where i have a store procedure on MonitorDB that is call from my Crystal report.
This store procedure get information from the MonitorDB history table and put it on other MonitorDB table and finally this results and displayed in my Crystal report.

Now i need to my report extract information that could be located on both DB'S history tables in the same report, i mean from MonitorDB history table and from ArchiveDB history table.

So any help or idea is welcome and beforehand Thank you.

Regards,


cphspain
 
Old November 21st, 2006, 05:13 PM
Registered User
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In CR XI you can create 2 datasources and manually link them on a field. With a little playing you should be able to get it to work.






Similar Threads
Thread Thread Starter Forum Replies Last Post
using arrays for tables in databases Karla Visual Basic 2005 Basics 1 August 5th, 2008 02:11 PM
Link tables from two different SQL Databases Folorunso Agbeja SQL Server 2000 1 October 19th, 2006 08:23 AM
How can I merge two databases and tickets tables? drarem Access VBA 2 October 5th, 2004 01:07 PM
Comparing tables from two Databases lguzman Access VBA 1 May 11th, 2004 05:11 PM
Linking tables with multiple databases jlnash Access 1 August 14th, 2003 07:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.