?
Solved

Open Crystal Report based on MS ACESS 97

Posted on 2004-09-28
5
Medium Priority
?
294 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
2 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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

840 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