473,880 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crystal Reports .NET 2003 with Access database password

Hi all,

I'm using Crystal Reports for Visual Studio .NET 2003 against a fixed
Access database with a fixed database-level password, using OLEDB. I
designed the reports just fine, but I'm not finding a way to actually
use them from code.

Is there really no way to either embed the fixed connection info in the
report or somehow get the string "Jet OLEDB:Database Password=passwo rd"
into the OLEDB connection string from code? If not, my only options
are to move to a full version of Crystal, or translate all my reports
to the push model.

Dec 17 '05 #1
2 1833
The microsoft.publi c.access.report s newsgroup deals specifically with
Access' Reporting features. You are far more likely to get the answer you
need from one of the other newsgroups to which you crossposted -- devoted to
Crystal Reports, or one devoted to whichever DotNet language you are using.

Larry Linson
Microsoft Access MVP
<da****@softwar e-labs.net> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.com.. .
Hi all,

I'm using Crystal Reports for Visual Studio .NET 2003 against a fixed
Access database with a fixed database-level password, using OLEDB. I
designed the reports just fine, but I'm not finding a way to actually
use them from code.

Is there really no way to either embed the fixed connection info in the
report or somehow get the string "Jet OLEDB:Database Password=passwo rd"
into the OLEDB connection string from code? If not, my only options
are to move to a full version of Crystal, or translate all my reports
to the push model.

Dec 18 '05 #2
You don't need to hand the report a connection, password or anything it
keeps whatever you set it up with.
So if you enter the connection in when you set the report up then it
should have that.

Right click on a bit of your report has nothing in it.
You should get a pop up menu includes the option Database.
Choose set database location from this.
You should find this fairly self explanatory but....

Set up a new connection and include the password in the stuff it asks
you for.
Substitute this for the old source.

Dec 20 '05 #3

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

Similar topics

1
19200
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal Report at runtime? Example: private void button1_Click(object sender,
1
3477
by: Mithun Verma | last post by:
Hello All, I have a Windows application that uses Crystal Reports 9 (bundled Version) developed using VS.NET 2003 on a windows server 2003 m/c. The application has to be deployed on the client machine that has Windows XP installed. Before deploying we make sure that .NET framework 1.1 is installed on the XP machine. In the setup project, for support for Crystal Reports, we have added the following merge modules: 1)Crystal_Managed2003.msm...
4
1130
by: Grant Stanley | last post by:
I'm developing an application in VS.Net 2003 using C#, which uses Crystal Reports. When creating each report, crystal asks where the database to use is, so I specify our SQL server using the ADO option. The problem is that these database settings seem to get compiled into the report, so when we take the application to our client it won't work on their systems. Before running each report I run some code which is ment to reset the...
1
3418
by: webmaster | last post by:
I have a password protected Access Database (.MDB) file. I also have a Crystal Report with database fields connected to table in this database. I want to display the Crystal Report Preview Form using CRViewer. How to supply the password of the database, so that CRViewer is able to open the table at run-time?
0
1340
by: SWu | last post by:
Hi all Could someone please tell me how to configure and deploy my Crystal reports? Any help would be greatly appreciated. I want to be able to deploy my reports/web pages to another domain, web server, database and have the report connect via integrated security. 1. I have created a stored proc in my SQL Server db, created a report in my ASP.NET project, created a reports.aspx and placed a CrystalReportViewer on the page. This is...
7
5042
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version, which I did, then reran WebSetup.msi and keeps giving me this error. "The installer was interrupted...
2
1650
by: Atley | last post by:
I have imbedded a report in my project (added a report to my project and set some fields) How the heck do I access the report in my program? I have looked on MSDN and searched for a walkthrough... I can't find anything that tells me how to use the report viewer or how to bring it up on screen...
5
3595
by: ElTipo | last post by:
Hello People, I made a data base with secure wizard to provide to users a PID and Passwords. I need to extract data from Crystal Reports 7 in this data base but Crystal Reports send me a message like I cant extract data because I don't have rights to this data base. I am the "Admin" I don't Know what happens in this case. I try to change the "Set Location" in Crystal Rpts but no results. Crystal don't show me any window to put the...
0
2347
by: Mark Gold | last post by:
Hi! We have a VB application using Crystal Reports 6 that has worked successfully on hundreds of systems for over 10 years. Now, on one network, the application and access database does not close. It seems to hang on the command. When we open the application an peruse the screens without opening up a report (using crystal reports), the application and access db closes fine. But as soon as we run a report and then close the report and...
0
9925
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9772
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11089
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10809
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10395
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5777
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5972
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4595
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 we have to send another system
2
4192
muto222
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.