|
Login
August 21, 2008
you are here:-
Blog
Home
Blog
Blog
You must be logged in and have permission to create or edit a blog.
Search
Crystal Reports for Visual Studio .Net 2003 Parameter Passing
Location:
Blogs
Living in Software Development
Posted by:
host
11/30/2006 6:58 PM
Today I wrote a Report for a client using Crystal Reports for Visual Studio.net 2003. The report uses two stored procedures in MSDE as the datasource for the main report and one subreport. Both stored procedures use the same parameter name, and when I first ran the report I received multiple parameter prompts, even though the parameter name in both stored procedures is the same. There is a linking that can be done between the main report and the subreport to suppress the duplicate parameter prompts. The way you do it is to open the report in Visual Studio. Right click the subreport in the design view of the main report and click "Change Subreport Links." From the Available Report Fields list, I selected the parameter from the Report Fields and added it to the "Field(s) to link to:" list. As soon as I did that, a new control popped up below the two lists where I could select the subreport parameter to link, and then the multiple prompts issue was squashed.
Permalink
|
Trackback
Comments (0)
Add Comment
Your name:
Title:
Comment:
Add Comment
Cancel
Blog
View All Recent Entries
Living in Software Development
Blog
All Blogs
Living in Software Development
Keywords
Phrase
Blog
Archive
<
August 2008
>
Sun
Mon
Tue
Wed
Thu
Fri
Sat
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
Monthly
June, 2008
May, 2008
December, 2007
November, 2007
September, 2007
August, 2007
April, 2007
February, 2007
January, 2007
December, 2006
November, 2006
October, 2006
July, 2006
Copyright 2008 by Serrated Software
|
Serrated Software
|
Privacy Statement
|
Terms Of Use