Solved

Using Crystal Reports 4.6 OCX

Posted on 1998-10-08
6
401 Views
Last Modified: 2012-08-14
How do you use a Crystal Reports OCX with a security restricted Jet 3.5 DB ?
0
Comment
Question by:rcfulcher
[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
  • 3
  • 3
6 Comments
 
LVL 5

Accepted Solution

by:
chewhoung earned 50 total points
ID: 1438962
Pass in user and password like this:

        cryReport.ReportFileName = "C:\report.rpt"
        cryReport.UserName = "User"
        cryReport.Password = "Password"

0
 

Author Comment

by:rcfulcher
ID: 1438963

In theory the suggested solution should work - but it didn't for me!

I receive an error code 20000 - no error !  but the report does not appear.  Any ideas?


 
0
 
LVL 5

Expert Comment

by:chewhoung
ID: 1438964
Did you change "User" and "Password" to your user id and password?

Can you use the same id and password to login to Access?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:rcfulcher
ID: 1438965

Yes - I used a user name and password which worked when accessing the Access 97 database directly.  The user name was included in a user group with read, update, insert & delete privileges.  Thats why I've been tearing my hair out!


0
 
LVL 5

Expert Comment

by:chewhoung
ID: 1438966
Do you mind to mail to chewhoung@yahoo.com for me to check out?
0
 

Author Comment

by:rcfulcher
ID: 1438967

I'll have another go at trying to resolve the problem myself & then send as much info as possible to you.  Thanks for your help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…

733 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