Solved

Using Crystal Reports 4.6 OCX

Posted on 1998-10-08
6
384 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
  • 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now