using the current connection object in a crystral report... How ?

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

Hi,

(Vb.net 2003 and Crystal report.net)

If my application already has a connection, how can I use it in the crystal
report.

I have designed some reports using the designer with vs.net03, but I do not
want to embedded into the report the user id/pwd I had to use when I created
the reports, as the Uid/pwd will change per users. What I want to be able to
do, is pass the users current connection object to the report and have it
use that.

Is this possible ?

Any code samples would be fantastic.
 
Interesting question...
I have numerous crystal reports that are run from my vb .net app. All I do
is have crystal open a table in sql or a view, or perhaps an sp and it
connects. I believe that crystal establishes its own internal connection.

HTH,

Bernie Yaeger
 
news.microsoft.com said:
(Vb.net 2003 and Crystal report.net)

If my application already has a connection, how can I use it in the
crystal report.

I have designed some reports using the designer with vs.net03, but I
do not want to embedded into the report the user id/pwd I had to use
when I created the reports, as the Uid/pwd will change per users.
What I want to be able to do, is pass the users current connection
object to the report and have it use that.

Is this possible ?

Any code samples would be fantastic.

In VS 2003:

<F1>
VS.NET
Developping applications with VS.NET
Developping distributed applications
Crystal Reports
Implementing Runtime Customization
Accessing Secure Databases


(see hints in signature)
 
Back
Top