• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 452
  • Last Modified:

VB 5 connection to Crystal Rpt 4.6

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
NJMet
Asked:
NJMet
  • 2
1 Solution
 
hmtCommented:
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
 
NJMetAuthor Commented:
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
 
hmtCommented:
only need it if you are using a odbc dsn source if dont use username or pwd leave em out
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now