?
Solved

Open Crystal Report based on MS ACESS 97

Posted on 2004-09-28
5
Medium Priority
?
284 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
[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
  • 2
5 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 12180969
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 12825962
Should have solved it

mlmcc
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 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