Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi,
my project using crystal report.. problem is my search page user enter the text box some value.. that value related only i wan't report..in search button iam using store procedure... so i cal same store procedure in crystal report... ?
Posted

1 solution

Use Parameter-fields

VB.NET Crystal Reports String parameter[^]
VB.NET Crystal Reports Integer parameter[^]
VB.NET Crystal Reports Date parameter[^]

Yes, you could use the same stored procedure for reports.
 
Share this answer
 
Comments
akhil.krish 3-Dec-13 3:05am    
thanks for rply thatraja....
page load code:
btnPrint.Attributes.Add("onclick", "window.open('Reports.aspx?rptid=13','','location=0,resizable=0,ScrollBars=1,statusbar=1,fullscreen =yes,left=20,top=10,moveable=0') ;return false")

using this code..
report.aspx code:

Case "13"
report.Load(Server.MapPath("Reports/RepPOD.rpt"))
CRptViewer.ToolPanelView = CrystalDecisions.Web.ToolPanelViewType.None
report.RecordSelectionFormula = Request.QueryString("val")

Page.Title = "POD Reports"
thatraja 3-Dec-13 4:32am    
????

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900