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.
Who is Participating?
hmtConnect With a Mentor Commented:
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

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?
only need it if you are using a odbc dsn source if dont use username or pwd leave em out
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.