|
-
Nov 10th, 2006, 05:50 AM
#1
Thread Starter
Fanatic Member
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
-
Nov 10th, 2006, 06:56 AM
#2
Re: crystal report error 20515
Moved to reporting section
-
Nov 10th, 2006, 07:05 AM
#3
Re: crystal report error 20515
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.
-
Nov 10th, 2006, 07:22 AM
#4
Thread Starter
Fanatic Member
Re: crystal report error 20515
-
Nov 10th, 2006, 07:41 AM
#5
Re: crystal report error 20515
 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??
-
Feb 26th, 2009, 01:42 PM
#6
New Member
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
-
Feb 26th, 2009, 02:05 PM
#7
Re: crystal report error 20515
If the field is String type then you have to enclose between '
Code:
"{DTL_RECEIVED.DR_NO} = '" & txt_no & "'"
-
Feb 27th, 2012, 05:06 AM
#8
New Member
Re: crystal report error 20515
run time error 20515
error in file (file name)
error in formula <record selection>
crystel report 8
-
Feb 27th, 2012, 05:08 AM
#9
New Member
Re: crystal report error 20515
run time error 20515
error in file (file name)
error in formula <record selection>
crystal report 8
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
|