StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Pass Parameter(s) to Report Sharp Shooter
Pass Parameter(s) to Report Sharp Shooter
Post Reply
Like
0
1
2
Next
Jump To Page
Pass Parameter(s) to Report Sharp Shooter
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Edhy Rijo
E
Edhy Rijo
posted 14 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Terry, glad it is clear now, also when you have a chance take a look at the RSS Sample projects, they are really good. I have been there in the past and I am happy to contribute as much as I can.
Trent, you are welcome.
Edhy Rijo
Reply
Like
0
Trent Taylor
Trent Taylor
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Glad you got it going. This is a great community out here!
Reply
Like
0
Terry Bottorff
Terry Bottorff
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 448,
Visits: 12K
Thanks Edhy, the piece I was missing was setting up the Document's parameter list. Just needed that little nudge to get me going. Thanks to all. Trent thanks for the idea to include some of the info in the data table even if it is not part of the data. That also worked..........
Reply
Like
0
Terry Bottorff
Terry Bottorff
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 448,
Visits: 12K
Oh thank you so much. Your help is over whelming......
Reply
Like
0
Trent Taylor
Trent Taylor
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Thanks for taking the time to create the sample, Edhy.
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 14 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Again this would be much easier with a sample.
Here I took a sample provided by Trent a while ago and modified to use the RSS parameter way because I believe it will be easier in your case to do this way.
I build the sample with the latest assemblies from SF and RSS if you don't have those, please change the references.
In Form1.vb pay attention to the ReportManager1_GetReportParameter method. Also you must add the parameter to the Document's parameters collection, then show the parameter using the GetParameter("ParameterName") function in the report.
Have fun!
Edhy Rijo
Reply
Like
0
Terry Bottorff
Terry Bottorff
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 448,
Visits: 12K
It is a variable defined in the code on the form. On the Strataflix sample where does one begin to look at the code? TIA
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 14 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Terry Bottorff (02/01/2010)
...What I was wanting to do is get a different value to use in the heading of the report. Such as:
Results for Bare Back or Results for Bull Riders and so forth. So what I was trying to do is say let cevt="Bare Back" and run the report and then let cevt="Bull Riders" and run the report.
Hi Terry,
Where are you getting the value for "cevt"? if this is in the database, you can simply use that field for the header or depending on how you are generating the report you can pass that value to the report before it gets render.
In this case, it would be easier to use any of the sample posted in the forums to try to reproduce your issue then re-post the sample here so we can take a look at.
Edhy Rijo
Reply
Like
0
Trent Taylor
Trent Taylor
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Yeah, this is the same thing that we do in our medical app as well as StrataFlix. There are a number of ways to handle this, either by pulling or setting this value in your data source or to include it in your criteria which is also exposed. If you look at the StrataFlix sample, you will be able to see how we handle it there versus me give a long-winded explanation here. Let me know if you need some help or explanation once you get the StrataFlix loaded.
Reply
Like
0
Terry Bottorff
Terry Bottorff
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 448,
Visits: 12K
Trent, I'm sorry but I did use the Custom BBS. What I have is a simple report that will fit for many different kinds of people. I am able to use the same BO but just a different Select to get the data. What I was wanting to do is get a different value to use in the heading of the report. Such as:
Results for Bare Back or Results for Bull Riders and so forth. So what I was trying to do is say let cevt="Bare Back" and run the report and then let cevt="Bull Riders" and run the report. I am not sure how to do it your way. Any help would be appreciated. TIA. Maybe the Stratflix sample will have that in there and I will look at that this afternoon to see if I can find it.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
1
2
Next
Jump To Page
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search