Hi! I need your help...asap...
How can I pass a parameter value from VB.Net to Crystal Report 11?
I created a report from Crystal Report 11 which has a parameter field for querying the records and I created a form from VB.Net which allows the user to enter a value which will be used for the report but I don't how to pass a parameter value from VB.Net to Crystal Report.Try This...
dim Report as New ReportDocument
Report.Load("YourReport.rpt") 'This is your Crystal Report File
Report.SetParameterValues("PARAM1","Christine") 'PARAM1 should have exactly the same spelling as what can be found in your parameter list in your "*.rpt" file.
CRViewer.Reportsource = Report
Showing posts with label vbnet. Show all posts
Showing posts with label vbnet. Show all posts
Friday, March 23, 2012
Sunday, February 19, 2012
How Can I generate a rdl file from a mdx query in VB.net or C#.net?
Is there some methods to generate the rdl file or reporting html page from a given mdx query language
For instance, I have a mdx query:
select dim1.a on rows, dim2.b on columns from cub1
How can I generate the corresponding rdl file to generate report html page with VB.net or C#.net?
For instance, I have a mdx query:
select dim1.a on rows, dim2.b on columns from cub1
How can I generate the corresponding rdl file to generate report html page with VB.net or C#.net?
I know that one can use xmltextwriter to write the rdl file but it is a difficult work.Is there some internal class in Vistual Studio have some methods to generate the rdl file?
Thanks
There's a good article here on this:http://msdn2.microsoft.com/en-us/library/ms167274.aspx
There's also some 3rd party libraries out there.
http://www.rdlcomponents.com/
Subscribe to:
Posts (Atom)