Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more


Using Crystal Reports 4.6 OCX

Posted on 1998-10-08
Medium Priority
Last Modified: 2012-08-14
How do you use a Crystal Reports OCX with a security restricted Jet 3.5 DB ?
Question by:rcfulcher
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

Accepted Solution

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

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


Author Comment

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?


Expert Comment

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?
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

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!


Expert Comment

ID: 1438966
Do you mind to mail to for me to check out?

Author Comment

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.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

648 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