|
-
Nov 26th, 2008, 03:51 AM
#1
Thread Starter
New Member
Crystal Report XI & VB60
Hello.
I have a little problem with Crystal Report XI and VB60.
I've just read every post in the forum about crystal report but I didn't find the solution...
----------------------------------------------------------------
I use this code:
Private Sub CmdStampa_Click()
With CrystalReport1
.ReportFileName = App.Path & "\Report.rpt"
.SelectionFormula = "{REQUEST.NUMBER}=" & Trim(DataGrid1.Columns(0)
.Action = 1
End With
Ens Sub
--------------------------------------------------------
When Debug arrive at ".Action = 1" the Error say : "Runtime Error '20525' Unable to Load Report."
What's the Problem?
Another thing:
I'm using a Report that use a DSN connection. How can I give by code the DSN Name, User and Password?
Thank you
-
Nov 26th, 2008, 10:44 AM
#2
Re: Crystal Report XI & VB60
The posted code says that You are using Crystal Reports OCX control, as far as I know, the Crystal Reports XI doesn't support OCX (it is used in version 8.5 and lower)
Probably You have installed 2 versions of Crystal Reports in Your pc
To use version XI search about Crystal Reports XI RDC & VB6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|