How to add fields to the ActiveReports 10 Forms ReportExplorer Control - activereports

I am using ActiveReports 10 in a c# WinForms application.
I am creating a form where the user can design report. I want to pre-populate the report explorer control with a list of fields that the user can drag onto the report designer control.
I don't know how to create the field entries in the report explorer control.
Note that I do not want to use the toolbox control to drag textboxes or labels onto the forms for the user to configure. I want them to be able to drag on pre-configured "things" that print out specific values.
thanks

just set the data source and query of your report and the report will populate the fields tree automatically.

Related

Adding filepath to crystal reports based on parameter

I am creating a Crystal Report where all data that is displayed is based around the OrderNo. Each order has separate documents that are housed on the server (each order has different documents). What I'd like to be able to do is add a hyperlink to the report that will take the user to those specific documents when clicked (the file path will need to change dynamically based on the OrderNo).
If possible, what is the best way to do this?
Right-click the field you wish to act as a hyperlink.
Select Format Field...
Go to the Hyperlink tab...

Change fields depending on drop down selection in Microsoft Word design mode

Can anyone point me to info about how to create a Microsoft Word document that changes text input fields depending on what the user selects in a drop-down menu?
I'm using Word, Developer toolbar, Design mode, and have gotten as far as how to create the drop down selection box, and add text input fields below that on the page, but I need to know how to change what fields appear depending on what the selection is. I'm sure it's possible, I just don't know how to go about it.
I'm pretty good with this sort of thing in HTML with javascript and jQuery, but Word is its own little world.
I tried the "structured" tab but it suggests selecting XML add ins, and none appear in the list to select.
One option is using a template approach in combination with 3rd party toolkit and external application. External application takes care for user interface where user selects template and sets filter for data retrieval. The application then reads the data, generates new document based on template and populates it with data.
You don’t have to mess with MS Word macros and this solution can survive Office upgrades very smoothly.
Template design in done in MS Word. We are using third party toolkit (i.e. Docentric Toolkit) for populating Word documents with data.

On demand sub reports in crystal reports

I have a report where I am using an on-demand sub-report. But my user is viewing this report from a java application. So whenever he run the report he will view this report in PDF.
Report format:
country name location sales
<on-demand subreport>
Now once he run the report he will get all the above fields data in PDF format.
So now if clicked on location field data in PDF will he get the sub-report's data.
PDF isn't intended to generate dynamic content. As such, you'll need to find an approach that will render the desire content in a static manner.
I would suggest that you parameterize your report to display one of these options:
main only
main + subreport
The PDF will either contain the main report's content or the main and subreport's content.
** edit **
If you are using BusinessObjects Enterprise (BOE), you could use the openDocument API to generate a new report instance or the most-recently-generated instance. I don't know if Crystal Reports Server supports this feature for certain.
If you are rendering reports in a Java application, then you will need to a way to intercept the hyperlinks--a server, most likely. By in large, you'd be reinventing Crystal Reports Server/BOE.
Basically I understand as you need two thing.
you need to generate a report and export/generate in pdf.
in you need to attach link or something like editable field pdf.
For First answer, you can easily hide/show of sub-report in crystal report side. but not after report generate in pdf.
So for second answer, you need to pdf professional or editable allow version. after you get that you simply use itextsharp.dll (to generate pdf from asp.net-see below link).
So finally I think, does not needed crystal report.
please check this link.
How to create an editable pdf in asp.net?
Pdf's fields should remain editable using itextsharp in asp.net
Creating a fillable PDF form with ITextSharp

Report displays correctly in report designer, but displays no data when presented through the web viewer

My report is written in Crystal Reports for VS 2010 using c#.net. Its using the CR web viewer.
It displays everything correctly in VS and whilst testing it on IIS7 (locally) using the web viewer.
When I print or export the report (from the web viewer) all the 'fixed' fields (labels, text fields, images etc.) are printed but all the 'data' fields are not printed, just blank.
Have I missed a setting somewhere that allows the data in the report to persist?
Sounds like you might need to select Save Data with Report, which is on the File menu in Report Designer.
Looks like the reportdocument wasn't being saved to the session and restored correctly on a postback event. Modified a few bits and pieces and now its working like a charm.

How to show SQL reports in a web application without Reportviewer control in asp.net

I want to know if there is any way to show reports without reportviewer control...
My reports are deployed on the report server. Now I want to show these reports in a web application. Please let me know if there's any other way to show reports. I do not want to use report viewer control.
using code all reports can be "exported" to all supported formats like pdf, wrod, excel etc. By export i mean as you show the reports in report viewer and click the export button on the viewer Then you can show the genereted with somekind of viewer for that format.
Best Regards,
Iordan
P.S. You will need to use the report Viewer to achive this but the use will be internal and the user won't see the report viewer as visualization control. There is no way to show report without the use of report viewer control