Solved

Open Crystal Report based on MS ACESS 97

Posted on 2004-09-28
5
240 Views
Last Modified: 2013-12-25
Hi,

I have problem to open Crystal Report using VB based n MS ACCESS 97. There was an error message :

Run Time Error '20535'
Unable to connect : incorrect session parameters

Here is my code :
-------------------------------------------
...
 Set db = New ADODB.Connection
 db.Provider = "Microsoft.Jet.OLEDB.4.0"
 db.CursorLocation = adUseClient
 db.ConnectionString = "SecretS"
 
CrystalReport2.LogonInfo(0) = db.ConnectionString
pathname = App.Path & "\report\Rekap fee.rpt"
CrystalReport2.ReportFileName = pathname
CrystalReport2.WindowState = crptMaximized
CrystalReport2.Action = True

----------------

What should I change to solve this problem ?

Thank you in advance
+Agung
0
Comment
Question by:masagung
  • 2
5 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 125 total points
ID: 12180969
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12825962
Should have solved it

mlmcc
0

Featured Post

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

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

705 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

21 Experts available now in Live!

Get 1:1 Help Now