Data Mismatch in MTM Results page Vs SSRS Report

Hi,
Data found to be different from MTM results page to SSRS page. Few asked me wait for some time as it may get delayed 2-24 hrs to get updated with Data WareHouse. I waited for 3 days and the difference remains.
In the results page in MTM it shows higher no. of Passed Test Cases than what it's showing in the default SSRS report
MTM - VS TFS 2013
Any help is appreciated.
Regards,
TFS Queries

Hi TFSQ, 
Thanks for your post.
You’re using TFS 2013 Update 4 and VS 2013 Update 4?
Your current team project created using which default TFS 2013 process template?
What’s the detailed result page in your MTM, and you compared the result with which team project SSRS report? 
These two reports worked fine in your team project before? And this same issue also happened in other team projects or not? 
Please share your screenshots here, it will help us provide the better response. 
Additionally, please manually process your TFS Warehouse and Cube, ensure can process successfully.
https://msdn.microsoft.com/en-us/library/ff400237.aspx.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to hide columns in each page of SSRS report for grouped tablix

    Hello all,
    I have a requirement like when SSRS report (used row grouping)is exported to EXCEL
    1)  Each report page should be exported to a separate excel sheet
    2) Each sheet will have different columns (that is some columns will hide in sheet2, sheet3...)
    3) Eg: If a country report is there with details like country name, country code, currency code. Now each country details should export to separate excel sheet and sheet 1 should show Country Name and Country code; Sheet2 should show: Country Code, Currency
    Code; Sheet3 should show: Country Name, Country Code, Currency Code.
    I am done with point#1 above: Each report page should be exported to a separate excel sheet. Can some one help on point#2:Each sheet will have different columns (that is some columns will hide in sheet2, sheet3...)
    Thanks,
    Paandey : Dont forget to mark it as Answered if found useful

    Hi paandey,
    According to your description, there are three columns named country name, country code, currency code in the report. When export the report to excel, you want to show Country Name and Country code in sheet1, Country Code and Currency Code in sheet2, and
    show all of the three columns in sheet3.
    In Reporting Services, we couldn’t achieve your goal by setting visibility of columns in one tablix. As a workaround, we can use three tablix in the report, then add page break to the tablix. For detail information, please refer to the following steps:
     1. Since you have created a tablix with three column, copy and paste it to the report twice.
     2. Right-click column handle of Currency code in tablix1, click Column Visibility.
     3. Check Show or hide based on an expression, click (fx) button, then type the expression:
    =(Globals!RenderFormat.Name = “EXCELOPENXML”)
     4. Right-click column handle of Country name in tablix2, set its visibility like step3 above.
     5. Select and right-click tablix2, click Tablix Properties.
     6. In General pane, in Page Break Options section, check Add a page break before check box.
     7. Click Visibility in left pane, check Show or hide based on an expression, click (fx) button, then type the expression:
    =(Globals!RenderFormat.Name <> “EXCELOPENXML”)
     8. Select and right-click tablix3, add page break to it like step6 above.
     9. Set its visibility like step7 above.
    The following screenshot is for your reference:
    For more information, please refer to the following document:
    http://blogs.msdn.com/b/robertbruckner/archive/2010/05/16/report-design-naming-excel-worksheets.aspx
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu

  • Printing Blank pages for SSRS Reports in Firefox browser

    I have created an SSRS Report that works well on chrome, but when I use the site in Firefox the SSRS Page prints blank pages though the report displays properly. I have tried every thing like reducing table width. I am using the report viewer control.
    Sanjeev Menon

    Hi Sanjeev,
    Generally, if the report display properly in the browser, it should be also work well when we print the report. And I can’t reproduce the scenario in my own environment. As to this issue, I recommend that you can try to run it in compatibility mode or use
    IE explorer to print the report.
    If this issue still exists, please try to update the report viewer control to latest release and check this issue again.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Data mismatch

    Hi all,
              My project manager shown screen shot like data mismatch from r/3 side and bw report, Now i have to analysis where it is
    strucked give me steps to follow find that error, you guys surely have idea where and all possible to get stuck please give yr
    suggestion, then i can easy find that problem.
    thanks & regards,
    R. Saravanan

    Hi Saravanan,
    Goto R3 side--> RSA3 Transaction > Enter the DS name>  Give some restriction w.r.t some Characteristics --> Extract the data
    Come to BW side> RSA1 trans> you can start checking with the either Infocube content/ MP contents> right click> Display data> Give the same restrictions as you gave in the R3 RSA3 trans> Execute
    Compare the field values whether you are getting the same data or not.
    if the data is matching here, then there might be some filtering in the Query--> check that filtering & check the data accordingly
    If it is not matching at Cube/MP level--> Then compare the data at PSA level before which check all the Routines/Update rules/ Transformations because there is a possibility that the data might be filtered in any of these levels.
    Hope it helps!
    Regards,
    Pavan

  • SSRS Report Group By Vertical and Horizontally with Detail Data

    Dears,
    I am expecting your help to achieve blow task in SQL Reporting Service. I am pulling data from a SharePoint List and my data set looks like below; and, I need to show those data in following layout;
    Group by: Destination and Week (vertical, horizontal)
    Detail : JobNo and VessleName (no aggregation and should show detail text data)
    How could I show that in SSRS Report? I tried Matrix and couldn’t get that layout yet; it shows me always 1<sup>st</sup> Job NO and Vessel Name for each Destination, not showing the rest.
    Kindly share with me guide lines attached is for your reference.
    ASP.Net, C#.Net, SQL Server ,Win32

    Dear Ricardo,
    I was trying your project with my real data and was not success.
    Also, when I check in details with my test data, I saw that Job2 is missing in your output.
    I can not find any reason why it is missing, could you please tell me what could be the reason?
    Also, it takes first lines of each Destination form below data as well, appropriate if you can test below data also.
    with SampleTable(Destination,WekkNo, JobNo, VesseName, ATA)
    as
     Select 'GENOA-ITGOA' , '7','J507979', 'AL BAHIA', '14/2/15' Union All  
     Select 'GENOA-ITGOA' , '7','J507981', 'AL BAHIA', '14/2/15' Union All  
     Select 'GENOA-ITGOA' , '7','J508342', 'SABYA', '14/2/15' Union All  
     Select 'GENOA-ITGOA' , '7','J508343', 'SABYA', '14/2/15' Union All  
     Select 'GENOA-ITGOA2' , '7','J508418', 'SABYA', '14/2/15' Union All  
     Select 'GENOA-ITGOA2' , '7','J508342', 'SUDAIR', '14/2/15' Union All  
     Select 'GENOA-ITGOA2' , '7','J508343', 'SUDAIR', '14/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J508418', 'SUDAIR', '20/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J508606', 'JAZAN', '20/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J508607', 'JAZAN', '20/2/15' Union All  
     Select 'GENOA-ITGOA2' , '8','J508608', 'JAZAN', '20/2/15' Union All  
     Select 'GENOA-ITGOA2' , '8','J509006', 'HANJIN ELIZABETH', '20/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J509007', 'HANJIN ELIZABETH', '20/2/15' Union All  
     Select 'GENOA-ITGOA' , '8','J509129', 'HANJIN MALTA', '20/2/15' Union All  
     Select 'GENOA-ITGOA2' , '10','J509130', 'HANJIN MALTA', '7/3/15' Union All  
     Select 'GENOA-ITGOA2' , '10','J509326', 'SUDAIR', '7/3/15' Union All  
     Select 'GENOA-ITGOA' , '10','J509327', 'SUDAIR', '7/3/15' 
    Select * from SampleTable
    ASP.Net, C#.Net, SQL Server ,Win32

  • Data mismatch with ECC FBL5N report and debtor ageing report(BI side)

    Hi,
    I am facing a data mismatch problem with FBl5N(t-code for customer line item report) report in ECC side and Debtor ageing report in BI side.
    The problem is
    1) there are mismatch of data with some customer amounts in both ECC and Bi side.
    2) and also there are customer Nos with amounts in BI Debtor ageing report which are not there in the ECC FBL5N(t-code for customer line item report)
    for the second problem, I checked in the Tables BSID,BSAD in ECC side ,there also these customer Nos are not available.
    One more strange thing is that with the same selectionin report on both ECC and BI reports the data mismatch and The extra customers in Bi reports are changing everyday, i.e. we are getting new set of data mismatch and extra customers Nos in BI Side.
    If anyone  have worked on this type of issue.....kindly help...
    Thanks in advance

    Hi,
    on the one hand it may be delta mechanism of FI_*_4 extractors with the timestamps issue, that your comparision between BI and ECC is at no time up to date.
    FI Extraction
    on the other hand, it may be the delta problem between data targets in your BI-System, in case you load the FI-Data from a DSO to a cube and make a report on the cube. I have this problem at the moment and will watch this thread for more suggestions.

  • Show user entered date when ssrs report exported to csv format

    Hi All,
    How can I show date range parameter entered by user when ssrs report is exported to csv format.
    my csv output should look like this....
    Date : 01/01/2015 TO 01/31/2015 (user selected dates)
    ID,EmpFirstName,EmpLastName,Location
    1,Tom,Garry,NY
    2,John,Graham,NJ
    3,Ron,Lorrie,CA
    Thanks,
    RH
    sql

    Hi RH,
    You can add two textbox at the top outside the tablix and using expression to get the parameter value use have selected to display in the textbox as blew:
    TextBox1: =Parameters!Date.Value
    TextBox2: =Parameters!To.Value
    For Multiple value parameter you can use the expression like : =Join(Parameters!Date.Value,",")
    You can rename the two textbox' name in the properties as "Date" and "To"  then the two textboxs will display like belkow in the CSV report:
    Date                 TO
    01/01/2015      01/31/2015 
    ID   EmpFirstName    EmpLastName   Location
    1      Tom                  Garry                  NY
    2      John                 Graham               NJ
    3      Ron                   Lorrie                 CA
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • SSRS reports are not printing probably

    when I preview my reports they look great but when I print them I get some blank pages

    Hi Developer life,
    According to your description, after printing the report, blank pages display in the report.
    In Reporting Service, layout of items in the body should meet this requirement: Maximum Body Width=Page Width – (Left Margin + Right Margin). So please check the report page size within the print paper size.
    Besides, if we add duplicated page break, for example, select both “Add a page break before” and “Add a page break after” options when we design a report, blank page could appears between pages. So please check if your page break options setting is set correctly.
    In SSRS 2008 or higher, there is a Report Property ConsumeContainerWhitespace which controls whether white space in containers should be consumed when contents grow instead of preserving the minimum white space between the contents and the container. The
    value is set to False by default. So in your scenario, if you are sure there is no extra blank space in your report, please set value of ConsumeContainerWhightspace to True.
    Reference:
    Blank Page Issues – SSRS Reports
    The Case of the Extra Page: Rendering Reporting Services as PDF
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Data fails results page display with msdb

    I am using Dreamweaver 8 with ASP VB Script. IIS and localhost.
    I have a search page, a database and a results page.
    I have set up a search page with this code:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Key Word Search</title>
    <style type="text/css">
    <!--
    body {
                background-color: #000000;
    .style1 {
                color: #FFFFFF;
                font-family: Arial, Helvetica, sans-serif;
                font-weight: bold;                                                                             
    -->
    </style>
    <script type="text/JavaScript">
    <!--
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_validateForm() { //v4.0
      var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
      for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
        if (val) { nm=val.name; if ((val=val.value)!="") {
          if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
            if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
          } else if (test!='R') { num = parseFloat(val);
            if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
            if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
              min=test.substring(8,p); max=test.substring(p+1);
              if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
        } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
      } if (errors) alert('The following error(s) occurred:\n'+errors);
      document.MM_returnValue = (errors == '');
    //-->
    </script>
    </head>
    <body>
    <form action="data_base_results.asp" method="get" name="search" target="_blank" id="search">
      <div align="center">
        <p class="style1">Key Word Search:</p>
        <p class="style1">
          <label>
          <input name="keyword" type="text" id="keyword" value="<%= Request.QueryString("search") %>" size="30" maxlength="30" />
          </label>
          <input name="Submit" type="submit" onclick="MM_validateForm('keyword','','R');return document.MM_returnValue" value="Submit" />
          <input name="Reset" type="reset" id="Reset" value="Reset" />
        </p>
      </div>
    </form>
    </body>
    </html>
    The data base is set up and tested OK with the following:
    "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\inetpub\wwwroot\sciweb_root\sciencelinkcafe11kj.mdb"
    The results page is set up and tested OK using the following code:
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!--#include file="Connections/connSciWeb.asp" -->
    <%
    Dim rsSearch__MMColParam
    rsSearch__MMColParam = "1"
    If (Request.QueryString("search") <> "") Then
      rsSearch__MMColParam = Request.QueryString("search")
    End If
    %>
    <%
    Dim rsSearch
    Dim rsSearch_numRows
    Set rsSearch = Server.CreateObject("ADODB.Recordset")
    rsSearch.ActiveConnection = MM_connSciWeb_STRING
    rsSearch.Source = "SELECT KeyWords, Link, Year FROM Table1 WHERE KeyWords LIKE '%" + Replace(rsSearch__MMColParam, "'", "''") + "%' ORDER BY Year ASC"
    rsSearch.CursorType = 0
    rsSearch.CursorLocation = 2
    rsSearch.LockType = 1
    rsSearch.Open()
    rsSearch_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = 10
    Repeat1__index = 0
    rsSearch_numRows = rsSearch_numRows + Repeat1__numRows
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Search Results</title>
    <style type="text/css">
    <!--
    body {
                background-color: #000000;
    .style2 {
                font-family: Arial, Helvetica, sans-serif;
                font-weight: bold;
                font-size: 14px;
    .style3 {
                font-family: Arial, Helvetica, sans-serif;
                font-weight: bold;
                color: #FFFFFF;
    body,td,th {
                font-family: Arial, Helvetica, sans-serif;
                font-size: 14px;
                font-weight: bold;
    a:link {
                color: #000000;
                text-decoration: none;
    a:visited {
                color: #000000;
                text-decoration: none;
    a:hover {
                text-decoration: underline;
                color: #000000;
    a:active {
                text-decoration: none;
    #Layer1 {
                position:static;
                width:775px;
                height:25px;
                z-index:1;
                left: 541px;
                top: 270px;
                background-color: #00FFFF;
                color: #000000;
                padding-top: 10px;
    .style5 {font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 14px; color: #000000; }
    .style7 {color: #000000}
    -->
    </style></head>
    <body>
    <div align="center">
      <p class="style3"> </p>
      <p class="style3">HERE ARE THE RESULTS OF YOUR KEYWORD/S SEARCH: </p>
      <p class="style3"> </p>
      <table border="2" cellpadding="2" cellspacing="5">
        <tr bgcolor="#999999">
          <td width="164" height="40" bordercolor="#FF0000"><div align="center" class="style2">Keyword/s</div></td>
          <td width="164" bordercolor="#FF0000"><div align="center">Year</div></td>
        </tr>
        <% While ((Repeat1__numRows <> 0) AND (NOT rsSearch.EOF)) %>
        <tr>
          <td height="22" bordercolor="#FF0000" bgcolor="#00FFFF"><div align="center" class="style2"><%= LCase((rsSearch.Fields.Item("KeyWords").Value)) %></div></td>
          <td bordercolor="#FF0000" bgcolor="#00FFFF"><div align="center"><%=(rsSearch.Fields.Item("Year").Value)%></div></td>
        </tr>
        <%
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      rsSearch.MoveNext()
    Wend
    %>
      </table>
      <p> </p>
      <table width="853" border="2" cellpadding="2" cellspacing="5">
        <tr bordercolor="#FF0000" bgcolor="#999999">
          <td width="164" height="40"><div align="center" class="style7"><a href="data_base_search.asp" class="style2">Search again </a></div></td>
          <td width="110"> </td>
          <td width="115"> </td>
          <td width="200"> </td>
          <td width="200" height="40"><div align="center" class="style7"><a href="index.html"><span class="style2">Return home </span></a></div></td>
        </tr>
      </table>
    </div>
    </body>
    </html>
    <%
    rsSearch.Close()
    Set rsSearch = Nothing
    %>
    When the results page is tested the following comes up:
    Can anyone help me? Help very gratefully received. Kev

    >Yes, I can get a simple ASP page to render
    So something that outputs text like
    response.write "test"
    works fine?
    >Should I reinstall IIS7 then?
    I would reinstall - the missing exe file is troubling and you need to be able to enable detailed error messages if you have any hope in developing applications. You might be able to configure that via IIS control panel rather than the command line - you'd need to check the IIS forums for more details.
    >Is the version of windows and edition OK?
    The Windows version you have should be fine. I believe that Windows 7 Home Basic only supports limited IIS7 functionality - no ASP or .NET. But I believe Premium supports it fully.

  • Cap 4 Quiz Results page not restoring data properly

    I'm testing a Quiz built in Captivate 4 SCORM 1.2 which allows 5 attempts to achieve a passing score of 100.  If the user fails, exits on the Quiz Results page, and then relaunches (bookmarked back to the Results page), the values displayed (score, number of questions correct, number of attempts) are not correct.  Score is 1 or 4 or a random number, attempts goes back to 1.  I am able to analyze the saved cmi data to see that the correct data has indeed made it to the LMS.  And if the user clicks Retake for another attempt, the Results page will then update and show the correct number of attempts.  So Captivate is reading in the saved number of attempts.  But it seems like Captivate displays the Results page before it has fully retrieved the cmi data.  Has anybody else had this issue?  Any work-arounds?
    Thanks in advance!

    added these into pagdef (A/B)
    Refresh="prepareModel"
    RefreshCondition="${sessionScope.Loans != null &amp;&amp; adfFacesContext.postback == true}" into your <iterator ............../>

  • I WANT THE RESULT PAGE OF MY INSERT FORM TO BE AN UPDATE FORM OF THE JUST INSERTED DATA

    I WANT THE RESULT PAGE OF MY INSERT FORM TO BE AN UPDATE FORM OF THE JUST INSERTED DATA USING ADDT. PLS HELP WITH EXMPLE . THANKS

    let me xplain
    i am trying to create a 3  page form. i used the insert form wizard to create the first form and ask the form to go to the next page which i made an update form to continue the next set of fields. i tried what u said...but the next form did not add records to the database as i expected.below is my code for the two pages. pls tell me the best approach..thanks
    page 1
    <?php require_once('Connections/crusader.php'); ?>
    <?php
    //MX Widgets3 include
    require_once('includes/wdg/WDG.php');
    // Load the common classes
    require_once('includes/common/KT_common.php');
    // Load the tNG classes
    require_once('includes/tng/tNG.inc.php');
    // Make a transaction dispatcher instance
    $tNGs = new tNG_dispatcher("");
    // Make unified connection variable
    $conn_crusader = new KT_connection($crusader, $database_crusader);
    // Start trigger
    $formValidation = new tNG_FormValidation();
    $tNGs->prepareValidation($formValidation);
    // End trigger
    // Make an insert transaction instance
    $ins_capital = new tNG_insert($conn_crusader);
    $tNGs->addTransaction($ins_capital);
    // Register triggers
    $ins_capital->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
    $ins_capital->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
    $ins_capital->registerTrigger("END", "Trigger_Default_Redirect", 99, "top.php");
    // Add columns
    $ins_capital->setTable("capital");
    $ins_capital->addColumn("cap_firstname", "STRING_TYPE", "POST", "cap_firstname");
    $ins_capital->addColumn("cap_username", "STRING_TYPE", "POST", "cap_username");
    $ins_capital->addColumn("cap_lastname", "STRING_TYPE", "POST", "cap_lastname");
    $ins_capital->addColumn("cap_dateofbirth", "DATE_TYPE", "POST", "cap_dateofbirth", "{NOW}");
    $ins_capital->addColumn("cap_sex", "STRING_TYPE", "POST", "cap_sex");
    $ins_capital->setPrimaryKey("cap_id", "NUMERIC_TYPE");
    // Execute all the registered transactions
    $tNGs->executeTransactions();
    // Get the transaction recordset
    $rscapital = $tNGs->getRecordset("capital");
    $row_rscapital = mysql_fetch_assoc($rscapital);
    $totalRows_rscapital = mysql_num_rows($rscapital);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wdg="http://ns.adobe.com/addt">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" />
    <script src="includes/common/js/base.js" type="text/javascript"></script>
    <script src="includes/common/js/utility.js" type="text/javascript"></script>
    <script src="includes/skins/style.js" type="text/javascript"></script>
    <?php echo $tNGs->displayValidationRules();?>
    <script type="text/javascript" src="includes/common/js/sigslot_core.js"></script>
    <script type="text/javascript" src="includes/wdg/classes/MXWidgets.js"></script>
    <script type="text/javascript" src="includes/wdg/classes/MXWidgets.js.php"></script>
    <script type="text/javascript" src="includes/wdg/classes/Calendar.js"></script>
    <script type="text/javascript" src="includes/wdg/classes/SmartDate.js"></script>
    <script type="text/javascript" src="includes/wdg/calendar/calendar_stripped.js"></script>
    <script type="text/javascript" src="includes/wdg/calendar/calendar-setup_stripped.js"></script>
    <script src="includes/resources/calendar.js"></script>
    </head>
    <body>
    <p> 
      <?php
        echo $tNGs->getErrorMsg();
    ?>
    <form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
      <table cellpadding="2" cellspacing="0" class="KT_tngtable">
        <tr>
          <td class="KT_th"><label for="cap_firstname">Cap_firstname:</label></td>
          <td><input type="text" name="cap_firstname" id="cap_firstname" value="<?php echo KT_escapeAttribute($row_rscapital['cap_firstname']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("cap_firstname");?> <?php echo $tNGs->displayFieldError("capital", "cap_firstname"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_lastname">Cap_lastname:</label></td>
          <td><input type="text" name="cap_lastname" id="cap_lastname" value="<?php echo KT_escapeAttribute($row_rscapital['cap_lastname']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("cap_lastname");?> <?php echo $tNGs->displayFieldError("capital", "cap_lastname"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_dateofbirth">Cap_dateofbirth:</label></td>
          <td><input name="cap_dateofbirth" id="cap_dateofbirth" value="<?php echo KT_formatDate($row_rscapital['cap_dateofbirth']); ?>" size="32" wdg:mondayfirst="false" wdg:subtype="Calendar" wdg:mask="<?php echo $KT_screen_date_format; ?>" wdg:type="widget" wdg:singleclick="true" wdg:restricttomask="no" />
            <?php echo $tNGs->displayFieldHint("cap_dateofbirth");?> <?php echo $tNGs->displayFieldError("capital", "cap_dateofbirth"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_sex">Cap:</label></td>
          <td><input type="text" name="cap_sex" id="cap_sex" value="<?php echo KT_escapeAttribute($row_rscapital['cap_sex']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("cap_sex");?> <?php echo $tNGs->displayFieldError("capital", "cap_sex"); ?></td>
        </tr>
        <tr class="KT_buttons">
          <td colspan="2"><input type="submit" name="KT_Insert1" id="KT_Insert1" value="Insert record" /></td>
        </tr>
      </table>
    </form>
    <p> </p>
    </p>
    </body>
    </html>
    Page2
    <?php require_once('Connections/crusader.php'); ?>
    <?php
    // Load the common classes
    require_once('includes/common/KT_common.php');
    // Load the tNG classes
    require_once('includes/tng/tNG.inc.php');
    // Make a transaction dispatcher instance
    $tNGs = new tNG_dispatcher("");
    // Make unified connection variable
    $conn_crusader = new KT_connection($crusader, $database_crusader);
    // Start trigger
    $formValidation = new tNG_FormValidation();
    $tNGs->prepareValidation($formValidation);
    // End trigger
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    mysql_select_db($database_crusader, $crusader);
    $query_rdd = "SELECT * FROM capital ORDER BY cap_id DESC LIMIT 1";
    $rdd = mysql_query($query_rdd, $crusader) or die(mysql_error());
    $row_rdd = mysql_fetch_assoc($rdd);
    $totalRows_rdd = mysql_num_rows($rdd);
    // Make an update transaction instance
    $upd_capital = new tNG_update($conn_crusader);
    $tNGs->addTransaction($upd_capital);
    // Register triggers
    $upd_capital->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Update1");
    $upd_capital->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);
    // Add columns
    $upd_capital->setTable("capital");
    $upd_capital->addColumn("cap_firstname", "STRING_TYPE", "POST", "cap_firstname");
    $upd_capital->addColumn("cap_dateofbirth", "DATE_TYPE", "POST", "cap_dateofbirth");
    $upd_capital->addColumn("cap_mobilephone", "STRING_TYPE", "POST", "cap_mobilephone");
    $upd_capital->addColumn("cap_occupation", "STRING_TYPE", "POST", "cap_occupation");
    $upd_capital->addColumn("cap_sumassured", "STRING_TYPE", "POST", "cap_sumassured");
    $upd_capital->setPrimaryKey("cap_id", "NUMERIC_TYPE", "GET", "cap_id");
    // Execute all the registered transactions
    $tNGs->executeTransactions();
    // Get the transaction recordset
    $rscapital = $tNGs->getRecordset("capital");
    $row_rscapital = mysql_fetch_assoc($rscapital);
    $totalRows_rscapital = mysql_num_rows($rscapital);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link href="includes/skins/mxkollection3.css" rel="stylesheet" type="text/css" media="all" />
    <script src="includes/common/js/base.js" type="text/javascript"></script>
    <script src="includes/common/js/utility.js" type="text/javascript"></script>
    <script src="includes/skins/style.js" type="text/javascript"></script>
    <?php echo $tNGs->displayValidationRules();?>
    </head>
    <body>
    <p> 
    <p> 
      <?php
        echo $tNGs->getErrorMsg();
    ?>
    <form method="post" id="form1" action="<?php echo KT_escapeAttribute(KT_getFullUri()); ?>">
      <table cellpadding="2" cellspacing="0" class="KT_tngtable">
        <tr>
          <td class="KT_th"><label for="cap_firstname">Cap_firstname:</label></td>
          <td><input type="text" name="cap_firstname" id="cap_firstname" value="<?php echo KT_escapeAttribute($row_rdd['cap_firstname']); ?>" size="32" />
            <?php echo $tNGs->displayFieldHint("cap_firstname");?> <?php echo $tNGs->displayFieldError("capital", "cap_firstname"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_dateofbirth">Cap_dateofbirth:</label></td>
          <td><input type="text" name="cap_dateofbirth" id="cap_dateofbirth" value="<?php echo KT_formatDate($row_rdd['cap_dateofbirth']); ?>" size="32" />
          <?php echo $tNGs->displayFieldHint("cap_dateofbirth");?> <?php echo $tNGs->displayFieldError("capital", "cap_dateofbirth"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_mobilephone">Cap_mobilephone:</label></td>
          <td><input type="text" name="cap_mobilephone" id="cap_mobilephone" value="<?php echo KT_escapeAttribute($row_rdd['cap_mobilephone']); ?>" size="32" />
          <?php echo $tNGs->displayFieldHint("cap_mobilephone");?> <?php echo $tNGs->displayFieldError("capital", "cap_mobilephone"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_occupation">Cap_occupation:</label></td>
          <td><input type="text" name="cap_occupation" id="cap_occupation" value="<?php echo KT_escapeAttribute($row_rdd['cap_occupation']); ?>" size="32" />
          <?php echo $tNGs->displayFieldHint("cap_occupation");?> <?php echo $tNGs->displayFieldError("capital", "cap_occupation"); ?></td>
        </tr>
        <tr>
          <td class="KT_th"><label for="cap_sumassured">Cap_sumassured:</label></td>
          <td><input type="text" name="cap_sumassured" id="cap_sumassured" value="<?php echo KT_escapeAttribute($row_rdd['cap_sumassured']); ?>" size="32" />
          <?php echo $tNGs->displayFieldHint("cap_sumassured");?> <?php echo $tNGs->displayFieldError("capital", "cap_sumassured"); ?></td>
        </tr>
        <tr class="KT_buttons">
          <td colspan="2"><input type="submit" name="KT_Update1" id="KT_Update1" value="Update record" /></td>
        </tr>
      </table>
    </form>
    <p> </p>
    </p>
    </p>
    </body>
    </html>
    <?php
    mysql_free_result($rdd);
    ?>

  • SSRS report taking time to load the data

    Hello Everyone,
    I have create SSRS report get data using web service. When i run the web service methods its gives me result instantly, But when i run the report it takes lot time to load data in SSRS report. some times in SharePoint page it shows time out error.
    Could you please tell me why SSRS report lots of time to load data.
    Thank You. 

    Have a look at ExecutionLog tables in report server database to get an idea of which step is taking more time.
    http://blogs.msdn.com/b/crm/archive/2008/11/19/auditing-report-execution-using-the-reportserver-database.aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Showing selected parameters values on each page in SSRS

    Hi All,
    I have a SSRS report with multi-selection parameter..Basically it's a summary report of sales and based on country parameter I have to show data.
    let say Country is the parameter and below are the values of the Country parameter list...
    Parameters list:
    All
    Australia
    England
    Canada
    Italy
    Parameter: All
    1) If I select 'All' in the parameter list then
    In 1st page I should see data related to Australia and display parameter value as Australia in the left side top corner of the report.   In 2nd page I should see data related to England and display parameter value as England in the left side top
    corner of the report.   In 3rd page I should see data related to Canada and display parameter value as Canada in the left side top corner of the report.  In 4th page I should see data related to Italy and display parameter value as Italy in
    the left side top corner of the report.  In 5th page I should see data related to All and display parameter value as All in the left side top corner of the report.
    2) If I select Australia and England in the parameter list then
    In 1st page I should see data related to Australia and display parameter value 
    as Australia in the left side top corner of the report.   In 2nd page I should see data related to England and display parameter value as England in the left side top corner of the report.
    3) If I select Italy in the parameter list then
    In 1st page I should see data related to Italy and display parameter value 
    as Italy in the left side top corner of the report.
    It should look like this..I need help in showing parameters (selected parameter) individually on each page.
    Page-1
    Parameter: Australia ( how to show Australia on 1st page)
    Product
    Amount
    Country
    Prd1
    100
    Australia
    Prd2
    200
    Australia
    Prd3
    300
    Australia
    Prd1
    340
    Australia
    Page-2
    Parameter: England ( how to show England on 2nd page)
    Product
    Amount
    Country
    Prd4
    400
    England
    Prd1
    125
    England
    Page-3 
    Parameter: Italy ( how to show Italy on 3rd page)
    Product
    Amount
    Country
    Prd2
    250
    Italy
    Prd3
    250
    Italy
    Create Table:
    Create Table Sample(
    Product varchar(10) Not Null,
    Amount Money null,
    Country null
    Insert Statement:
    Insert into sample (Product,Amount,Country) Values ('Prd1',100,'Australia')
    Insert into sample (Product,Amount,Country) Values ('Prd2','200,'Australia')
    Insert into sample (Product,Amount,Country) Values ('Prd3','300,'Australia')
    Insert into sample (Product,Amount,Country) Values ('Prd4','400,'England')
    Insert into sample (Product,Amount,Country) Values ('Prd5','480,'Canada')
    Insert into sample (Product,Amount,Country) Values ('Prd1','340,'Australia')
    Insert into sample (Product,Amount,Country) Values ('Prd3','290,'Canada')
    Insert into sample (Product,Amount,Country) Values ('Prd1','125,'England')
    Insert into sample (Product,Amount,Country) Values ('Prd2','250,'Italy')
    Insert into sample (Product,Amount,Country) Values ('Prd3','250,'Italy')
    Thanks in Advance,
    RH
    sql

    Hi sql9,
    According to your description, you have a report with a parameter for selecting countries. Now you need to display records for one country and show the country name on each page. Right?
    For this requirement, we need to add a parent group (Group on Country) so that we can set page break for each country. Also, we want to display the country name on each page. This country name is group name, not the parameter because the parameter contains
    all countries that we have selected. In this scenario, we just need to set the group name as page name, then display the Page Name (Build-in Field) in report header. You case has been tested in our local environment. Here are steps and screenshots for your
    reference:
    1. Create a table in report. Set detail rows group on Country. Set page break between each group instance.
    2. Create a parameter for filtering data. Set Filter on tablix.
    3. Go to Row Groups, select group Country. In Tablix Member Properties grid, go to Group->PageName. Put “=Fields!Country.Value” in expression. 
    4. Create a textbox in report header. Put Page Name (in Build-in Fields) into the textbox.
    5. Save and preview. It looks like below:
    Reference:
    Pagination in Reporting Services (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • SSRS Report Data Caching Problem in Internet Explorer

    HI All,
    We have setup reporting server in native mode and have deployed SSRS reports on reporting server and mapped it to sharepoint page with report viewer web part.
    The changes on the data is not getting reflected on the report unless I close the browser completely and reopen the URL but at the same time for other rdl reportr, data is getting changed on same brower. so it doesn't seems to be the browser issue (not sure).
    Also the both reports are almost same.
    Any Idea Guys...whats happening with the report or how I can make it work to refresh data properly. I already have tried "Auto Refresh" option in rdl and it refreshes the browser but data doesn't gets refreshed. Also I had deleted cookies, clear the cache
    but it also did not work for me.
    Any help in this regard would be highly appreciated.
    Thanks,
    Nipendra Garg

    Hi Nipendra Garg,
    This might be caused by the refresh behavior of Internet Explorer. When visit a webpage with the same URL, IE may use an old version of this page which stored in browsing history.
    If you're calling the report from a URL, add &rs:ClearSession=True. This will cause the browser to refresh the report every time it's called.
    If you have any question, please feel free to ask.
    Thanks,
    Eileen

  • How can I show Search Form parameter values in URI of Results page?

    I have searched through these pages for posts relating to caching but haven't seen any that relate to my issue.
    We run a website that accesses data through search forms and returns matching data to the requester in a results page. The search criteria are entered in a form and the results page is generated by a servlet that gets the search parameter values that the user entered using the GET method.
    I would like rewrite this Search page using JDeveloper to bring our old code up to date and take advantage of new features that should help performance. In particular, I want to utilise the WebCache.
    To use the WebCache effectively, the cache needs to know what the search criteria were when it delivers a page so that repeated requests using the same criteria can be served directly from the cache.
    The data retrieved by a query may change from one search to to the next so I can't use time-based caching. But, I can use the WebCache Invalidation interface from the back-end DB server to flush old data out of the WebCache when it is changed, but to flush out the correct pages I need to know the parameter values passed.
    If I just follow the demos, it seems like the search parameters are all hidden in beans or something which means that the Web Cache can't be used for what I want. The parameter values are important.
    So my question is: is there a way of showing the search parameters used in the URI to the Results page? Can the old GET method of parameter passing be used (or can I somehow just put the old style parameters onto the URI?)
    Alternatively, is there a simple How To or Demo on how to use the Web Caching facility with JSF?
    (ADF Caching and Java Object caching do not seem appropriate for my needs. ADF caching seems to be limited to having fragments cached for fixed periods of time and Java Object caching is orders of magnitude slower and involves the Application Server.)
    Thanks for any advice,
    Andy

    Sorry - should have said I'm using JDev 10.1.3.0.4 with JSF & ADF BC.

Maybe you are looking for