Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

report Keep asking for parameter value

Status
Not open for further replies.

AndreAraujo

Programmer
Feb 14, 2002
62
PT
Hi, im creating an Crystal report in VB.net , i use 3 Sql stored procedure with parameters, my problem is that i pass the parameters values, but the report continue to ask me for the value for that parameter.
This is tha code i use in load event inthe form that contains the ReportViewer

Code:
Private Sub frm_reports_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim rpt As New Myreport
        rpt.SetParameterValue("@id", 20045002021, "")
        ReportViewer.ReportSource = rpt
End Sub
Any ideas why?,
should i use views and then filter my report?



Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top