crystal report error 20515
i have write the following codes to run the crystal report...
cr1.Connect = "DSN=abcserver;uid=abc;pwd=abc"
cr1.ReportFileName = App.Path & "\reports\rpt_pol_to.rpt"
cr1.SelectionFormula = "{DTL_RECEIVED.DR_NO} = " & txt_no
cr1.Action = 0
i m getting the following error
run time error 20515
error in file (file name)
error in formula <record selection>
the remaing text does not appear..
plz help me
Re: crystal report error 20515
Moved to reporting section
Re: crystal report error 20515
Quote:
error in file (file name)
reports\rpt_pol_to.rpt"
First check your report file name it is correct or not???
You are using incorrect formula read crystal report tutorial at my signature for Cr Formula.
Re: crystal report error 20515
Re: crystal report error 20515
Quote:
Originally Posted by shahid
i write the same style
I am telling you the check the report name, That I mention
in bold part in my previous Post.Check the File Name is it correct or not??
Re: crystal report error 20515
Hi, I am new to the forum ...i am facing the similar issue for crystal report when i am migrating an application to 2003 server from 2000 server . application is running fine on 2000 server but giving error on 2003 server. I am getting Crystal rpt error 20515 when running on new server
Re: crystal report error 20515
If the field is String type then you have to enclose between '
Code:
"{DTL_RECEIVED.DR_NO} = '" & txt_no & "'"
Re: crystal report error 20515
run time error 20515
error in file (file name)
error in formula <record selection>
crystel report 8
Re: crystal report error 20515
run time error 20515
error in file (file name)
error in formula <record selection>
crystal report 8