Excel 2010 Pivot Table VBA Not Refreshing Table

My company recently upgraded from Excel 2003 to 2010. I had VBA written to take source data and convert it into a number of Pivot Tables on a number of worksheets. It has been working fine for years. After upgrading to 2010 the VBA crashed. I tracked it
down to the fact that when my code was making changes to the Pivot Tables (changing fields, filters, etc...) the pivot table on the worksheet had no data, but the fields were there. I can manually go to the pivot table and manually refresh and all the data
comes in.
So I tried adding the VBA code to refresh the pivot table, but the pivot tables will not refresh with data.
I tried:
ActiveSheet.PivotTables("WO Pivot").RefreshTable
and
ActiveWorkbook.RefreshAll
And these did not work.
I also tried recording a macro for the manual steps to refresh and got:
 ActiveSheet.PivotTables("WO Pivot").PivotCache.Refresh
This does not work either.
The PivotTable name is correct, but I tried using the number as well, and the name works for other code manipulating the the pivot table.
e.g.:
With ActiveSheet.PivotTables("WOPivot").PivotFields("Task Title")
      .Orientation = xlRowField .Position = 2
      .Subtotals = Array(False, False, False, False, False, False, False, False, False, False, _False, False)
End
With Why isn't this working? Is there another way to refresh pivot table data in 2010?
Thanks. P.S. I've tried formating this so it is readable, but it comes out garbled. Hope this looks better.

The solution above didn't work for me, but the following did the trick:
ActiveSheet.PivotTables("WOPivot").PivotCache.Refresh
By the way, I identified it by recording a macro, then going on the Pivot Table that needed refreshing and pressing F9 to refresh it. The line of VBA code above was the result.
Cheers,
Marco.

Similar Messages

  • Table is not refreshing after comming

    Hi Experts,
    Working in JDEV 11.1.1.3.0 with ADF BC.
    I am updating the selected rows when the file download is done, in the same method i am coming the recording and reexecuting my VO and adding partial trigger as my table component, but still my table is not refreshing.
    Code:
    public void commitRows(RowData rowData){
    rowData.setAttribute("PrintState", "PRINTED");
    DCIteratorBinding printIter =
    ADFUtils.findIterator("XxwfsAvcardPrintInterfaceVO1Iterator");
    ADFUtils.invokeEL("#{bindings.Commit.execute}");
    printIter.getViewObject().executeQuery();
    AdfFacesContext.getCurrentInstance().addPartialTarget(printTB);
    // ADFUtils.invokePopup(this.getP2().getClientId(FacesContext.getCurrentInstance()));
    }

    Thanks for your reply Suganth.
    i don't have partial submitt on the button.
    My requirement is i am updating selected row on the table and at the same time i am downloading file, after download is finish selected row is updating properly but that row is still apearing on the table, if the user click on download button once again then i am getting null pointer exception, because the row is not there on the table it got updated.
    Because of file download table refresh is blocking, how should i need to refresh my table on file download method.
    Edited by: user5802014 on Aug 26, 2010 8:39 AM
    Edited by: user5802014 on Aug 26, 2010 9:05 AM

  • Swing problem: table is not refreshed when i open it  from jdialog

    Hi , my situation is this one :
    1. i have a swing form.
    2. i have created a panel form where i have a drop down list and a table. wich are depndend with each other. When i choose an item to the drop down list the value in the table is changed.
    3. i invoke this panel into the form with drag and drop, with invoke jDialog from button option.
    4. First time i run the form and open the panel from button the drop down list and the table are working correctly.
    5. i close the panel and open it again: And at this time when i choose an item from drop down list the table is not refreshed anymore. I have to run the form again if i want that this panel to work correctly.
    Am i doing smth wrong? I dont have too much experience in swing , and the documentation for adf-swign are really poor .
    Ps: Maybe i should explain the way i have created the drop down list and table in the panel . i am not using smth like execute with parameters for the view in the table. I have created a link between the view in the drop down list and the view in the table. It seems they work correcly if i run the panel for the first time.
    Thanks in advance !

    To answer your question, Restore the iPhone with current iTunes on your computer. If fixed, it was software. If still problem, most likely hardware, and then make Genius reservation or set up Service and take or send to Apple for resolution under Warranty.

  • Inner join on Buffred table and not buffered table.

    Hi guys,
       Can you suggest me how can i write select query using inner join on buffered table and not buffered table. i written like this. is it right?
    SELECT a~vbeln                         
             a~vkorg   
             a~kunnr                         
             a~kunag                         
             a~wadat_ist 
             a~xblnr                         
             b~bukrs
       FROM likp AS a INNER JOIN tvko AS b
        ON avkorg = bvkorg BYPASSING BUFFER
      INTO TABLE itab_likp
      WHERE vbeln = s_vbeln.              
    Thanks.
    RAJ

    Hi Raj ,
    Please find below my Commentes :
    1. When you use "Bypassing buffer" clause in Select statement , the data what is there in the buffer of application sever is always ignored and Read is performed from the Physical database always. This Clause is advisable where you require realtime data (Not recommended generally in reporting)
    2. It is advisable that you should not use small table in the innerjoin with big table. In the query you have written there are 2 tables:- LIKP and TVKO outof which TVKO is a master table containing very few records than LIKP (Contains huge data for Delivery header).
    So my recommendation will be : -
    1. Eliminate the "Bypassing Buffer" clause from your Query
    2. Break the select query into 2 select queries breaking the join and with some ABAP logic populate the Internal table "itab_likp".
    This will be optimum way inwhich you can write the select query for your senarion. Also Ensure that indexes are being used for better selectivity.
    Hope this will help to you.
    Regards,
    Nikhil

  • HT4642 I use numbers with excell 2010, but it does not show the drop tabs, just a number, is this fixable?

    I have a iphone5 and trying to use numbers with it, I use excell 2010, but it will not transfer the dop down boxes on excell 2010. Is this fixable or what?

    Welcome to Apple Support Communities
    The first Mac with Thunderbolt was the Early 2011 MacBook Pro. If you have got a 2010 MacBook Pro, you have got Mini DisplayPort instead of Thunderbolt, which are the same, but Mini DisplayPort can't be used to connect external disks.
    To check which MacBook Pro you have, open  > About this Mac > More Info, and you will see the MacBook Pro model. If it's Mid 2010 or older, you haven't got Thunderbolt, so you have to connect the external drive through USB

  • Powerpivot 2012 on Excel 2010 - External Data connections not saving passwords, having to re-enter password EVERYTIME I refresh data

    Hey Guys,
    Using Excel 2010 with latest version of Powerpivot 2012 available 11.1.3129.0
    For my SQL Server Data connections in Powerpivot I DO NOT have any issue, when clicking refresh it never asks me to enter a password and uses my Windows AD info.
    However, for my plethora of other external data connections (Informix, Oracle, Etc...) that I would like to have fluid use within Powerpivot, big problems.
    Lets start with Oracle. Below is a screenshot of my connection tab within Powerpivot.
    So as you can see, all the details are entered and Allow Saving Password is selected. Now I will close out of Powerpivot and Excel completely and re-open. I will navigate to the Powerpivot tab
    and select Powerpivot Window. And then will select to "Refresh All" and am quickly prompted with the "Data Source Credentials" window to re-enter my data source password, again.
    What I have already tried. The above method for starters in which I use a connection string under Table Import Wizard --> Others (OLEDB/ODBC)... I found it the least annoying route, although
    still have to re-enter password everytime, which is what I hope this forum can help with.
    I also have tried doing a direct Oracle connection in Table Import Wizard but also does not eliminate my #1 problem.
    I have also created an ODC file to try and use that with stored credentials within the file, also still asks for password each and everytime.
    The same thing happens with my other data connections to Informix and DB2. So any help and/or suggestions anyone has would be great. I also cant upload these powerpivots to our powerpivot gallery
    on SharePoint 2010, I have a sneaking suspicion it is due to the version of powerpivot I am currently using.
    Thanks

    Hi there,
    My company is not using Excel 2013, only 2010. So that is what I have to work with. From what I have read this is a huge hole in the Powerpivot 2012 framework and is extremely frustrating. This seems so basic and simple and like something everyone using
    this product would use, and yet it still doesnt work.
    Great feedback. Connect is the right place for this feedback on 2010 as well. Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Excel Pivot (molap) will not refresh from an SSAS box that is not part of the Farm

    I have spent hours trying to get this working going through many links.  One of the best ones is this.
    http://whitepages.unlimitedviz.com/2010/12/connecting-to-cubes-and-external-data-with-excel-in-sharepoint/
    However even after doing all of this it is still not working.  Here is my set up.  I have a sharepoint 2013.  I am trying to connect to my DW SSAS server that is on a different domain and not part of the farm.  Everything else seems to
    work but excel.  I have power view connecting and creating great reports with refesh working perfect.  I have performance point working.  I have Reporting Services working.  We installed adventureworks on the local SSAS farm version and
    excel is working with this and refreshed just fine.  I can ceate and excel report and save it to sharepoint but when I open it I get the famous error.
    An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:
    I can open in excel and then refresh all from excel and all works fine.  I do not want my users to have to go through this.  They should be able to use excel in sharepoint.  Any ideas on what I am missing.  I have tried to follow exactly
    what the link above says but still not working.
    Ken Craig

    The first article is checking to make sure power pivot is installed and local ssas is running. This could not be an issue since like I mentioned I can create a Excel report to the local farm version of ssas and it opens and refreshed fine.  That
    would mean that power pivot is installed and the services are running right:)?
    The second article I have done over and over and I am pretty sure this works.  Again I can export to excel and it works just fine meaning my Data source is valid right?  yes I have chosen "none" as well.
    The third article talks about the different viewers.  Mine is using
    xlviewer.aspx so I would assume this is not the issue. 
    Here is what I am seeing in the logs but I am not sure what they are saying.  I used uls view somewhat like you would profiler. I started it tried to open excel and then stopped it.  Below are logs that look like they pertain to this action.
    ConnectionManager.GetConnection: Failed to create new connection, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N,
    connectionString=Provider=MSOLAP.5;Integrated Security=SSPI;Persist Security Info=True;Data Source=BIL-BIRSTDB\ASADMIN;Initial Catalog=Ecomm OLAP pool count=0
    ConnectionManager.GetConnection: Caught an exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)
    Refresh failed for 'BIL-BIRSTDB_ASADMIN Ecomm OLAP Report' in the workbook 'http://eagleviewportal/BusinessIntelligenceCenter/Templates/Ecomm Report Power Pivot Default.xlsx'. [Session: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N
    User: 0#.w|hqeagleview\ken.craig]
    ExternalSource.ValidateConnection: Unable to get a connection: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass8.<CreateConnection>b__5()   
    at Microsoft.Office.Excel.Server.CalculationServer.CredentialsTrustedSubsystem.TryExecuteImpersonated(ExecuteImpersonatedMethod method)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionKey
    connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, ConnectionRequest connectionRequest, ExternalDataScenario scenario, Credentials credentials, ExtendedConnectionInfo extendedConnectionInfo, Int64
    privateConnectionId, Boolean shouldReportFailure, Connection& connectionOut). sessionId=1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, externalSource=BIL-BIRSTDB_ASADMIN Ecomm OLAP Report
    ExternalDataUtility.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException'
    was thrown.   
    at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String connectionName, ExtendedConnectionInfo extendedConnInfo, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalDataUtility.GetExtendedConnectionInfo(IExternalDataObject extObject, ConnectionInfoManager connectionInfoManager, Request request, Int32 externalSourceIndex, Boolean ignoreErrors, ExternalDataScenario
    scenario, Exception& lastException, Boolean& shouldReportFailure)   
    at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.GetConnection(ExternalKey externalKey, Int32 externalSourceIndex, ExternalQueryKey externalQueryKey, ConnectionRequest connectionRequest, Int64 privateConnectionId, ExternalDataScenario scenario,
    Boolean prepare), Data Connection Name: BIL-BIRSTDB_ASADMIN Ecomm OLAP Report, SessionId: 1.V23.297S76/z2k/Evl+S78bqiKj14.5.en-US5.en-US36.5a800c6f-758b-44e2-a092-e592f15e09771.A1.N, UserId: 0#.w|hqeagleview\ken.craig
    Ken Craig

  • Advanced Table does not refresh after database level action

    Hi,
    I have a page which has an advanced table. I update the advanced table from the page do some validations, update some DB level columns(also part of advanced table) and see that the changes are saved to the DB but the advanced table does not show the updates done at the DB level.
    I tried clearing the VO Cache and re-executing the VO but still it does not refresh the Advanced table data.
    This is very critical requirement for the client, any inputs will be greatly appreciated.
    Thanks a lot in Advance.
    Here is the code snippet from my CO's processRequest:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAAdvancedTableBean tblbean = (OAAdvancedTableBean)webBean.findChildRecursive("recasttable");
    if(tblbean!=null)
    tblbean.setRendered(true);
    OAApplicationModule tblam = (OAApplicationModule)am.findApplicationModule("RecastLineAM1");
    tblam.invokeMethod("initQuery");
    tblbean.getTableData();
    Here is my AM - initQuery() code:
    public void initQuery()
    //clearVOCaches("RecastLineEO",true);
    clearVOCaches(null,true);
    getRecastLineVO1().init();
    Here is the VO - init() code:
    public void init()
    System.out.println("****************************executing...");
    OADBTransaction tx = (OADBTransaction) getApplicationModule().getTransaction();
    if (tx.getTransientValue("RECAST_ID") !=null)
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("recastId: "+ recastId);
    setWhereClause("RECAST_HDR_ID = :1");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, recastId);
    executeQuery();
    }

    hi,
    This is how I am calling a DB package. the package does updates on the table. once done I am issueing a commit and requerying the data, however the vo is not getting refreshed.... Can someone point out what am I missing... why is the VO not getting refreshed....
    This is very critical...
    Thanks
    Srini
    public void validateRecast(String respKey)
    OADBTransaction tx = (OADBTransaction)getApplicationModule().getTransaction();
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("*********************validateRecast().RecastId: " + recastId);
    OracleCallableStatement ocs = null;
    Connection conn = tx.getJdbcConnection();
    String strOut="", strErr="";
    Number respId = null;
    try
    respId = new Number(respKey);
    catch(Exception e)
    throw new OAException("Invalid Responsibility");
    String stmt = "BEGIN " +
    "GE_RECAST_UTILS_PKG.validate_recast(:1,:2,:3,:4); " +
    "END;";
    try
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setNUMBER(1,recastId);
    ocs.setNUMBER(2,respId);
    ocs.registerOutParameter(3,OracleTypes.VARCHAR);
    ocs.registerOutParameter(4,OracleTypes.VARCHAR);
    ocs.execute();
    strOut = ocs.getString(3);
    strErr = ocs.getString(4);
    ocs.close();
    System.out.println("Returned with: " + strOut);
    if(strOut.equalsIgnoreCase("ERROR"))
    //throw new OAException(strErr);
    tx.putTransientValue("ERROR",strErr);
    tx.commit();
    getApplicationModule().clearVOCaches("RecastLineEO",true);
    RecastLineVOImpl lineVo = (RecastLineVOImpl)getApplicationModule().findViewObject("RecastLineVO1");
    lineVo.init();
    System.out.println("===============RecastLnId: " +lineVo.first().getAttribute("RecastLnId"));
    System.out.println("===============Product Line: " +lineVo.first().getAttribute("ProductLine"));
    catch(SQLException e)
    tx.rollback();
    if(ocs!=null)
    try
    ocs.close();
    }catch(SQLException e1)
    throw OAException.wrapperException(e1);
    throw OAException.wrapperException(e);
    }

  • Table does not refresh after database level action

    We have defined an Advanced table on a VO to represent invoice lines. The VO is referenced by a VL from the invoice header.
    At one point during our process, a database level package is executed on the current lines. We have a "Requery" button to refresh the lines, however, the lines do not refresh unless we exit the invoice entirely and come back to it via the VL.
    How can we refresh the lines on a current table after a database level transaction occurs?
    Thanks, Jerry.
    Our AM code is as follows...
    // handleRefreshInvoiceLines( )
    public void handleRefreshInvoiceLines()
    OAViewObject vo = (OAViewObject)getInvoiceLinesVO1( );
    if( !vo.isPreparedForExecution( ) )
    getTransaction( ).validate();
    vo.executeQuery( );
    clearVOCaches( "InvoiceLinesEO", true ); // troubleshooting
    } // handleRefreshInvoiceLines()

    Thank you. I've moved clearCache around a bit. apparently vo.isPreparedForExecution() is false. I wonder why?
    --Jerry.                                                                                                                                                                                                                                                   

  • Deleting the Row from the table is not refreshing the contents in the form

    Hi,
    We developed a table and form in the same UI based on the following suggestion.
    Display and edit currently selected row of ADF Table in ADF Form
    1. Created one view object based on the employees table.
    2. dragged the view object to the UI as table.
    3. dragged the view object as form.
    4. set partial triggers on the form's container (panelformlayout) as tableId.
    Tested the application with the edit options and everything is working fine. But the problem comes when we delete the record from table. it is not refreshing the form based on the newly selected row after deleting the record. If we commit the data the form contents are updated to the selected row (which is not desired).
    Can you please suggest how to fix the issue, refreshing the form with the selected row after deleting the records.
    Thanks and Regards,
    S R Prasad

    The Code snippet looks fine. I think, the issue is in the partial trigger setting
    4. set partial triggers on the form's container (panelformlayout) as tableId.In order to the table to get refreshed, the table's partialTriggers property should be set to id of the delete Button.
    Go to table, select partialTriggers in the Property Inspector, Click on Expression Builder at the right and select the delete Button.
    Can you set this and check?
    Sample Code:
    <af:panelHeader text="panelHeader 1" id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar">
    <af:commandButton text="Delete" id="cb1"/>
    </f:facet>
    <f:facet name="legend"/>
    <f:facet name="info">
    <af:table var="row" rowBandingInterval="0" id="t1"
    partialTriggers="::cb1">
    <af:column sortable="false" headerText="col1" id="c1">
    <af:outputText value="#{row.col1}" id="ot1"/>
    </af:column>
    <af:column sortable="false" headerText="col2" id="c4">
    <af:outputText value="#{row.col2}" id="ot3"/>
    </af:column>
    <af:column sortable="false" headerText="col3" id="c3">
    <af:outputText value="#{row.col3}" id="ot4"/>
    </af:column>
    <af:column sortable="false" headerText="col4" id="c5">
    <af:outputText value="#{row.col4}" id="ot2"/>
    </af:column>
    <af:column sortable="false" headerText="col5" id="c2">
    <af:outputText value="#{row.col5}" id="ot5"/>
    </af:column>
    </af:table>
    </f:facet>
    </af:panelHeader>
    Thanks,
    Navaneeth

  • Solved af:table is not refreshed with updated MBean data from list even

    Hi,
    I have a af:table which gets its data from a Managed Bean List type varaiable.
    My table hav one lov as a row item.
    When i change the lov in each row... a new row should get added to the table.
    So in the value change listener of the selectOneChoice i added one element to the list.
    Enabled PPR on table.
    But table is not getting refreshed until i click on some button or link.
    Thanks
    Murali
    Message was edited by:
    Murali Chepuri

    Solved after adding partialtarget in ValueChangeListener.
    Thanks
    Murali

  • Table is not refreshing with partialSubmit

    I Have a commandbutton that populate a table:
    <af:commandButton text="Procesar" id="cb1" shortDesc="procesar consulta" partialSubmit="true"
    action="#{pageFlowScope.AptosRenovar.procesar}"/>
    <af:table var="row" summary="Aptos por Renovar" rows="#{bindings.ListadoRenovaciones.rangeSize}"
    emptyText="#{bindings.ListadoRenovaciones.viewable ? 'No se encontraron resultados para la búsqueda seleccionada.' : 'Acceso denegado.'}"
    fetchSize="#{bindings.ListadoRenovaciones.rangeSize}"
    rowBandingInterval="0" id="tafil"
    value="#{bindings.ListadoRenovaciones.rangeSet}"
    binding="#{pageFlowScope.AptosRenovar.tafil}"
    rowSelection="none" styleClass="AFStretchWidth"
    disableColumnReordering="true"
    partialTriggers="::sfP:cbFirst ::sfP:cb2 ::sfP:it6 ::sfP:cb3 ::sfP:cb4 ::sfP:cb5 :cb1"
    columnStretching="column:cApell">
    In my java method I execute a procedure :
    Map paramsRenov = new HashMap();
    paramsRenov.put(Constants.CIASUC_PARAM,cia.concat(suc));
    paramsRenov.put(Constants.ASECOD_PARAM,usuario.getCodigo());
    paramsRenov.put(Constants.ANOMES_PARAM,nombre);
    paramsRenov.put(Constants.TIPO_PARAM,renuev);
    executeOperationBinding(EXECUTE_RENOVACIONES,paramsRenov);
    When i clic on the button, the table is not populating. When i clic again the button,it does. I am using JDeveloper 11.1.2.1
    Edited by: Miguel Angel on 09/04/2012 12:15 PM

    Hi,
    what is the business service you execute the operation on? Chances are that the iterator is refreshed before the new data is ready. Try setting the ADF iterator binding "Refresh" property to "ifNeeded" (this usually is what e.g. you will have to do for WebServices.
    Frank

  • ADF table data not refresh

    hi,
    i am create a adf table using data control. value of adf table depend on view object. where i bind a variable in where clause.
    now i am giving the value of whereClauseParam using using view object instance in backing bean method.
    when i pressed command button method run properly but adf table not refresh and not showing data.
    thanks in Advance

    public void callData(ActionEvent ae) {
    String amDef = "com.jagran.in.model.view.updatable.AppModule";
    String config = "AppModuleLocal";
    ApplicationModuleHandle handle = null;
    ApplicationModule am;
    try {
    handle = Configuration.createRootApplicationModuleHandle
    (amDef, config);
    //am = Configuration.createRootApplicationModule(amDef,config);
    // ApplicationModule sam = handle.useApplicationModule();
    am=handle.useApplicationModule();
    am.processChangeNotifications();
    ViewObject svo = am.findViewObject("BindView1");
    svo.setNamedWhereClauseParam("id","JK0554");
    svo.executeQuery();
    ((ViewObjectImpl)svo).refreshCollection(null, false, false);
    am.processChangeNotifications();
    svo.reset();
    while (svo.hasNext()) {
    Row r = svo.next();
    System.out.println( (String)r.getAttribute(1));
    } catch(Exception e)
    System.out.println(e);
    finally {
    if (handle != null)
    Configuration.releaseRootApplicationModuleHandle(handle, false);
    }

  • Excel 2010 temp Files do not delete on network share automatically when closed *Word 2010 do!*

    Hi,
    saw this post in similar Versions but never with a "cool solution" :)
    We got NetApp 2050 as Filer in a Windows Server 2008 R2 Domain with Windows 7 Clients and Office 2010 Pro Plus, all up to date with WSUS.
    If I open an Excel 2010 sheet on the Netapp Share or a Share on the Domain Controller and close it, it do not delte the temp file.
    Same to PowerPoint 2010.
    But with Word 2010, this works!
    Therefor I don't think, this will be the NTFS permissions or Network issues.
    We also got VMware Clients with Windows 7 and Office 2010. There the issue does not occure!!!
    May be something in Group Policies? Could it be some Microsoft Updates?
    I'm very interested in your opinions...
    Best regards...

    Hi,
    As far as I know, the issue usually caused by the anti-virus actively scanning Excel files (XLS, XLSX, or XLSM files). Please try to make the anti-virus to not actively scan Excel files.
    Then, if you are using Kaspersky 2009, I recommend we try the below method:
    Go to Run>Regedit>Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\KLIF\Parameters>Create the key  NonCachedIo (Type: Dword Value:1)
    Next, some other customer solved the issue by turning off the index with the effected folders.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Excel 2010 MS Query is not working

    Hi, I am in the process of upgrading all my Excel 2003 spreadsheets to Excel 2010.  I am running into problem with the MS Query.  Spreadsheets have MS Query linking to MS database.  However, when I open some of the spreadsheets, the MS Query
    is not working ie. the blue circle keeps turning and then not responding.  It is very weird that this MS Query is working fine with some spreadsheets but not couple and they are all linking to the same database except a small different in criteria.  I
    tried to re-create the Query in the spreadsheet in Excel 2010 by going to Data>From Other Sources>From Microsoft Query and select the database.  Once I set up the criteria and click Return data, the Query gets stuck.
    Please help! Any comments/suggestions will be appreciated.
    Thanks

    Hi,
    There are many possible causes that can crash MSQuery in Excel 2010.
    First, please make sure we have installed the latest Office 2010 and Windows patches.
    Second, Please read the Blog, it explains one typical crash scenario.
    =====
    AppName: msqry32.exe AppVer: 14.0.4750.1000 ModName: msvcr90.dll
    There are several possible resolution you can try to resolve the above crash:
    1. When you launch MS Query, just disable the option "Validate queries before saving or returning data", this is the fifth box in the options menu.
    The only problem is that if you have made any mistake in your query, you'll only be noticed when receiving the data in excel.
    2. Repair all the keys into registry at the following place:
    [HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC]
    For example:
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC]
    "TraceFile"="C:\\DOCUME~1\\...USERNAME...\\IMPOST~1\\Temp\\SQL.LOG"
    "TraceDll"="C:\\WINDOWS\\system32\\odbctrac.dll"
    http://blogs.technet.com/b/asiasupp/archive/2011/11/07/msquery-randomly-crashed.aspx
    =====
    Third, start the Excel 2010 with
    safe mode, it helps us confirm if some add-ins cause this issue.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in
    Office programs.

Maybe you are looking for