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