|
-
Dec 12th, 2005, 12:24 AM
#1
Thread Starter
Addicted Member
Using MS SQL Server Stored Procedure in Crystal Report
I have a stored procedure(MonthlyReport(@month INT)), then i want crystal report use this stored procedure by assign the parameter @month value. I have problem in setting parameter value in vb.net. Can one give me an example.
-
Dec 23rd, 2005, 12:26 AM
#2
New Member
Re: Using MS SQL Server Stored Procedure in Crystal Report
hi,
if u r using stored procedure then use the following code
Dim frm As New DailyReport --here i am passing two date values to the report
CRV.Visible = True
frm.SetParameterValue("@FDate", DTPFrom.Value)
frm.SetParameterValue("@TDate", DTPTo.Value)
CRV.ReportSource = frm
CRV.Show()
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
|