By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,276 Members | 2,137 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,276 IT Pros & Developers. It's quick & easy.

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

P: n/a
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.
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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" <au****@aussie.com> wrote in message
news:Ok**************@TK2MSFTNGP11.phx.gbl...
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.

Nov 20 '05 #2

P: n/a
"news.microsoft.com" <au****@aussie.com> schrieb
(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)

--
Armin

- The tree representing the table of contents has been translated from
localized (German) version. Excuse slight deviations.

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.