can't get an answer to a crystal rpt question re database connection - Cor, Herfried, Armin, Ken Tucker?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Jorge Cavalheiro (anonymous_at_discussions.microsoft.com)
Date: 02/25/04


Date: Wed, 25 Feb 2004 01:42:20 -0800

Hello Bernie

You can use the SQL-DMO ListAvailableSQLServers to
retrieve all SQL servers on your client. If there's only
one then use that one if not ask the user which one to
use.

And when you define the ConnectionInfo of the report you
can use .ServerName = <your variable>

Kind Regards
Jorge Cavalheiro

>-----Original Message-----
>I can't believe that there aren't lots of developers who:
>
>1. create a crystal report that connects to sql server
>2. calls the report using the crystalreportviewer
control to view it and
>then, if appropriate, print it
>3. tries to deploy that report to the client's
database, but now it calls
>for a different database name
>
>Yet I can't get an answer to the question:
>I have developed numerous reports in an app (Windows
Database App) that is
>soon to go into production. When I built each report,
CR connected to sql
>server on my development platform. The connection
string is different than
>it will be at my client.
>
>How can I change the connection string so that it
recognizes my client's
>server instead of mine for each of these reports?
>
>Of course, I could install a version of crystal on the
client and rebuild
>the reports there, but that seems a terrible pain - and
for every customer
>with sql server? I've written to crystal and I get
links to unhelpful kbase
>articles.
>
>Thanks for any help.
>
>Bernie Yaeger
>
>
>.
>



Relevant Pages

  • Re: MS Access Reports and VB.NET Program
    ... think that I want to ship a 30mb .NET framework to each of my clients? ... Barns & Noble has some books that could help you learn .NET. ... It is Access TIMES eCommerce TIMES Sql Server. ... that you actually posted how to execute the report using a macro. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: MS Access Reports and VB.NET Program
    ... It's not always about you Aaron. ... Barns & Noble has some books that could help you learn .NET. ... It is Access TIMES eCommerce TIMES Sql Server. ... that you actually posted how to execute the report using a macro. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: "Logon failed" for Crystal Report
    ... Crystal Report in Web Application Fails to Log On to SQL Server ... the SQL Server password is not persisted in the ... > running locally) and bind it to the CrystalReportViewer control in the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Reports not flushing
    ... - working into a SQL Server 2000 back end. ... Filter of a report where there are multiple instances open. ... intermittently client A's details are displayed on client B's report. ... g_clientNo will display Client B, but will display the subreport for ...
    (microsoft.public.access.reports)
  • Re: PRIMARY filegroup is full - no its not!
    ... Consider using sp_helpfile to report the sizes. ... Columnist, SQL Server Professional ... "Dan Guzman" wrote in message ... > large file size after I expand the file using "ALTER DATABASE DataLoad ...
    (microsoft.public.sqlserver.server)