Answer Posted / santosh kumar
Firstly Create report. Then use crystal report viewer that
will be docked or normal view in any form.
U have to create object of created report and form that
contain report viewer.
dim crp_MyReport= new crp_ReportTest
Dim frm_Viewer=new frm_ViewerTest
If u want to pass parameter
dim parameter system.crystaldecision.shared.parameter
dim parameters system.crystaldecision.shared.parameters
dim parameters=crp_myreport.parameters
for each parameter in parameters
select .parameterfieldname
case "parametername1"
.currentvalue.addvalue(value)
end case
next
frm_viewer.crv_viewer.refresh()
frm_viewer.crv_viewer.reportsource=crp_Myreport
frm_viewer.show()
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How the data expert of flash object(after inserting flash object_right click-data expert) is useful in crt?
Is there a size limit to creating a Crystal Report? If I run a statement report for all customers it will crash if there are too many customers. I can print all the statements if I select them in batches, but if trying to print all at once Crystal will crash after a few minutes.
Suppose I am not able to see any image on crystal report at run time. So how can I load any image which is saved in local disk so that it can be viewed at runtime in crystal reports?
hi.. i've one crystal report. i want the report header as "employee database". i dont want to right click->insert and goto text object and insert. i've one aspx page and aspx.cs page also. now i want the "employee database" header to be printed from .cs file. i dont want to pass by parameter also.. i.e is there any option in .cs file something like ReportDocument myreport = new ReportDocument(); myreport.Load(MapPath("~/" + "emp.rpt")); myReport.Reportheader="Employee database"; i hope u have understood this. only thing is from .cs file i want to print the header as employee database. i dont want by passing parameter also... please help....
If we create reports in Crystal Reports using the UCAR Data Warehouse database, which tables should be used?
Suppose I have a crystal report with a linked subreport as well. Is there any way not to print the current record on the main report if no records are returned from the subreport?
Where can we find the log file generated when we run a crystal report?
how can we convert crystal dictionary dc5 file to another datasource format like mdb or xml schema
Explain basic steps required to display a simple report in crystal?
How to open subreport in new ie window using hyperlink button. I used target=new; in the formula field. But it overrides the main window and show the report?
Why do we use crystal reports when we have reporting tools in bo itself?
What all performance improvement techniques used in crystal reports? (Particularly cr xi)?
Explain the various components in crystal reports?
How to access crystal reports in .net?
Is there a way to be able to change an image(company logo) dynamically in a report? Example if you have 100 reports, and with the market uncertainty if you anticipate that the company logo might change, how can you change the image just in one place and have this reflected in all the reports at run time?