Generate report from database using .xsl style sheet

I am trying to view test result histories for specific uut serial numbers.
We are logging all test data to the default access database template that was provided with Teststand.
Is there a method of generating reports from the database that match the format of those generated at runtime?
I was surprised to find that the default access database did not contain any gui or pre-made reports matching the xsl style sheets chosen in the report options dialog.
My database skills are weak, I am able to browse the raw data and I see the relationships between some of the tables, but the prospect of recreating one of the xml report formats in access seems daunting. Am I missing something? what is the best way to print a uut report from test data stored in access?

Hello msears,
Thank you for posting on the NI Discussion Forums.  Unfortunately there are no tools available in TestStand for directly converting an Access database to a formatted .xsl report.  It is possible to have a step in a sequence that reads the information from the database, and create the .xsl report as if it had been generated at sequence run-time, by writing those values directly to Locals.ResultList.  Admittedly, this would require some knowledge of Microsoft Access, and the ability to write a program that will extract information from the database, in order to include it as a step in the sequence.
Is there anything stopping you from creating a formatted .xsl report when the sequence is run (instead of trying to create it from previous data stored in an Access database)?
Chris_G
Sr Test Engineer
Medtronic, Inc.

Similar Messages

  • Cannot view XML input using XSL style sheet. Please correct the error and..

    Hi All,
    Scenario XML to IDOC.
    The interface determination decides whether to create IDOC X or IDOC Y based on a xml segment value.
    I have an error in the SXMB_MONI:
    <!--  Interface Determination
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="IF_DETERMINATION">CX_ID_PLSRV</SAP:Code>
      <SAP:P1>Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160).</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when determining the inbound interface: Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: CL_SWF_RLS_COMPARISON=========CP, include: CL_SWF_RLS_COMPARISON=========CM002, line: 63). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: SAPMSSY1, include: , line: 0). Exception CX_SWF_EXP_EVALUATE occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM027, line: 38). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM01Z, line: 520). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SAI_SWF_RULE_ENGINE========CP, include: CL_SAI_SWF_RULE_ENGINE========CM00S, line: 42). Problem extracting values from the Payload: Check line 2 column 1 of the XML document</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    From the SXMB_MONI, the inbound message payload is truncated with an error:
    - <ProductIdentification>
      <GlobalProductIdentifier />
    - <PartnerProductIdentification>
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    The following tags were not closed: Pip3B12ShippingOrderConfirmation, ShippingOrder, ShipmentLineItem, isContainsHazardousMa...
    ">   <GlobalPartnerClassificationCode />
      <ProprietaryProductIdentifier>000000000000101369</ProprietaryProductIdentifier>
      </PartnerProductIdentification>
      </ProductIdentification>
    - <QuantityInformation>
    - <confirmedQuantity>
      <ProductQuantity>1.00</ProductQuantity>
      </confirmedQuantity>
    I've checked that the xml format is OK.
    As a matter of fact, if I try to resend the xml file from directory, the message is processed correctly and the payload shows all the xml file.
    Thanks.
    Daniele
    Edited by: Daniele*Verdone on Feb 1, 2010 11:22 AM
    Edited by: Daniele*Verdone on Feb 1, 2010 11:23 AM

    Hi Suraj,
    That option is not available in FTP mode..
    This option is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.
    Yes, you're right !!
    Are you sure that the message is not getting picked in half-way
    Now, at this time, I can't see the XML data in the CC monitoring because the tool shows only the recent polling execute in the last 10 minutes. If the error recurs, I will check the payload of CC.
    How can I solve the problem with reading incomplete file (FTP mode)?
    ...Meanwhile I will try with Full cache refresh.
    Thanks
    Daniele

  • XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh

    Is the error message displayed in Firefox or in IE, or in a customized window that doesn't identify the browser?
    ''If it displays in Firefox:''
    It's possible that the Troubleshooter doesn't work correctly unless IE is your default browser. You could test that possibility by having IE make itself the default and testing the Troubleshooter again.
    ''If it displays in IE or embedded in another Microsoft application:''
    In a web search I found these suggestions:
    (1) Reset your Internet Explorer settings, according to http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/cannot-view-xml-using-xsl-style-sheet/ccfe80c6-c0db-4594-a7e3-475f9eac0e85
    (2) Try the System File Checker, according to http://ask-leo.com/why_do_i_get_the_xml_page_cannot_be_displayed_after_running_a_microsoft_troubleshooter.html
    Any luck?

  • Generating XML from Database using XSQL

    Hi ,
    I have been using Reports as an intermidiate to generate XML (by giving concurrent program o/p type as XML). Now, i want it to be done from SQL or PL/SQL. I am able to achieve this using XSQL functions. I placed the SQL in a .sql file and registered it as a concurrent program. It was giving me XML output.
    I have two problems here.
    1. How can i know whether i have generated valid xml or not?
    2. When i am linking this concurrent program to XML Publisher, publisher is not able to read thie output from the concurrent prograam. It is erroring out. Why?
    Thanks
    sap

    Save the XML file - try to open it with IE and/or Firefox.
    If that doesn't work you know already something is wrong.
    You may try to cut&paste it into notepad and save as UTF-8.
    Then try it out with the Template Builder for Wrod.
    If you can't figure it out and run the report with a SMALL dataset six (ie. 1)
    and post it here.

  • Xml file with xsl style sheet reference

    I am trying to learn this from a book, I copied the code like
    it shows, but the page on the server keeps coming back with an
    error starting on line 54 involving the four "End If" quotes. I
    have tried everything I can think of and can't get it to work. Any
    help would be greatly appreciated.
    Here's the code:
    <%@Language=VBScript%>
    <%option explicit%>
    <%
    dim domDoc
    dim aFilename
    Dim node
    Dim nodes
    dim mainNodes
    dim mainnode
    dim attr
    dim root
    Set domDoc = Server.CreateObject("MSXML.DOMDocument")
    afilename =server.MapPath("ch19i1.xml")
    if not domDoc.load(afilename) then
    Response.Write "Could not load the file " & aFilename
    & "<br>"
    Response.End
    end if
    %>
    <html>
    <head></head>
    <body>
    <%
    ' display the root node
    set root = domDoc.documentElement
    Response.Write "<h1>" & root.nodename & ": "
    & root.nodevalue & "</h1>"
    Set mainNodes = root.childNodes
    For Each mainNode in mainNodes
    If mainNode.hasChildNodes = False Then
    Response.Write "<h2>" & mainNode.nodeName & ":
    " & mainNode.text & "</h2><br>"
    Else
    Response.Write "<h3>" & mainNode.nodeName & ":
    " & mainNode.text & "</h3>"
    Set nodes = mainNode.childNodes
    If nodes.lenght > 0 Then
    Set node = nodes(0)
    If Not node.Attributes Is Nothing Then
    If node.Attributes.lenght > 0 Then
    Response.Write "<table border='1'>"
    Response.Write "<thead>"
    For Each attr In node.Attributes
    Response.Write "<th>" & attr.nodeName &
    "</th>"
    Next
    Response.Write "</tr>"
    For Each node In nodes
    Response.Write "<tr>"
    For Each attr In node.Attributes
    If attr.nodeValue = "" Then
    Response.Write "<td>" & " " &
    "</td>"
    Else
    Response.Write "<td>" & attr.nodeValue &
    "</td>"
    End If
    Next
    Response.Write "</table>"
    End If
    End If
    End IF
    End If
    Next
    %>
    </body>
    </html>

    Is the error message displayed in Firefox or in IE, or in a customized window that doesn't identify the browser?
    ''If it displays in Firefox:''
    It's possible that the Troubleshooter doesn't work correctly unless IE is your default browser. You could test that possibility by having IE make itself the default and testing the Troubleshooter again.
    ''If it displays in IE or embedded in another Microsoft application:''
    In a web search I found these suggestions:
    (1) Reset your Internet Explorer settings, according to http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/cannot-view-xml-using-xsl-style-sheet/ccfe80c6-c0db-4594-a7e3-475f9eac0e85
    (2) Try the System File Checker, according to http://ask-leo.com/why_do_i_get_the_xml_page_cannot_be_displayed_after_running_a_microsoft_troubleshooter.html
    Any luck?

  • Is there any way to run a report from database?

    Is there any way to run a report from database using trigger?
    A report needs to be printed out when a new row is inserted into a table.

    If you are using the Reports Server it is possible to start a report from a trigger by using the UTL_HTTP package (in the sys schema) to call the report URL. This should work with DESTINATION=PRINTER.
    Hope this helps.

  • Adding report header lines using expand.xsl style sheet

    Hello
    I would like to add a few header lines (appears only at the first page of the report) into my XML report that is based on expand.xsl style sheet. 
    Since I am not familiar with XML, is there any example or a modified (ready to run) expand.xsl style sheet that implements it?
    Thank you
    Zvika

    Hey Zvika,
    Chek out this website:  http://zone.ni.com/devzone/cda/epd/p/id/4759
    NI doesn't support any changes in the xsl however so if you change it you are on your own.  You can look to this website for help with that: http://www.w3.org/XML/
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to generate report from two tables using DAO design pattern?

    Hi,
    Iam using struts with DAO pattern for my application. According to DAO design im creating model class for each table in my database with getter,setter methods. i have no problem when im generating report from one table. but if have i have to join two tables whatis the better way for doing that? is it good practise to create a new model contains properties from both the tables?
    Please help me
    Thanks in Advance
    Rajesh

    Dear Rajesh,
    As per the pattern you are creating equivalent java objects for every database table under consideration in which each db field will become a private attribute and public getter and setter methods.
    If you have to display data from one table the above approach is sufficient enough.
    But in case your database is normalised ..lets take an example of Bank having Branch and Accounts tables. We dont need to repeat the whole information of the branch for every account in that branch. so we prefer to have a branch id in that table....this approach lot of insertion/deletion/updatation anomlies that may exists with the database...
    now lets come back to our topic....we shall create two java objects 1) Branch 2) Account.....
    When ever u just need to display simple report u can do it staright forward,,,,,now if u want to display branch information along with the account information....the two objects just created are not sufficient
    So i suggest u the following approaches
    1) Create an attribute of type Branch in the Accounts Object......
    This shall serve the purpose of displaying the Btranch information
    2) Create a collection object of type ( Vector or ArrayList) which can have objects of Account in the Branch Object,,,
    Now its upto u how shall u fill up the objects with appropriate sql queries.
    The method that i mentioned is followed by Oracle Toplink and Hibernate ....which provide Object to relation mapping layers.
    Any queries ...revert back to me...
    Mahesh

  • Calling DB from XSL style sheet is possible?Please let me know gurus

    Hi
    ANy one has done DB calls from XSL style sheet for oracle POs?
    is it possible
    kp

    Hi srini
    In PO xsl style sheet there is a field caled Manufacturer's Part no and also another filed called Buying Department.
    Some said customizing po_headers_xml and other relevant standard views..But client dont want to touch standard views.
    So my client asking me if I can use DB calls ...PLease advise me with examples
    thanks
    prasanna

  • I wish to generate reports from the database an out put it but i need to enter a date from and to ina  html input box

    i wish to generate reports from the database an out put it
    but i need to enter a date from and to ina html input box
    in the input box a data of range will be input from a start
    to latest
    latest being the default as today's date.
    any help tips snipplets, concepts , turot=rails.
    thanks

    easycfm.com has tutorials for people who are brand new.
    If you don't know much about sql, I have heard good things
    about the book, Teach Yourself SQL in 10 Minutes by Ben
    Forta.

  • Generating XML from database

    I'm a total newbie in XML DB and need advice on generating XML from database.
    The situation is the following: there is a legacy web application which uses an XML document as a configuration file. This document conforms to some well-defined schema. For instance:
    <config>
         <title value="TITLE" />
         <subtitle value="SUBTITLE" />
         <style url="default.css" />
         <widgets>
              <widget id="1" opened="true" />
              <widget id="2" opened="false" />
         </widgets>
    </config>
    It contains portions of static data which are common for all users as well as dynamic personal data.
    Dynamic data comes from two sources:
    1) security considerations (for instance, not all widgets are available for some users) - thus the "master" configuration content must be filtered, but not otherwise modified;
    2) user preferences (for instance, user can set widget2 to be opened by default) - thus values of some attributes must be different for each user. When the user saves her preferences, the entire document with new values is posted back to server.
    We want to try to store user preferences, apply security and generate personalized configuration documents using XML DB.
    So we need advice on storage models and generation procedures - which should be more efficient and easy to support or extend.
    Please note, that there is no requirement to actually store data as XML.
    Thanks in advance!
    P.S.: Sorry for the incomplete initial post.
    Edited by: WxD on 27.09.2010 11:45

    Hi,
    See this link for more details
    http://www.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10790/xdb13gen.htm

  • Generate Report without Database

    Hello developers,
    I wanna generate report from JSP.
    I need to create .rpt file.
    But I dont have database.
    I've data in hashmap.
    how to add data to .rpt file from Hashmap?
    <edited by moderator>

    If you can input the Hashmap data into a POJO or JavaBean, you can use this to get data into your report.  This is achieved by using the JavaBean connectivity in the report designer at design time, or by pushing the datasource in at runtime.

  • How to use own style sheet

    Hi my friends,
    I created a JSP file that contains a report built using Reports Builder. When I run this page using a browser, my report is displayed correctly, including the style imported from Report Builder. But when I try run this page as a portlet, my report is being displayed, but style sheet is not being displayed. Why this is happening?
    Someone could help me?
    Thanks.

    Hi my friends,
    This page should use style css/wine.css, for example, but it is not doing this when I put it as a portlet. How should to stay my provider.xml file? When I must put the css directory?
    Thanks,
    Carla.

  • Use of Style sheet

    Hello Everybody
    1. Can anyone please let me know what advantage i am going to get by using in OBIP reports and how to use it.
    2. How to use the style sheet in my report.
    3. I tried to access the default style sheet of Oracle available in the tool. But the file having an extension of xssz. Can you please let me know how to open this file.
    Thanks
    Srikant

    Rick, thanks for the tip. I'll check out @import and see how
    that works.
    To give you both a little background, since I often see your
    names on this forum, I'm building a brand new help project for a
    brand new product. I'm trying to make smart, scalable
    infrastructure decisions for the product and help project's future.
    Currently, I'm the only author, but in the future there will
    certainly be others.
    I'm using RoboHelp 7 now, and considering the upgrade to
    RoboHelp 8. I also need to make decisions about source control and
    deployment, but those will be mostly made by our development and IT
    departments. Our product is written in Ruby, which RoboHelp does
    not provide API support for, and our development team would like to
    get away from IIS to serve up the pages of our web portal, which
    RoboHelp Server utilizes. So I'll probably have some more questions
    for you guys in the near future :-D
    Any recommendations about upgrading to RoboHelp 8? Any
    suggestions for providing context sensitive help via Ruby on
    Rails?

  • Referencing CSS from Shared Components/Cascading Style Sheets

    Apex 4.0
    I've been placing my CSS style sheet in Shared Components/Cascading Style Sheets. And referencing it as follows <link type="text/css" rel="stylesheet" media="screen" href="#WORKSPACE_IMAGES#app300.css">.
    For weeks all has seemed to work fine. I make changes to app300.css in Cascading Style Sheets. Clear cache. And see my change.
    But suddenly it stopped working. More specifically my updates don't take. I firebug and look at the file under CSS and don't see my changes. app300.css is unchanged. Then I deleted app300.css from Shared Components/Cascading Style Sheets. The file is deleted. No longer in the Cascading Style Sheets panel. But the old file still appears when I look under firebug.
    Simply a brain cramp for me. I know this is probably obvious but I can't figure it out.

    Hi,
    If your file still recides in the database, you might want to try deleting it with a procedure from the wwv_flow_api package:
    set serveroutput on
    declare
      l_security_group_id number;
    begin
      select workspace_id into l_security_group_id
      from   APEX_040000.APEX_WORKSPACES;
      wwv_flow_api.set_security_group_id
          (p_security_group_id => l_security_group_id);
      wwv_flow_api.create_or_remove_file
        ( p_name           => 'app300.css'
        , p_location       => 'WORKSPACE'
        , p_mode           => 'REMOVE'
        , p_type           => 'CSS'
      commit;
    end;
    You can run this using SQL developer/ Toad or whatever program you use, but I don't think you can run in the SQL workshop of Apex.
    Run it as workspace owner.
    First part sets the apex engine to point to the correct workspace id in Apex, change "APEX040000" to match your version of Apex.
    Second part is the procedure that should remove your file from the database.
    Make sure you commit your changes and try to upload your css file again.
    Regards,
    Vincent
    http://vincentdeelen.blogspot.com

Maybe you are looking for

  • Finder/Cover Flow

    I only seem to bring up a few files in cover flow that show up with an icon. All others are blank... Is anyone else having this problem? Shouldn't all file show up in cover flow with an icon?

  • How to track changes in a hyperion application for SOX control?

    Hello all, We have been working on identifying the best way on how to track changes in a hyperion application in regards to the SOX control. The following areas have been identified as the main areas of an application where the changes are to be trac

  • Exchange Rate Field - Frozen in Sales Order Header

    Dear Fellows, Can you please help me on this? When we enter a standart sales order (J4211) , then in the header side of the order the exchange rate *(USD/TRY)* field comes as frozen and does not give any possibility to modify it. Because , it takes t

  • How to deploy SSIS packages and jobs that run the package?

    I am fairly new to deploying SSIS packages. We are migrating servers and I need to deploy the packages to the new dev and prod servers. Can you please walk me through this? Also is there a configuration through which we can specify connection strings

  • I have Firefox 5, but need to downgrade to 3.5 or 3.6, how do I do this?

    I have Firefox 5, but need to downgrade to 3.5 or 3.6, how do I do this? Can you help me please? It is important to finish something I am working on.