473,396 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

One Crystal Report - many databases

Our company have one asp.net 2.0 web application using c# as code behind and
one C++ windows application. Both applications are using Crystal Reports (v
10) as report engine.

The web app. just started using crystal report and can access and show the
report but for now EACH report has to be hardcoded to one customers database.
We would like to use same reports in the web app as the win app use which
dynamically connect to the database with a ODBC connection.

We have solved the problem in the win app using different startup-scripts
for every user. The script changes the win. registry for the ODBC the report
use. So in the report all we have to do is to set the connection to the
database with this ODBC connection.

The question is how do we do something similiar in our web application? As I
understand we cannot use a ODBC on the web server.

We cannot have the reports like this since this would require us to modify
1300 * 50 reports for the web and just 1300 reports for the win app so please
help us!
Feb 2 '07 #1
1 1363

You design the reports to work with strongly typed datasets.

The dataset has to be consistent among customers, but you can populate it
from any specific customer database.

see
http://scottonwriting.net/sowblog/posts/2148.aspx


"Andreas" <An*****@discussions.microsoft.comwrote in message
news:A8**********************************@microsof t.com...
Our company have one asp.net 2.0 web application using c# as code behind
and
one C++ windows application. Both applications are using Crystal Reports
(v
10) as report engine.

The web app. just started using crystal report and can access and show the
report but for now EACH report has to be hardcoded to one customers
database.
We would like to use same reports in the web app as the win app use which
dynamically connect to the database with a ODBC connection.

We have solved the problem in the win app using different startup-scripts
for every user. The script changes the win. registry for the ODBC the
report
use. So in the report all we have to do is to set the connection to the
database with this ODBC connection.

The question is how do we do something similiar in our web application? As
I
understand we cannot use a ODBC on the web server.

We cannot have the reports like this since this would require us to modify
1300 * 50 reports for the web and just 1300 reports for the win app so
please
help us!


Feb 2 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: kristoff plasun | last post by:
I have a problem with a C++ DCOM application that prints Crystal Reports with data from Oracle. The SQL query is relatively complex but when the report is printed from the Crystal Reports...
2
by: Tim Burda | last post by:
I posted this in another forum, but I'm adding it here to for more exposure.I am using Visual Studio 2003 and trying to get Crystal Reports to produce output. If you have any ideas, please let me...
3
by: oscar | last post by:
is there a way of integrating mysql databases into the .net crystal reports? in the report wizard i have options for sql databases, but nothing for mysql. is there a plugin i'm missing for it? ...
2
by: airkart | last post by:
Hello, I've scoured groups and the web, and haven't found a question like mine answered. I'm using Visual Studio 2003 with the Crystal Reports it comes bundled with and SQL Server 2000....
6
by: Robin Cushman | last post by:
Hi all, I need some help -- I'm working with an A2K database, using DAO, and am trying to read records into a Crystal Report and then export it to a folder on our network as an Excel...
0
by: Atif | last post by:
Hi All My problem is not related with this group BUT i have got a clue from here that's why i am posting this question over here. I am using Crystal Reports 9 with MySQL and SQL Server....
2
by: aldous scotch | last post by:
I designed a Crystal Report .rpt from within Microsoft Development Environment 2003 Version 7.1.3088 (VB .NET IDE). I selected database fields from the left side Field Explorer onto the Details...
5
by: jmar | last post by:
I posted a week ago and received one response. I'm looking for the opinion of several experienced .NET people before I proceed so I'm posting again. Sorry for the repost... I am updating a...
0
by: mknoll217 | last post by:
Hello. I have been trying to log onto two databases at run time for a crystal report. I have tried both the crystal report viewer and the report document object viewer. I have no figured out a way to...
0
by: bharathi228 | last post by:
hello in my application we hav monthly databases every month we create new database through code in asp.net database name like 200901AVG 200902AVG now my problem is iam...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.