Solved

VB 5 connection to Crystal Rpt 4.6

Posted on 1998-07-06
3
438 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now