473,486 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
2 1919
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
"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
11744
by: shank | last post by:
Per a previous suggestion, I'm trying to use a parametized query in Access 2002. The query functions properly in Access. Now I'm trying to call it from ASP. I'm using code I found at...
0
1058
by: Walid Salah | last post by:
Hi ALL, I need a help in Crystal Report?! When I'm using Crystal Report Command Based Report that include Graphs and Grouping and then change the report command using...
11
6547
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
8
2136
by: Pierson C | last post by:
I am developing on a website that is utilizing SQL Server 2000. Shortly after deploying the site, we began having timeout issues due to the max connections. 1st instinct was to diligently tidy...
6
17132
by: ransoma22 | last post by:
I developing an application that receive SMS from a connected GSM handphone, e.g Siemens M55, Nokia 6230,etc through the data cable. The application(VB.NET) will receive the SMS automatically,...
0
3885
by: bonita | last post by:
In my ASP.NET page, I have 2 checkboxes for users to choose which crystal report they want to display. These two reports use different tables. If report1 has been choosen and displayed in the...
1
8152
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a web site I have created to...
7
7717
by: oopsbabies | last post by:
Hello everyone, I am using Apache 1.3.33 as the web server and PHP version 4.3.10. My machine is using Windows XP 2002 professional edition which comes with a Windows firewall. I am using McAfee...
2
6456
by: Hellotalktome13 | last post by:
Using a simple ASP.net page with a crystal report on it. Loading from IIS using Integrated Secruity in the reports connection string it populates the report in the browser. What User ID and...
0
7100
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
6964
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
7126
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,...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7330
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.