Solved

Open Crystal Report based on MS ACESS 97

Posted on 2004-09-28
5
272 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 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Saving history changes to sub form 4 52
How does CurrentUser work? 10 42
how to know if my Checkbox is True in VB6.0? 9 65
Problem to line 23 74
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

749 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