Browser based dynamic report generation

Here is what i want to do.
I want to allow our customers the ability, through an IE browser, authenticated to ColdFusion, to create their own reports through their own ColdFusion webpage.
-We will list or enable certain databases, certain tables and certain columns with in a table that a customer will have access to
-These columns will appear on a web page that our customers can access
-The customer will be able to see the table headings and drag and drop them into a query
-Once all of the columns are identify the customer can then create their own report
-This should work exactly the way that excel 7 works where you can attach the spreadsheet to a ODBC driver and pull all of the data from a database. the only difference here is that the customer can only see certain fields and although they are working in a hosted environment they can create their own database queries through their browser.
thank you.

It can be done.  We do this where I work everyday.  We call them Ad Hoc Reports.  We have a table that holds all the tables and views they can report against (including columns).  We have a interface allowing the users to enter report titles, subtitles, widths of columns, etc...  We even have a parameters section where they can define items like [column] [equal to / like / less than / etc...] [value] with the columns being a drop down of valid columns.  Based on the parameters they defined we build the SQL.  We also show the SQL so that if they are fluent they can just enter in SQL and not bother with the parameters (which are basically just wizards for creating the SQL).
Its very powerful and complex but can be done.  We use iText to generate our reports, cfdocument tag is way limiting.  Hope this helps.  Break it down to a wizard process for your first crack at it.
1.  User selects table/view, enters report title, subtitle
2.  Now that you have table, on the second page you can display columns they can select, give options to change label that appears on screen, so instead of seeing DOCNO they could enter in "Document Number" or something.  On this page we also let them define sorting and if certain columns are numbers should they be sum'ed/averaged, etc  at end of report
3.  Define any additional paramerters or SQL editing
4.  A detail screen showing everything, save it to database so the Ad Hoc can be ran by others "if marked public" and they don't have to keep entering in this stuff, especially if its a report they run often.

Similar Messages

  • I need  Web based Dynamic Reporting tools

    Hi,
    I need a Web based Dynamic Reporting tool.
    I have to user oracle products and this reporting tools must support OLAP and Data Warehousing.
    thanks,

    Hi Shima,
    Let me quote from Oracle Reports website:
    "Oracle Reports is Oracle's award-winning, high-fidelity enterprise reporting tool. It enables businesses to give immediate access to information to all levels within and outside of the organization in an unrivaled scalable and secure environment. Oracle Reports consists of Oracle Reports Developer (a component of the Oracle Developer Suite) and OracleAS Reports Services (a component of the Oracle Application Server)."
    Since you need a web-based reporting tool, this is what is available with Oracle Reports:- you cannot design reports on the web, but you can use Oracle Reports Developer to design high quality reports that are suitable for viewing on the web.
    Oracle Reports support OLAP as a data source.
    From your requirements, it seems that it might be worthwhile for you to check out Oracle Discoverer which is again a powerful reporting and analysis tool. Oracle Discoverer is more suitable for ad-hoc reporting and web-based analysis of data by the end-users:
    http://www.oracle.com/technology/products/discoverer/index.html
    Navneet.

  • Dynamic  report generation

    We are migrating our client reports from crystal reports to business object reports and I need your help on how to achieve the below functionality in Business object reports.
    Requirements
    1. We need to generate and deliver around 30,000 statements to clients (mostly ftp and email) from 300 Webi report templates.
    2. This has to be a complete automated process with no user intervention.
    For example: Using Webi / Deski Report1, we need to run the report for each client account and then generate a statement and deliver it to client (only client specific data). Web1 reports are complex and some might take 30 to 60mins for generation.
    Questions
    1) Can it be done by just using BO tools with out coding ( using any .net sdk)?
    2) Can a single BO server handle the load, If not How to load balance reports generation and delivery across multiple servers?
    3) How to dynamically pass parameters to Webi report without coding?
    Thanks for reading my post. Any help/ suggestion is appreciated.

    In our current architecture, 
    1) We use crystal report templates and pass dynamic datasets at runtime to generate multiple client statements.
    2) For load balancing, we have 6 app servers with crystal runtime installed and we distribute load across the servers using custom code.
    My question is if use BO enterprise will there be any performance enhancements?

  • Dynamic Report Generation C# Win Appl

    Hi to all,
                 My task is i have a DataSet object with some records. I want to bind all columns at run time.
    Using C#.Net Windows application , C# 11 R2.
                I already did this type of work in Web application but some of th property is missing in Win Appl.
    Experts please guide me to generte dynamic report.

    Hello,
    You shouldn't need to use the .Databind method at all - for either Windows or Web applications.  Some of the older Crystal Reports sample applications used it in the past, but that was long ago.  More often than not the .Databind method will cause more problems than it resolves.  We don't really recommend using it.
    You can download some .NET samples to look at an ADO.NET Web sample and an ADO.NET Windows sample.  You'll see that neither sample uses the .Databind method.
    [.NET Windows Samples|https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe]
    [.NET Web Samples|https://smpdl.sap-ag.de/~sapidp/012002523100006252812008E/net_web_smpl.exe]
    Extract the samples to their default location (C:\Crystal\CRNET) and look for the "vbnet_web_adonet" sample, and the "vbnet_win_adonet" sample.
    What's happening in your Windows application without it?  Are you getting any errors?
    If you're getting errors please post more of your Crystal related code.
    Sincerely,
    Dan Kelleher

  • Dynamic report Generation INSERT REPORT/INSERT TEXTPOOL

    hi,
    I have problem while creating dynamic report I have a text file Containing all the lines of a Program If i download the text then the Pgm should be dynamically creted with text elements. i cant Copy text element alone in the text file So i used two lines of statements,
    1.one to insert lines of Program
    INSERT REPORT repname FROM code.
    2. To insert Text elements of that Particular Pgm
    INSERT TEXTPOOL repname FROM text2 LANGUAGE langu2.
    I want to know how to combine this both..
    or is there any other method to dynamically insert the report with textelements.
    Plz give me suggestions
    Hema

    It is soleved by declaring the text in file format

  • Database report generation?

    Anyone know of any good java-based database report generation tools that would work in a JSC created application? I'd like both web reporting and print capabilities.
    thanks in advance!
    Paul

    I haven't used any report generation tool with Creator. But I have seen users reporting about using Jasper Reports and JReports along with Creator in this forum.
    - Winston
    http://blogs.sun.com/roller/page/winston?catname=Creator

  • Dynamic crystal report generation - issues with column headings

    Hi All,<br>
    I'm trying to generate a crystal report dynamically based on a "result set" data(Query: select REPORT_ID, REPORT_NAME, REPORT_DESC, RPT_FILE_NAME, LOCATION from IRS_REPORT_DETAILS). I'm able to generate the report run time, But the report is without columns heads. I would like to include the column headings as well. <br><br>
    I searched the API(RAS) and found that there is a 'add(java.lang.String fieldName, java.lang.String headingText) " method present in "ReportObjectController" using which we can add the headings.<br><br>
    ReportDefController reportDefController = clientDoc.getReportDefController();
    ReportObjectController reportObjectController = reportDefController.getReportObjectController();
    reportObjectController.add( "{Table.Field}", "FieldName" );
    <br><br>
    I'm facing problems in using this code. When trying to use this function for my fields(Ex: reportObjectController.add( "{ IRS_REPORT_DETAILS.REPORT_ID}", "Report ID" );) it is giving me the following error:<br><br>"com.crystaldecisions.sdk.occa.report.lib.ReportSDKGroupException: The field was not found.---- Error code:-2147213310 Error code name:fieldNotFound"<br><br>
    <b>The following is my dynamic crystal report generation code:</b><br><br>
    public ReportClientDocument execute(String repName, String query) {
              ReportClientDocument boReportClientDocument = null;
              try {
                   boReportClientDocument = new ReportClientDocument();
                   boReportClientDocument.newDocument();
                      // Add a table based on the given Resultset to the report.
                   dbConnResultSet mySampleResultSet = new dbConnResultSet();
                   //mySampleResultSet.execute(query);
                   boReportClientDocument.getDatabaseController().addDataSource(
                             mySampleResultSet.execute(query));
                   IReportSource test = boReportClientDocument.getReportSource();
                   // Access all the database fields
                   DatabaseController databaseController = boReportClientDocument
                             .getDatabaseController();
                   IDatabase database = databaseController.getDatabase();
                   Tables tables = database.getTables();
                   ITable table = (Table) tables.getTable(0);
                   int NO_OF_FIELDS = table.getDataFields().size();
                   int LEFT_POSITION = 200;
                   // Add all the database fields to the report document
                   for (int i = 0; i < NO_OF_FIELDS; i++) {
                        IField field = table.getDataFields().getField(i);
                        FieldObject fieldObject = new FieldObject();
                        fieldObject.setFieldValueType(field.getType());
                        fieldObject.setDataSource(field.getFormulaForm());
                        IReportObject rep = (IReportObject) fieldObject;
                        IObjectFormat objformat = rep.getFormat();
                        objformat.setEnableCanGrow(true);
                        objformat.setHorizontalAlignment(Alignment.from_int(1));
                        rep.setFormat(objformat);
                        rep.setLeft(LEFT_POSITION);
                        rep.setWidth(1000);
                        LEFT_POSITION = LEFT_POSITION + 1000 + 50;
                        ISection section = boReportClientDocument
                                  .getReportDefController().getReportDefinition()
                                  .getDetailArea().getSections().getSection(0);
                                   //***************** Data being added to the report here, But headings are not added*****************
                        boReportClientDocument.getReportDefController()
                                  .getReportObjectController().add(rep, section, i);
                   boReportClientDocument.createReport();
                   /*Some report saving code is present down*/
              } catch (ReportSDKException ex) {
                   ex.printStackTrace();
              } catch (Exception ex) {
                   ex.printStackTrace();
              return boReportClientDocument;
    <br><br>
    appreciate your help.

    IField field = table.getDataFields().getField(i);
    Here you are getting the first field in the array.  This may not be the field you want to add since we aren't sure how the arrays are ordered when retrieving fields from the report.  It is better to retrieve the fields with the findObjectByName method, thus ensuring you are retrieving the field you want to add to your heading.

  • Report Generation: Dynamic VS. Static

    Hi there:
    I have following questions that I'm not sure how to get clarification. If you have some input, please let me know. You can also email me directly to my email address.
    I'm looking into a report generation part of this project. One of the requirements is that, the reports need to be generated periodically (ie. daily, monthly, seasonly ...) and automatically (ie. 1200am daily, 1200am on 30/month ... etc). Then the output(generated reports) will need to be stored in some well structured directories. This is what I ment by static report generation. Now, the question is that, do current Oracle reporting utilities provide "Scheduling" functionality as mentioned earlier. Also, functionality that allow the report auto-generation to output reports in a stmart way, such as save it in a specific directory. And the name of the report file will be according to a specific format (ie mmddyyy.html)
    Second questions is that, if I go with the dynamically route, would this method consume a lot of system utilities?? This means that, I can set up my report server into a web/portal like service. Users can always request reports from a www client and a server generate this report on-the-fly.
    Thank you for your inputs
    Mark

    The oracle reports server can schedule batch reports at specific periodic times. It can generate them to specific directories and file names to.
    This will consume less resources then running the report again and agian for each user. You might want to also check the tolerance parameter that you can pass to reports server for reports caching purposes

  • Looking for browser-based, end user  ad-hoc reports

    Hi all. We have need for an easy to use, browser based end-user reporting tool that can be hosted by CF10. We are spending a fantastic amount of time building custom tabular reports for our client and would prefer to give them a tool in our app that let's them build reports whenever they want. Do any of you know of any good reporting tools where the end-user could build their own reports?
    Thanks for your help.
    -Andy

    Hi Andy,
    You could try JReport.  Its a reporting and data visualization tool that let's anyone of any skill level create and modify their own reports and dashboards.  You can even embed them into other applications.  Let me know if you want to chat about it.
    JReport website: www.jinfonet.com
    -Dean
    dyao (at) jinfonet.com

  • Are report generation tools exclusively text-based?

    Hi,
    I'm using LabView 5.1.1, and have just explored the new (to me) report
    generation tools. Handy though they are (I added the facility to print
    results from my project in a nicely formatted report in just a couple of
    hours) it strikes me that it would be even better if I could add bitmaps
    to the report. This would let me add pretty logos, but obviously we
    could do far more using LabView pictures/graphs etc.
    There is no reference in the documentation or on the NI web site as far
    as I can tell, but I can't be the first programmer wanting to do this.
    Any hacks out there?
    Best wishes to you all,
    Allan Green
    Medical Physics and Clinical Engineering,
    Queen Elizabeth Hospital Edgbaston Birmingha
    m UK
    ==================================================================
    My views and opinions are seldom that of the institution for which
    I work. I take that to be a healthy sign.
    ==================================================================

    I too have tried to use the report functions. They work fine for text only.
    In the end I ended up scraping the idea and simply configured a vi (which i
    called report.vi) to print at completion. I set the vi up with tables and
    bitmaps the way i wanted it and called it as a sub vi (passing the data i
    wanted printed to it) whenever i wanted a report printed.
    It works really well. The only problem is that it must always be strictly
    to a given format as defined in your vi.
    I suppose you could hide some controls using attribute nodes (and maybe
    enable others) if you didn't want them printed.
    Cheers
    John
    Reinis Kanders wrote in message
    news:[email protected]...
    > On windows I have had success with using HiQ for report generation. I
    > would manually create a template for a
    > particular project, then send data using LV VI's to that template then
    save
    > it with different name or just print it.
    > Using HiQ (free with LV 5.1) I was able to have pictures, graphs, you name
    > it. Also since HiQ gets the actual data, then by saving HiQ file you do
    > data logging as well, those HiQ reports can also be stored in database.
    > I found HiQ approach to be more flexible than NI report generator,
    only
    > drawback is that it is not cross-platform portable. For cross-platform
    > report generation I have been looking into some sort of XML based
    approach.
    >
    > Hope it helps,
    >
    > Reinis Kanders
    >
    > "Allan Green" wrote in message
    > [email protected]...
    > > Hi,
    > >
    > > I'm using LabView 5.1.1, and have just explored the new (to me) report
    > > generation tools. Handy though they are (I added the facility to print
    > > results from my project in a nicely formatted report in just a couple of
    > > hours) it strikes me that it would be even better if I could add bitmaps
    > > to the report. This would let me add pretty logos, but obviously we
    > > could do far more using LabView pictures/graphs etc.
    > >
    > > There is no reference in the documentation or on the NI web site as far
    > > as I can tell, but I can't be the first programmer wanting to do this.
    > > Any hacks out there?
    > >
    > > Best wishes to you all,
    > >
    > > Allan Green
    > > Medical Physics and Clinical Engineering,
    > > Queen Elizabeth Hospital Edgbaston Birmingham UK
    > >
    > > ==================================================================
    > > My views and opinions are seldom that of the institution for which
    > > I work. I take that to be a healthy sign.
    > > ==================================================================
    > >
    > >
    >
    >
    >
    >
    > -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    > http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    > -----== Over 80,000 Newsgroups - 16 Different Servers! =-----

  • Report Generation - Build an exe from a PC with different Office Version

    Hi,
     I want to build an exe from a VI that uses Report Generation Toolkit. The application has to be deployed on several PCs that use Office 2000. During development phase I installed on my PC, Office 2000 and everything was ok. After I was done with it, I reinstalled Office 2007. So, the Report Generation Toolkit from my PC is for Office 2000 (it was installed when I had Office 2000 on my PC).
     These days I had to fix some bugs from my application, I made a new exe but the part that generates Word reports (using RGT) is not working anymore - I received that error with -35...9935 (or something like this).
     I tried to search for the problem and I found it: with exactly the same VI's (_Word Dynamic VIs.vi - for Office 2000) the invoke nodes from a PC with Office 2007 and a PC Office 2000 look different. For example in Word_Open_Document.vi, the invoke node Document is different for a PC with Office 2000 + RGT for 2000 and a PC with Office 2007 + RGT for Office 2000 (no mistake).
     So, I've tried to copy the VI's from a PC with Office 2000 + RGT 2000 to my PC but I cannot build it because I get the error: There are some errors in _Word Dynamic VIs.vi (the invoke nodes do not fit).
    Finally my question is: How can I build the exe on my PC: Office 2007 but with RGT for Office 2000??
    Thanks,
    Paul
    Solved!
    Go to Solution.

    Hi,
    Thank you for your advice. Can you please tell me what you want to say with the wrapper vi? I don't really understand what you mean.
    By the way, I solved the problem. I discovered that the Invoke Nodes are updated based on the Object Library for the ActiveX control (in this case the MS Office). The data types are store in the msword9.olb (version 9 - for office 2000 in Office folder) and msword.olb (version 12 - for office 2007 also in Office folder). I tried to register the msword9.olb (using the regsvr32.exe) but it doesn't work for olb files - I need the ocx or dll. But, if I replace the msword.olb from Office 2007 with msword9.olb from Office 2000 everything work.
    Ok, steps that have to be done:
    1. Install the RGT for Office 2000 on the PC
    2. DO NOT Change anything in _Word_Dynamic VIs.vi. When Office 2007 is installed the VI arrow should be broken (error in VI)
    3. Copy the msword9.olb from a system with Office 2000 (or your version) and copy it to your system with Office 2007 with the new name msword.olb. DO NOT FORGET to make a backup of the original MS Office 2007 file and to restore it at the end.
    4. After the new msword.olb is there, the _Word_Dynamic VIs.vi should have no error
    5. Build your exe application
    6. Restore the old msword.olb
    7. ENJOY your life !
    I hope this is useful also for somebody else.
    Paulie

  • Report generation toolkit and signal express user step : problem of closing reference in "Stop" event

    Hi all,
    I'm trying to make a package of Vis to easily make Excel reports with Signal Express. I'm working on LabVIEW 8.2.1.
    I'm using the report generation toolkit, so I build a .llb from my project which contains all the hierarchy of my steps, but also the hierarchy of dynamic VIs called.
    I have made some steps, like "Open Workbook", "Write Data", etc.
    My steps run well, excepts one step : "Close Workbook".
    If my "Close Workbook" step is firing on "Run" Signal Express event, I have no error, so my reference is properly closed.
    But if my "Close Workbook" step is firing on "Stop" Signal Express event, I have an error "1", from "Generate Report Objectrepository.vi".
    I feel that I'm trying to use a reference which has been killed in the "Stop" step...
    I would like to know what exactly do Signal Express on "Stop" event and why my close function does'nt run well.
    Thanks,
    Callahan

    Hi Callahan,
    SignalExpress (SE for short) does the following on the Stop event:
    1. Takes the list of parameters that SE found on your VI's connector pane, and sets the values that the user set from the "Run LabVIEW VI" configuration page, if any.
    2. Then tells the VI that SE is running the Stop event by setting the Enum found on your VI's front panel. This in turn should produce some boolean values telling your VI to execute the Stop case.
    3. The VI is then run, with those values and states.
    4. SE checks to see if any errors where returned.
    5. Since this is the Stop event, SE releases the reference to the VI which it possesses.
    Questions for you would be, is the reference to your Workbook linked to a control on your connector pane, or held in a uninitialized Shift Register. If it's held in a Shift Register, SE would not be aware of it, and would not be able to affect that reference.
    Hope that helps. Feel free to post your LLB if it doesn't.
    Phil

  • Report Generation for Excel does not work after using the Application Builder

    I have a VI that writes data to an Excel file using the Report Generation Toolkit. I recently compiled the VI into a single Application (EXE) using the Application Builder. My VI runs its tests properly, but no data is written to Excel. What could be the cause? I don't receive any error messages.

    Hi
    I usually build exe-files, which sometimes also have report functionality.
    Open the Application Builder and check the following things:
    1. Add the following vis: _Word Dynamic VIs.vi, _Excel Dynamic VIs.vi They should be located in the directory ..\LabVIEW X.X\vi.lib\addons\_office in the llbs _wordsub.llb and _exclsub.llb (report1.jpg)
    2. If you use an Installer, go to the Advanced Settings. There you can select some things to include in the Installer. Check if "NI Reports Support" is selected. (report2.jpg)
    These are the things I always do, if I need reports and I never had problems up to now. I made two screen-shots of these settings.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    report.zip ‏25 KB

  • Report generation toolkit VI error when running EXE

    A VI inside the Report Generation Toolkit (version 1.1.2), Excel Find Application Directory.vi, will not function correctly when running an EXE.  The "Current VI's path" block will return the path of the currently running EXE rather than the path of the Excel Find Application Directory VI.  (The same would be true for Word Find Application Directory.vi.)
    -Joel
    Solved!
    Go to Solution.

    Have you had a look at this knowledgebase article? The error is caused due to the exclusion of any dynamic VI.
    Ipshita C.
    National Instruments
    Applications Engineer

  • Error 7, report generation toolkits do not work after building.

    Hallo guys:
    one problem. help!
    I tried to build my programs with application builder, unluckly builded exe application does no work well as before, i checked some similar post from this forum, and added that NIReprot.llb in my project and rebuild, the problem still takes place, my program append some text, tables, and charts into a word template with that Report Generation Toolkits, but it always gives out error 7 and 'NI_Word.lvclass:new report subVI.vi -> NI_report.lvclass:New Report.vi -> Creat New Report.vi ->...'error information.
    is there anyone can give me some clues about this annoying problem.
    thanks a lot!!!
    Solved!
    Go to Solution.

    When you say "attached all this library to my project", it is not clear whether you answered the question about including the dynamic VIs in your build specifications. See attached image. You will need to select the files in your project and set them to Always Included. Have you done this?
    Attachments:
    alwaysincluded.JPG ‏46 KB

Maybe you are looking for

  • Unable to Start Report Builder

    Hi, I am new to report server. After installing it I am able to start Report Manager, however when I click on Report Builder button in Report manager, I get the following dialog: Cannot download the aplication. The application is missing required fil

  • How can I turn off mail after turning on my mac??

    Hi! I made an upgrade my mac to 10.7.1 and at start up, mail is automatically turning on. I was trying to unmark function "Open at login" but after restarting my computer it is still marked. Can somebody tell me how to set mail to not turning on all

  • Unlimited Data Vent

    I have been a Verizon customer for a good many years.  When I joined all 4 of our phones had unlimited data.  Over the years the unlimited data dropped off and in order to upgrade my wife and kids' phones I had to go to new plans for them.  Due to th

  • Using a string in a url.

    This is my code: (problem is stated at the bottom) import java.net.*; import java.awt.*; import java.applet.*; import javax.swing.*; import java.util.Properties; import javax.swing.JOptionPane; public class Load implements AppletStub {    private sta

  • "email usage" doesn't change with reduction in emails

    I made a large reduction in emails but the email usage tab did not show any reduction at all.