Unable to update chart after onchange event

I have an OnChange event from my irpt containing a drop down box and an iSPCChart. I would like to have it when the user selects a number from the drop down list it passes the param and then refreshes the chart.   I know everything works on this except my update grid code because I click the refresh on the chart footer and the chart reflects what the user selects.  Can you please review this and let me know what I need to do to fix this?
<!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>
<!--
Owner     Gregory M. Pyles Jr.
Phone     x2689
Date     02/21/2007
Brief Description:
          This view allows users to see 6 mos worth of SK_FinalWeight data as an
          Ind Chart.  They have the ability to change the record count to see
          variability in Control Limits. 
-->
        <title>SK_FinalWeights_Ind</title>
        <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
        <meta http-equiv="Expires" content="0" />
        <meta http-equiv="Cache-Control" content="no-cache" />
        <meta http-equiv="Pragma" content="no-cache" />
          <script type="text/javascript">
where          tblSelection.Select List
applet          ind_SK_FinalWeights
type          onChange
class          n/a
method          onChange
Comments     Ignores "-- Select --" and selects the value from the dropdown list. 
               Then sets the param.5 (Fix Query: Select TOP [Param.5] ...From ...Where).
               Updates the grid to reflect value selected.
Examples     (1) alert(eval(obj<i>.value))
               (2) alert(df.RecordCount.value)
                function doSel(obj)
                          var df = document.frmMain;
                          for (i = 1; i < obj.length; i++)
                                    if (obj<i>.selected == true)
                                              document.ind_SK_FinalWeights.getQueryObject().setParam(5,df.RecordCount.value);
                                              document.ind_SK_FinalWeights.updateGrid(true);
//------------------------>  Problem is on above line  <-----------------------------------
          </script>
    </head>
    <body>
<!--          This body consist of two tables one of which is embedded in the first table.  "tblMain" sets the perimeter of the body. 
                    (1) The first row contains tblSelection drop down lists or ibrowsers can be placed here. 
                    (2) The second row contains the iSPCChart.
-->
          <form name="frmMain">
               <table name="tblMain" border="5">
                    <tr>
                         <table name="tblSelection" border="0">
                         <td>Record Count</td>
                              <td>
                                   <select name="RecordCount" onchange="doSel(this)">
                                        <option> -- Select --</option>
                                        <option value="10">10</option>
                                        <option value="25">25</option>
                                        <option value="50" selected="selected">50</option>
                                        <option value="75">75</option>
                                        <option value="100">100</option>
                                        <option value="150">150</option>
                                        <option value="250">250</option>
                                        <option value="500">500</option>
                                   </select>
                              </td>
                         </table>
                    </tr>
                    <tr>
                         <td>
                              <applet name="ind_SK_FinalWeights" codebase="/Illuminator/Classes" code="iSPCChart" archive="illum8.zip" width="775" height="480" mayscript>
                              <param name="DisplayTemplate" value="LincolnElectric/Dev/SK/dspSK_FinalWeights_Ind">
                              <param name="QueryTemplate" value="LincolnElectric/Dev/SK/qrySK_FinalWeights_IndChart">
                              <param name="ShowVerticalGrid" value="false">
                              <param name="InitialUpdate" value="true">
                              <param name="Param.1" value="{ID}">
                              <param name="Param.2" value="{Line}">
                              <param name="Param.3" value="{Operator}">
                              <param name="Param.4" value="{OrderNo}">
                              <param name="Param.5" value="50">
                              </applet>
                         </td>
                    </tr>
               </table>
          </form>
    </body>
</html>

You have an iSPCChart applet, but are using the iGrid's updateGrid(true) method.  Try changing the updateGrid(true) to updateChart(true).  That should work for you.

Similar Messages

  • Unable to update apps after 10.5 update

    I have been unable to update apps on my iPhone since downloading iTunes 10.5.
    I have an established connection in iTunes to my account and can download apps but when I when I click on "# Updates Available" I am asked to sign in again and then receive a message that the iTunes Store is unavailable and to try again later.
    All system software is up to date and I have update my iOS to 5. I am able to connect to the store via my iPhone and update there but do not understand why I can't view the updates on my Mac.
    Please help

    Please test after each of the following steps that you haven't already tried. Stop when the problem is resolved. Back up all data before making any changes. Keep in mind that no one here represents Apple or can help with customer-service issues.
    Step 1
    A purchased app can only be updated by signing in to the App Store with the same Apple ID that was originally used to buy it. There's no way around that limitation, which also applies to free apps. If you can't sign in with the buyer's ID, delete the app and reinstall it. You'll have to pay for it again, if applicable.
    Step 2
    If you get the alert when trying to update a bundled iLife app, select the Purchases page in the App Store and locate the app in your purchase history. If there's a button marked ACCEPT on the right, click it.
    If you have a used Mac, the bundled apps were linked to the original owner's Apple ID and can't be transferred to you. Reportedly, customer service has issued redemption codes to some second owners who asked, but it's not guaranteed.
    Step 3
    If you're trying to update iLife or iWork apps that were installed from a purchased DVD, or if you have a refurbished Mac bought directly from Apple, contact App Store customer service for a redemption code. You may be asked for the part number of the DVD.
    Step 4
    From the App Store menu bar, select
              Store ▹ View My Account
    Enter your Apple ID password at the prompt. At the lower right corner of the window that opens, click the Reset button. Close the window.
    Step 5
    According to a report, the error can result from changing the language setting of your Apple ID account. I can't confirm.

  • Unable to update iPod after upgrading to iTunes 7.0.1.

    Ever since upgrading to iTunes 7.0.1 from 6.x I have been unable to update my iPod. (60Gb with Video). It says on inserting my iPod a new version is available (1.2) from 1.1.2
    I get "The iPod "name" could not be updated. An unknown error occurred (1417)".
    I have tried the standard things... reset internet connection, restart PC, uninstall and reinstall iTunes...
    Anyone resolved this problem?

    I get "The iPod "name" could not be updated. An unknown error occurred (1417)".
    some folks have been having some success with the 1417/1418 using eboncairn's technique:
    eboncairn: iTunes7 & 5th gen iPod updating - is this possible solution? (winXP)

  • Unable to update apps after converting iTunes account from UK to SG

    Hello all,
    I have contacted support ([email protected]), and after being served by countless support staff, none could really explain to me what I should/could do. All they have done after understanding my problem is to point me to "iTunes Feedback page".
    So here's the problem: I cannot seem to update my apps. This all happened when I switched stores. Previously I was using the UK iTunes store. But since I've completed my studies and returned home, I changed my billing information to a Singapore bank. Doing so converted my iTunes store account to the SG iTunes store. Clicking on the "search for updates" in the iTunes App library lists several updates available. But because I am in the SG iTunes store and my apps were previously purchased in the UK iTunes store, there is no way for me to update it.
    The strange thing is that my iPhone and iPad allows me to update any app - bought from the UK or SG store - without any problems. It is just that iTunes is rather picky about updating it. I have tried deleting a UK-purchased app and re-downloading the same app in the SG iTunes store, and two things happen. The first is that I won't get charged, since it prompts me "you have already purcahsed this item". I also notice that there is the "$0.99 Buy App" and not the usual "Download" label. The second is that despite the fact that I re-downloaded the app from the SG iTunes store, it still refuses to update it.
    I'm really getting annoyed at this. Does anyone have the same problem, if so, what did you do to resolve it?

    Hi,
    Didn't realize you were trying to access AppWorld.
    Reset your password using this link.
    Thanks,
    Bifocals
    KB24127The
    error "Unable to validate the email address and password combination.
    (Error Id: 30601)" is encountered when logging into BlackBerry App World
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Unable to update apps after software update

    If I try to update my apps or download new one I get, : unable to download app, (app) could not ne downloaded at this time"
    I didnt have this issue until after the sodtware update.
    thank you

    Hello archerobx
    If you are having issues with the App Store, the article below will assist with making sure that you can access both the iTunes and App Store with updates and purchases.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Unable to update apps after upgrading to yosemite

    I have update my mavericks to Yosemite. But after upgrading , i m not able to update the apps. Its giving the error : "The update is not available for this apple id either because it was bought by a diff user or the item was refunded or canceled".
    It is to be noted that the i haven't changed my apple id.

    Please test after each of the following steps that you haven't already tried. Stop when the problem is resolved. Back up all data before making any changes. Keep in mind that no one here represents Apple or can help with customer-service issues.
    Step 1
    A purchased app can only be updated by signing in to the App Store with the same Apple ID that was originally used to buy it. There's no way around that limitation, which also applies to free apps. If you can't sign in with the buyer's ID, delete the app and reinstall it. You'll have to pay for it again, if applicable.
    Step 2
    If you get the alert when trying to update a bundled iLife app, select the Purchases page in the App Store and locate the app in your purchase history. If there's a button marked ACCEPT on the right, click it.
    If you have a used Mac, the bundled apps were linked to the original owner's Apple ID and can't be transferred to you. Reportedly, customer service has issued redemption codes to some second owners who asked, but it's not guaranteed.
    Step 3
    If you're trying to update iLife or iWork apps that were installed from a purchased DVD, or if you have a refurbished Mac bought directly from Apple, contact App Store customer service for a redemption code. You may be asked for the part number of the DVD.
    Step 4
    From the App Store menu bar, select
              Store ▹ View My Account
    Enter your Apple ID password at the prompt. At the lower right corner of the window that opens, click the Reset button. Close the window.
    Step 5
    According to a report, the error can result from changing the language setting of your Apple ID account. I can't confirm.

  • Unable to update child after update search criterium of parent

    Hi,
    I'm using JHeadstart 9.0.3.1, Application Structure: BC4J-ServiceFile-UIX.
    I'm not able to update a child-record (child-records on new page) under the following condition:
    - I have a Search-TablePage-DetailPage Construction with a number of level-2 pages for the child-tables.
    - I make a query for a particular parent table record
    - Next I update the field on which I queried so that it does not match the original query-criteria.
    - Next I try to insert a child-record on a level-2 page
    - Error; no child-records saved.
    Is this a known bug/feature? Is there a workaround?
    thanks,
    Anthonie

    Jan,
    As promised:
    The problem occurs in all level-1 pages. After update of a field so that it does not match the original search criteria we see the following:
    1) level-2 pages which had a number of 'new rows' do not show any 'new rows' anymore
    2) Level-2 pages which have an insert-button are not capable of inserting child records. The error returned is:
    Cannot find accessor attribute named ContactenView. Make sure ViewObject FunctionarisView has a viewlink with a Destination Accessor Name that equals ContactenView. If such a ViewLink is present, make sure the MVC Framework process or Struts action that triggered this error (typically GetChildDataSourceSet) specifies the childAttribute in addition to the child resource interface name.
    java.lang.Exception: Cannot find accessor attribute named ContactenView. Make sure ViewObject FunctionarisView has a viewlink with a Destination Accessor Name that equals ContactenView. If such a ViewLink is present, make sure the MVC Framework process or Struts action that triggered this error (typically GetChildDataSourceSet) specifies the childAttribute in addition to the child resource interface name. .....
    regards,
    Anthonie van Dijk

  • Unable to update apps after Mavericks install (Unable to update w/this Apple ID)

    After updating Mavericks I cannot update the Apps. It says, "Update Unavailable with this Apple ID.  This update is not available for this Apple ID either b/c it was bought by a different user or the item was refunded or cancelled".
    Neither of those reasons are accurate. Please advise.
    Thank You,
    Chris

    Perform the following, stopping with the first one which works:
    1. Open the Mac App Store's Purchases tab. If you're prompted to accept them into your Apple ID, do so.
    2. Move them out of the Applications folder(they may need to be put into the Trash temporarily), and then see if you can download them for free from their individual product pages. If you're asked to buy them, see #3.
    3. Click here, contact Apple, and wait for a response.
    4. Buy them.
    (116151)

  • HT201210 My iphone was unable to update and after clicking "ok"

    the phone screen has the itunes logo with the usb cord (telling me to connect to itunes). i connect it and nothing happens. ive tried restarting both itunes and my phone and still nothing. please help
    thank you

    it seemed to have backed up everything just before the software update 6.1.4. so after the full restore i restored from backup and its all still there (mostly)
    what a relieve...thx

  • Unable to Update iPhoto after upgrading to Maverick.  Error "There was an error in the App Store. Please try again later. (20)".  Please help.

    Hello,
    I just updated my software to Mavericks and I have been trying to update iPhoto on my system without success.  Error from App Store is "There was an error in the App Store. Please try again later. (20)".
    Can anyone help with this please.
    Thank you.

    Try this:
    Make sure this checkbox is checked in the System/Sharing preference pane:
    If it is, uncheck it and then recheck and try ordering again.
    OT

  • Unable to update apps after IOS 6

    I have 14 app pending updates since IOS 6 and NOT being able to update due to billing info update as the app store suposedly wasn't able to process a previous purchase. Now I want to update the 14 already bought apps and I can't due to this stupid message. As far as know if you don't have enough funds available you can't install or download any app. How could a previous purchase cause any problem? Any help?

    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.

  • Unable to update iPhoto after installing yosemite on iMac

    recently installed yosemite OS, but cannot open iPhoto without update  and cannot find update.

    Its been like this for 2 hours...
    It may be hanging, because you are running out of storage - do you have at least 10GB of fee disk space?
    Or something is interfering with your connection to the App Store - anti virus software, a firewall. If you have any such software running, restart yor mac in Safe Mode and try reinstalling in this mode:  Mac OS X: Starting up in Safe Mode
    If that does not help either, ask in the App Store forum.

  • Unable to update iPhoto after doing the new OS X Mavericks update.

    I just did the new update, OS X Mavericks. Everything works except for my iPhoto. It says I can not use this application "iphoto" with this type of mac. I have iPhoto 9.3.2. When i go to update iPhoto it says "update unavailable with this apple id." I've had the same apple id, haven't changed anything since day 1.. help! 

    Sign out of the App Store and then sign back in and try to download iPhoto 9.5.1.  It should be a free download.
    OT

  • Unable to update zones after migrating from SRU13 to Solaris 11 Release

    When attempting to migrate to 11-release, I ran into a bizarre problem when I began to migrate my zones to the new format. It would appear that there is an erroneous and hardcoded pkg publisher somewhere in the toolchain. During a zoneadm attach -u:
    [Saturday, November 12, 2011 05:40:38 AM UTC] Sanity Check: Passed. Looks like a Solaris system.
    [Saturday, November 12, 2011 05:40:38 AM UTC] Zone BE root dataset: data/zones/rooter/rpool/ROOT/zbe-8
    [Saturday, November 12, 2011 05:40:39 AM UTC] Cache: Using /var/pkg/publisher.
    [Saturday, November 12, 2011 05:40:39 AM UTC] Updating image format
    pkg: 1/2 catalogs successfully updated:
    http protocol error: code: 400 reason: Bad Request
    URL: 'http://localhost:10000/za100/catalog/1/catalog.attrs'.
    [Saturday, November 12, 2011 05:40:51 AM UTC] ERROR: Updating image format failed
    Note that I do not have any such publisher configured:
    # pkg publisher
    PUBLISHER TYPE STATUS URI
    solaris origin online http://pkg.oracle.com/solaris/release/
    Any thoughts?

    In the global zone, run:
    # svcs svc:/application/pkg/system-repository:default svc:/application/pkg/zones-proxyd:defaultIf one of those services is not online, you will see this problem. If the service is in maintenance:
    # svcadm clear <service>If it is disabled:
    # svcadm enable <service>

  • Unable to update podcasts after new iTunes update

    I have just downloaded the new iTunes & now can no longer update my favouite podcasts. I seem to only have the option to subscribe to each podcast -  which will waste huge amounts of download plus annoying amounts of time in deleteing unwanted ones. Previously it was easy to see new episodes available with a right mouse click which could then be downloaded if required. Also, my list is no longer in alphabetical order. I have not synched my iPod to iTunes yet as I am scared I will lose my favouite episodes. Can anyone explain what the recent changes are, & how to just get new episodes of your favouites without subscribing?
    Not happy

    Hi,
    Highlight one of the applications that cannot be updated and click File> Get Info. Make sure you are signing-in to the iTunes Store with that Account Name shown in the Get Info window.
    Then sign-in to the iTunes store and verify the account information as described here: http://support.apple.com/kb/HT1918
    If the issue persists, try to reconfigure the security software or remove the SC Info folder as others have in this related discussion: http://discussions.apple.com/thread.jspa?threadID=1939036
    Message was edited by: Jason L

Maybe you are looking for