Solved

VB 5 connection to Crystal Rpt 4.6

Posted on 1998-07-06
3
443 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

690 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