Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Crystal Reports Problem

Posted on 1998-11-19
2
Medium Priority
?
239 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 1200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

916 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