Solved

VB 5 connection to Crystal Rpt 4.6

Posted on 1998-07-06
3
439 Views
Last Modified: 2010-05-03
I have created a report in Crystal Rpt using an Access DB.  When I run the rpt from VB using the Crystal Component to  feed selparameters, I either get an error 'Incorrect logon parameters - ODBC' or the rpt will print with just the rpt titles and columns, no data.  Pls Help.  Thanks.
0
Comment
Question by:NJMet
  • 2
3 Comments
 

Accepted Solution

by:
hmt earned 50 total points
ID: 1465030
use a remote data control to access the database giving it the user and pwd and sql then set the crystal datasource and type of access to the controll this will work, i use it

0
 

Author Comment

by:NJMet
ID: 1465031
Thanks for answering.  I think I've left out some info.  I do not use user names and passwords on the Access DB.  I thought that if you specify crptreport for reportsource than you do not need the data control.  Are both needed?
0
 

Expert Comment

by:hmt
ID: 1465032
only need it if you are using a odbc dsn source if dont use username or pwd leave em out
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

828 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