hi all,.I have generated a crystal report using crystal query designer (i.e) i created a .qry file from query designer and used this query in crystal report to generate the report and i got the report
But when i am trying to retrive the report from visual basic aplication
its giving the error run time error:20000
no errors
here is my vb code :
Private Sub i_Click()
CrystalReport1.Connect = "DSN= x;UID=SCOTT;PWD=tiger;"
CrystalReport1.ReportFileName = App.Path & "item.RPT"
CrystalReport1.WindowState = crptMaximized
CrystalReport1.Action = 1
End Sub
Would anyone help me to solve this problem.
Thanks in advance
Siva Kumar