Solved

Crystal Reports Problem

Posted on 1998-11-19
2
206 Views
Last Modified: 2010-05-03
Hello I'm using the Report Designer for Crystal Reports 6.0.  The problem that I'm having is that when I go to open the report it is saying ODBC login failure.  When I created the report I put in a valid Username and Password assuming it would use these durin execution, but it does not seem to be using these and I can't find where to set them.
0
Comment
Question by:clsmaster
2 Comments
 
LVL 1

Accepted Solution

by:
kponder earned 300 total points
ID: 1445710
Assuming you are using VB & Sql Server try the following:

crwReports.Connect = "DSN = server;UID = username;PWD =password;DSQ = databasename"

Of course, change server,username,password, and databasename to match your system
0
 

Expert Comment

by:sridharp
ID: 1445711
If you are using SQL server or client then first log onto the sql server or client and then you will not get any problem. Do write this and mail me back please
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question