Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Open Crystal Report based on MS ACESS 97

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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 …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

609 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