Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tables from two servers

Status
Not open for further replies.

gagani

Programmer
Nov 20, 2011
57
GB
I want to add tables in two different servers. Could anyone please let me know how to add second server so that the tables of it can be linked with the tables of first server.
 
what is your database type ?

Viewer, scheduler and report manager for Crystal reports and SSRS.
Send your report everywhere.
 
How do I implement in crystal report?
I am trying to join two tables of different servers in crystal report.
 
You ought to be able to add tables from two different databases, including those on different servers. I've done it occasionally, as well as linking a database to a text file or Excel spreadsheet.

A problem might arrise making links betwee the two. If you can't make a direct link, you could put one of the tables in a detail-level subreport and pass a parameter. Inefficient, but it is an option.

Another possibility is writing your own SQL and putting it into Crsytal as an SQL Command.

PS. This is based on Crystal 11. It helps to give your Crystal version - 8, 8.5, 9, 10, 11 or whatever. Methods sometimes change between versions, and higher versions have extra options.

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
The best way is to create a stored procedure and to base the report on it.If you don't have rights to do this , as Madawc proposed, you can create a command in crystal reports.

Viewer, scheduler and report manager for Crystal reports and SSRS.
Send your report everywhere.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top