Results 1 to 5 of 5

Thread: REPORTS FROM MULTIPLE DATA SOURCE?

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Toronto, Canada
    Posts
    43

    Post

    How do you do this: Create a report from multiple database sources. Can this be done using VB? Or do you have to pull out information manually and then do it that way?

    Please advise! I just need ideas, and possible solutions.
    Does crystal reports writer allow for access to multiple db's CONCURRENTLY??

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    Yes, I know for a fact that this can be done with Crystal Reports. It's pretty self explanatory if you use CR. All you need to do is add another database to the report and then select the table and fields you want to use.
    Damonous

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Toronto, Canada
    Posts
    43
    Can you create reports if the database source is different? IE pull tables from an oracle db AND an SQL 7 DB concurrently? I tried that and it wouldn't work.


  4. #4
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    OK, I misunderstood you. Well, let's see. You could code the data portion of the report one database at a time and then use textboxes on the report to display the data. I.E. Open and extract records from SQL Server then close it. Then open and extract data from Oracle then close it. Unfortunately, if you had very large reports to generate, this process would be some what inefficient. You could have Crystal Reports generate some of the report using one database and you could code the other database. Then, like above, display the data using textboxes. But as far as using two seperate database sources with one CR, I'm not really sure...
    Damonous

  5. #5
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Lightbulb

    You can indeed use Crystal Reports to do what you want.
    You would have to use Crystal Query Designer which comes with Crystal Reports.
    Also, if you have SQL Server 7.0, you can link other servers like Oracle, SQL Server, Sybase, Access etc and then create your sql statement like this:

    Select ServerName.Owner.TableName.FieldName From ServerName.Owner.TableName Where ServerName.Owner.TableName.FiledName = OtherServerName.Owner.TableName.FiledName

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width