Problem losing Compatibility Mode in migrating to 9i

I am currently working on migrating a large number of forms to 9i. Some of these forms were created by Designer 2 for Forms 4.5 and have been manually maintained over the years and are currently running client-server under Forms 6i. However, many of them have the Forms Compatibility Mode set to 4.5. In preparation for the step to 9i, I am updating the forms under 6i, replacing deprecated builtins that are not included in 9i, etc, and changing the Compatibility mode up to 5.0 (9i does not have a compatibity mode property).
I have come across a problem with one form which does not operate correctly when I switch off Compatibility Mode 4.5. It has 4 blocks in a simple master-detail-subdetail-subsubdetail structure. The Copy Value From Item property is used to deal with the foreign keys. Querying and scrolling through records works perfectly. However, on creating a new record in the second level, the subdetail blocks do not pick up the new key values, but retain the last values they held. With Compatibility Mode 4.5 set, the form works perfectly.
I have read through Metalink and found the differences between 4.5 and 5.0 and can not see anything that would cause this behaviour. Has anyone else experienced anything similar please?
Ian Morgan

OK, I can answer my own problem now. The form had a When-Validate-Item trigger on the lowest level block which apparently fired before the Copy Value From Item takes effect in 5.0 Mode, but must be the other way around in 4.5 Mode.
I moved the When-Validate-Item trigger code into a When-Validate-Record trigger instead, and now it works as required.
Ian Morgan

Similar Messages

  • First time user..problem with compatibility mode

    Old problem with a twist. Like others have experienced, when I open itunes I get a message that reads itunes.exe is set to run in compatibility mode and I need to turn it off. The problem I have is that I DON'T FIND a compatibility option when I right-click on Properties. Any ideas???

    Refer to this article:
    iTunes for Windows: How to turn off Compatibility Mode
    http://support.apple.com/kb/TS1489

  • CSS Float Drop in IE8 but not Compatibility Mode

    I'm testing code for my home page across different browsers, and encountered the common IE float drop problem.  This does not occur in Firefox, Chrome, Opera, or IE8 in Compatibility Mode; but does occur in IE8 standard mode.  It's a bit confusing, since I usually encounter this problem in Compatibility Mode.
    I have tried using clear:none; as I thought the content was clearing the float:left of a large flash image on the left side of the window, but it didn't solve the problem.  I have 3 image buttons whose combined heights equate that of the flash image (all 622px), and these are all in a column div floating to the right.  All of these are flush margin:0 and padding:0, border:none.  The flash image has it's own class stating margin:0, padding:0, border:none as well.  These divs are fixed pixel widths and heights.  I tried placing them in a larger container div with fixed width and height, which didn't solve the problem.  Again, this only occurs in IE8 Compatibility Mode.
    This is the code below:
    div id="container">                  
    embed src="index.swf" allowscriptaccess="always" allowfullscreen="true" height="622" width="509" align="left" class="flashhome"> /embed>                     
    div id="homecontright">           
      a href="services.html?panel=5">           
      img src="button1.gif" align="top" border="0" alt="b1" class="imageright"/> /a>                        
      a href="smt.html">          
       img src="button2.gif" align="top" border="0" alt="b2" class="imageright"/> /a>                       
       a href="jobs.html">          
       img src="button3" align="top" border="0" alt="b3" class="imageright"/> /a>        
    /div>       
      div class="floatfix"> /div>             
       div id="foot" align="center">      
       contact info footer      
       /div>             
       /div>
    Here is the style information from my separate stylesheet
    #homecontright { margin:0; padding:0; border:none; width:493px; height:622px; overflow:visible; float:right; display:block; }
    .imageright {margin-left: auto; margin-right: 0px; margin-top: 0px; margin-bottom: 0px; display: block; float: right }
    .flashhome { width:509px; height:622px; margin:0; padding:0; float:left; border:none; }
    div#container { margin-left:auto; margin-right:auto; margin-bottom:0; width:1002px; background-color:#A8CBE9; }
    div#foot {      background-color:#003366;      border-color:#a8cbe9;      border-width:thin;      border-style:solid;      font-size:10px;      width:996px;      padding:0.2em;      margin-left:auto;     margin-right:auto;      text-align:center;      font-family:Arial, Helvetica, sans-serif;      font-weight:bold;      color:#FFFFFF;      height:10px; }
    .floatfix { clear:both; }
    I've tried removing all the floats, even, especially the ones in the nested divs/class elements; but this didn't do a thing.  This leads me to wonder if this really is a float drop problem or am I missing something?
    EDIT: I fail at posting code so I've removed the front bracket from all tags.  Also, added a diagram to show what it's supposed to look like and what is happening in IE 8 Compatibility.  The margins do not exist, they are there so you can see individual elements

    I tried adjusting the images on the right -10px and had the same result.  Those images were actually created with margins within the image, so everything should be flush.
    I noticed, however, that even in browsers where everything aligns correctly, there seems to be a 2-3px jog between the flash image and the buttons on the right.  That strange link to the bottom right of the flash image is still appearing as well, somehow having to do with the top banner image when right clicked.  I tried changing the URL of that banner and the link changed as well, confirming my suspicion that they're linked.  I attempted to contain that image in a fixed width div with no results.  This link does not appear in other browsers, nor does it appear on any other pages that I used that code on.
    Code for my banner:
    <...a href="index.html"><img src="index/accuweb_c3homebannerR1a.jpg" alt="banner" border="0" class="banner"/><.../a>

  • Runtime problems after migrating from Flex3 to 4 in compatibility mode

    We are migrating our Flex-3.2 application to Flex 4.1, mainly to take advantage of the new text flow/engine features. In a first step we decided to go with compiling for MX-only and in Flex-3-compatibility mode.
    Thanks to some helpful resources (
    http://www.adobe.com/devnet/flex/articles/flexbuilder3_to_flashbuilder4.html
    http://stackoverflow.com/questions/1563482/any-flex-4-migration-experience
    http://www.adobe.com/devnet/flex/articles/flex3and4_differences_02.html
    ) I am able to compile our application.
    But I find myself surprised about the amount of runtime differences ranging from the problem that I cannot cast ResultEvent.currentTarget to HTTPService ( which apparently was introduced in 3.5 ) to many layout problems to differences in event dispatching ( e.g. one of our legacy components listens to the add event which it just doesn't seem to get anymore ).
    It seems there is very little documentation on this. I'd like to find a list with detailed changes so that we don't have to rely on QA to stumble across hopefully all issues.
    This documents lists some, but doesn't seem exhaustive.
    Does someone have a better list of documented changes from SDK 3.2 to 4.1?
    Thanks
    Stefan
    PS. Concrete example of one surprising change:
    In Flex 4:
        <?xml version="1.0" encoding="utf-8"?>
        <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" minWidth="955" minHeight="600">
        <fx:Script>
        <![CDATA[
        private function notFired():void
        trace("ADDED");
        private function fired():void
        trace("COMPLETE");
        ]]>
        </fx:Script>
        <mx:TextArea add="notFired();" creationComplete="fired();"/>
        </mx:Application>
    Now do the same in Flex 3 and you'll see both events fire.

    The add event is a bug.

  • Problems running 1.4.1_01 vm under FreeBSD in linux compatibility mode.

    Hi.
    I currently have a FreeBSD 4.6 box running in linux compatibility mode. We are attempting to get Tomcat 4.1.12 installed. The problem I am currently experiencing is the following:
    when logged in as root, java executes perfectly.
    when logged in as any non-root user, java generates an abort trap at start up, and prints the following VM error message :
    [jeremy@agamemnon ~] $java -server -version
    # HotSpot Virtual Machine Error, Internal Error
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Server VM (1.4.1_01-b01 mixed mode)
    # Error ID: 4F533F4C494E55580E43505002D7
    Abort trap
    I installed the jdk as root. the JDK in question is the linux tar script one. I have the linux_base 7.1 packages installed for FreeBSD, and have the linux emulation module turned on.
    Anyone have any suggestions?
    McF

    Hello,
    I'm having a similar problem, but mine involves Tomcat/JSTL. I'm running FreeBSD 4.7, with JDK 1.4.1_01-b01 (Linux compatiblity mode enabled). The tomcat(4.1.12) server crashes with simplest of jsp pages that issues the following jstl declaration:
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    When tomcat tries to serve this page, tomcat crashes with the following diagnostic message:
    Unexpected Signal : 11 occurred at PC=0x2A29B772
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
    Dynamic libraries:
    Can not get information for pid = 1479
    Local Time = Wed Nov 20 09:21:06 2002
    Elapsed Time = 38
    # HotSpot Virtual Machine Error : 11
    # Error ID : 4F530E43505002E6
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
    I've tried using the Apache JSTL also, but got the same results.
    Any ideas?
    Thanks,
    VTrevino

  • Runtime Compatibility Mode property

    Hello!
    I have a problem after the migration from Forms6i to Forms9i because there is no Runtime Compatibility Mode property anymore. In the previous version I used 4.5 value for that field because that was the only way to realise a sequance of trigger firing. If you put 4.5 value (in a master-detail structured form), WHEN-CREATE-RECORD fires, and then WHEN-NEW-RECORD-INSTANCE when you jump from master to detail block. I need that because I use copying a new value of some items from master to detail block at the time of transition between them. If you omit 4.5 value, you have a firing just WHEN-NEW-RECORD-INSTANCE, without a firing WHEN-CREATE-RECORD.
    Now in Forms9i we don't have such field (Runtime Compatibility Mode property), so I don't have first scenario. It's a significant problem for my forms!
    Have anyone got an explaination or suggestion for this? Thank you in advance!!!
    Dejan

    This is yet another reason why we encourage customers to never fall too far behind.  The further you are from the current version, the more difficult it will be to upgrade.  In most cases, new major releases (at least for Forms/Reports) are only released once every 2-4 years (approximately).  Therefore, if you planned to stay within 2 major releases of the current, you might only be upgrading once every 6 years or so.  This seem fairly reasonable and would make the process much easier.  So, for example, if the current version is 11gR2, you should be on at least 10 as these versions are about 6 years apart.  Trying to get from 4.5 (and you didn't mention exactly which 4.5.x) will expectedly require more effort and time than if you were already on 6 or 9 or 10.
    If you are coming from non-web versions (pre-6.0.8), our recommendation is that you stop at Forms 6i (6.0.8) and get your application working here before moving forward.  Major code and any GUI design changes should be done at this level.  The application should be verified to work correctly before continuing.  Following the 6i to 11g Upgrade Guide previously mentioned will make this process a little easier because it will tell you what needs to be changed (if anything).  Once your application complies with the changes mentioned in the Guide, moving from 6 to 11 should be mostly simple.  The biggest issue will be getting users accustomed to the application now that you have gone from a character mode or client/server interface to web.  But since the functionality of the application will be mostly the same, for the users, it will be mostly just about getting used to the app looking different.
    Something else to consider is that there are various organizations that can assist you with the upgrade.  For example Oracle Consulting and Oracle Partners.  These groups often have utilities to help identify the problem areas you mentioned as well as other application analysis tools.

  • 6.1 to 7.0 compatability mode security exception

    I have a 7.0 server in compatability mode with a client which obtains
    contexts to both
    servers and attempts to execute beans on both servers.
    However in certain cases I get the following exception
    Anyone seen this.
    I do have a support case open.
    Exception on login...
    java.lang.SecurityException: Invalid Subject: principals=[system]
    Start server side stack trace:
    java.lang.SecurityException: Invalid Subject: principals=[system]
    at
    weblogic.security.service.SecurityServiceManager.seal(SecurityService
    Manager.java:943)
    at
    weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.ja
    va:147)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:309)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    at
    weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundR
    equest.java:85)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:262)
    at
    weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
    ef.java:229)
    at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
    at $Proxy1.getHomeHandle(Unknown Source)
    at com.tfn.autex.util.Service.getHome(Service.java:146)
    at
    com.tfn.autex.util.ServiceLocator.getService(ServiceLocator.java:89)
    at
    com.tfn.autex.connection.WLInstance.getFixSessionBean(WLInstance.java
    :330)
    at
    com.tfn.autex.connection.WLInstance.loginConnection(WLInstance.java:4
    76)
    at
    com.tfn.autex.connection.HostConnectionImpl.loginConnection(HostConne
    ctionImpl.java:496)
    at
    com.tfn.autex.TestClient.FixDriverTest.login(FixDriverTest.java:106)
    at
    com.tfn.autex.TestClient.FixDriverTest.main(FixDriverTest.java:312)
    Invalid Subject: principals=[system]
    Start server side stack trace:
    java.lang.SecurityException: Invalid Subject: principals=[system]
    at
    weblogic.security.service.SecurityServiceManager.seal(SecurityService
    Manager.java:943)
    at
    weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.ja
    va:147)
    at
    weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:309)
    at
    weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    End server side stack trace
    Terminate batch job (Y/N)? y
    C:\projects\jcvs\its\java\3.1-75>'

    Hard to say without more information. I'd start by taking some simple
    timing checks or profiles on both the 6.x and 7.0 servers and comparing.
    It'd be helpful to get a general idea which area of the system is
    slower (ie is it in the web tier, ejbs, accessing the 3rd party data etc.)
    -- Rob
    Tony Heiderscheidt wrote:
    We are migrating an exsiting application from WLS 6.1 to WLS 7.0 SP1. Performance degraded significantly with only this change. Is there anything obvious or identified as to why when all other things remain constant that this Upgrade would cause such an impact.
    The application basically takes a http transaction, invokes an EJB, the EJB uses RAR's for access to 3rd party data.
    Environment:
    OS - HP Tru64 5.1a
    JVM - Java Fast VM (1.3.1-2)
    WLS version - WLS 7.0 SP1
    We can upgrade to the latest JVM from HP and maybe increase performance however that only masks the issue and doesn't correct or identify the problem.

  • How to set Compatibility Mode for a single site in ie10

    This question was originally posted on the Answers forum -
    http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/how-to-set-compatibility-mode-for-a-single-site-in/187152e3-142a-4d96-8d1b-af82ef571eec
    I am having problem with getting ie10 to set ie9 compatibility for a single site (sharepoint.contoso.com).
    When I add this website in Compatibility View Settings (Alt > Tools > Compatibility View Settings > 'Add this Website') it adds the domain 'contoso.com' and not the individual website (sharepoint.contoso.com).
    This cause other sites (www.contoso.com) to be configured to use compatibility mode. Because this is a separate site (different web server) to the site sharepoint.contoso.com (sharepoint 2010 server) we need different compatibility settings.
    Using a different example to explain the issue -
    Microsoft has three websites that are different websites created by different developers written in different programming languages and they only work with certain browsers.
    microsoft.com (Website1 created by Developer1) - compatible with ie8/ie9/ie10
    msdn.microsoft.com (Website2 created by Developer2) - compatible with ie8/ie9
    technet.microsoft.com (Website3 website created by Developer3) - compatible only with ie10
    The only thing the three website share is the URL contains 'microsoft.com'.
    Marking 'msdn.microsoft.com' to run in compatibility mode affects the other 2 websites - mainly technet.microsoft.com which will not work now since it only runs in pure ie10 mode. 
    Should you be able to add an individual site to the compatibility list instead of all sites that have  .microsoft.com in the URL? Am I missing a simple setting in the ie10?
    As a workaround I am using the F12 Developer Tools to set the Browser Mode which temporary sets the compatibility mode. However this is not a nice solution to the end users at our organisation. 

    problem is not solved for non corporate environments...
    You could start your own thread.  Then if you got that answer and it was marked Answered you would have the ability to unmark it.  The OP of this one seems satisfied.  Also note that this is TechNet.  Consumers can get help on Answers
    forums.
    Robert Aldwinckle
    Oh! I wrote it wrong: I should have said: This is not solved for NON-AD environments. No demands what so ever to use Window 7/8 professional in a small corporation or on a big corporation with Island of smaller departments for example offshore.
    The problem is that the thread is not "Answered" by the OP, its is marked answered by a moderator (and same moderator that did the answer) so no way of telling if the OP is satisfied.
    But you are right in the fact that I am almost kidnapping the thread. But a complete answer would benefit all in this case I would presume.
    Regards
    /Aldus

  • As a follow up from my recent question, I turned off the compatibility mode under all and regular, clicked out ok, ok then then went to itunes and played a song as they said to, and then tried to open the store and STILL CANNOT OPEN STORE, please Help!!!

    Turning off the compatibility mode by deselecting the check box under each thing that it wants did nothing for my access to the itunes store, still a white page with "itunes store" in the middle of it.  This is getting rediculous! Someone with computer smarts please help, I am at the end of my rope!

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • TS3299 opticals drive disappeared in my Windows 8 computer.   After  1-1/2 on the phone this was corrected but now my Itunes don't  recognize the drive.  Error message stating registry errors.  I tried   running in windows 7 compatibility mode that don't

    Purchased a new Ipad for my wife and integrated it with my windows 7 system and Itunes and made it through.  Was able to sync and bring pictures, contacts and bookmarks over.  Not to say it was easy because I never used any Apple product except my Ipad and Itunes.  Really enjoyed using the Ipad and was thinking of getting a new Iphone this week being my contract is up.
    Then the trouble began I bought a new windows 8 system after having trouble with my old hard drive.  I have finances and Tax programs I use that I thought would be easier to continue using windows rather than trying integrating past years Quicken & Turbo Tax information into a new Apple system.
    Well now I'm sorry I bought the new windows 8 system.  First all my optical drives disappeared when installing itunes.  After spending 1-1/2 on the phone with a service rep and finally was able to see my optical drive I thought everything was OK.  Then more trouble.  When I open Itunes I receive an error message that says my Itunes no longer recognizes my optical drive try reinstalling.  I reinstalled 10 times and tried compatibility mode and the end result is my Itunes no longer could burn Cd's.  I had this problem if I'm not mistaken in the past with ME system back many years ago.  And did not want to go through this again but here I am disgusted once again.

    I finally got my nano working (no thanks to Apple, hmpf!) and it's running fine with 1.0.2 now. For those with similiar problems try this:
    +For Mac, you need to:+
    +1. Downgrade to firmware 1.0.1 by deleting the files iPod_26.1.0.2.ipsw and iPod_26.1.0.2.ipsw.signature (are in the folder iPod software updates somewhere on the harddisk)+
    +2. under Settings in iTunes you have to disable automatic download of updates, then restart iTunes.+
    +3. Enter Disc Mode by holding menu & select for about ten seconds, then pressing play/pause & select for another ten seconds.+
    +4. reconnect your nano to Reset, and when iTunes prompts to update, just don't allow it to look for updates and then reset with fw 1.0.1.+
    I'm supriced Apple support didn't tell me about this? This worked great and is a very fast fix. I can't believe Apple got me to reinstall the whole OS, which didn't even solve it btw. USB 1, blah! Yeah right..
    Message was edited by: swingindh

  • Firefox will not open unless I run it in compatibility mode (Windows XP SP 3), run it as an administrator, or launch it immediately after a reinstall (the reinstall thing only works once.) How do I fix this?

    This morning, Firefox crashed. After this, when I click the Firefox icon, the hourglass appears and then nothing happens. Firefox does briefly appear in the task manager when I do this.
    I tried rebooting. I tried reinstalling multiple times. (Firefox will run when I select "Launch Firefox" from the installer. Then the problem occurs again.) I tried safe mode. I have found that Firefox will work if I select Windows XP compatibility mode from the icon properties menu or if I run the program as an administrator. When I do this, Windows asks me if I want a program to be able to make changes to my computer.
    I have noticed that a Windows Error Report is being generated each time Firefox will not open.

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • How to set Compatibility mode of an EXE file???

    Hi,
    I'm in a bit of a pickle, got a problem with an EXE which we need to set to "Windows 2000 Compatibility Mode" using a script.
    I need to update an existing .exe file on several hundred computers, and was planning on using Group Policy to run a VBscript on login to change the properties on that .exe file so that its in 2000 compatibility mode.
    Can anyone help me knock up a quick vbsript to do this please. I've spent some time looking, but no articles on setting the compatibilty attribute of exe files.

    Hi, you can set compatibility mode via the registry for all users under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    Create a REG_SZ value under this key with a name of the path to your exe, for example "C:\Apps\Myprog.exe" and then the value will be "WIN2000".
    You can script this by running regedit.exe to apply an exported .reg file, or to run reg.exe to create the values by running something like:
    REG.EXE ADD HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers /v "C:\Apps\Myprog.exe" /t REG_SZ /d "WIN2000" /f
    or you could use StdRegProv, see here.
    Hope this helps,
    Rob

  • Charts in Flex 3 compatibility mode are hosed

    I spent an 11 hour day struggling to get a LineChart working in Flex 3 compatibility mode that worked fine otherwise. I encountered a multitude of problems, spent hours tracing through Flex code, and finally have something almost working except for minor details like the horizontal axis insists on displaying on the top only (and the vertical on the right) even if I use the axis renderer placement tags to specify otherwise (and with any other values except "bottom" and "left" the data does not draw properly!). To give you a feeling for what I learned, a major breakthrough was setting gutters explicitly (the data points were calculated as NaN otherwise).
    If someone could suggest what might need setting to get the axes to display where I want them to I will be very grateful.
    To summarize -- LineCharts appear to be badly broken in Flex 3 compatibility mode.
    If an Adobe developer would like to verify, here is my source, including an example of the data I'm using. I posted earlier today wondering what the situation is and give some more details there.
    Thanks, Peter ([email protected])
    <?xml version="1.0"?>
    <!-- charts/BasicLine.mxml -->
    <mx:Application
        xmlns:mx="http://www.adobe.com/2006/mxml"
        xmlns:bwc="*"
        creationComplete="initialization()"
        width="1200" height="800" layout="absolute" >       
        <mx:Label id="titleLabel" x="30" y="10" text="Progress Chart for " fontSize="16" />
        <!--mx:Label id="measureLabel" x="688" y="25" text="Measure:" fontSize="12" width="67"/-->
        <mx:ComboBox id="measureCombo" x="300" y="14" width="300" dataProvider="{patientMeasureNames}"
                     editable="false" change="loadPatientData()" />   
        <mx:SolidColorStroke id="axisStroke"
                             color="#000000"
                             weight="2"
                             alpha="1"
                             caps="square" />
        <mx:SolidColorStroke id="tickStroke"
                             color="#000000"
                             weight="1"
                             alpha="1" />
        <mx:SolidColorStroke id="minorTickStroke"
                             color="#000000"
                             weight="1"
                             alpha="1" />
        <mx:SolidColorStroke id="dataStroke"
                             color="0x11538C"
                             weight="3"
                             alpha="1" />
        <mx:Canvas id="chartCanvas" x="30" y="50" width="600" height="500" borderStyle="solid" >
            <mx:LineChart id="progressChart" x="10" y="10" width="550" height="450"
                          dataProvider="{patientData}"
                          showDataTips="true"     
                          horizontalAxisStyleNames="{styleNames}" verticalAxisStyleNames="{styleNames}"
                          gutterBottom="10" gutterLeft="10" gutterRight="10" gutterTop="10" gridLinesStyleName=""
                          >
                <mx:annotationElements>
                    <mx:CartesianDataCanvas id="annotationCanvas" includeInRanges="true"  width="800" height="400"/>
                </mx:annotationElements>
                <mx:horizontalAxis>
                    <mx:DateTimeAxis id="hAxis" parseFunction="makeDateFromString"
                                     alignLabelsToUnits="true" displayLocalTime="true"
                                     title="" labelFunction="formatDateLabel" maximum="{maxDate}"
                                      /> <!--  -->
                </mx:horizontalAxis>
                <mx:verticalAxis>
                    <mx:LinearAxis id="vAxis" interval="1" maximum="{this.maxValue}" title="" /> <!--  -->
                </mx:verticalAxis>
                <mx:series>
                    <bwc:BwcLineSeries xField="date" yField="value" displayName="(measure)" stroke="{dataStroke}"
                                   itemRenderer="mx.charts.renderers.CircleItemRenderer"
                                   lineSegmentRenderer="mx.charts.renderers.LineRenderer"
                                    width="700" height="350" lineStroke="{dataStroke}" radius="4"
                                   >
                    </bwc:BwcLineSeries>               
                </mx:series>
                <mx:seriesFilters>
                    <mx:Array/>
                </mx:seriesFilters>
                <mx:horizontalAxisRenderers>
                    <mx:AxisRenderer axis="{hAxis}"
                                     axisStroke="{axisStroke}" tickStroke="{tickStroke}" minorTickStroke="{minorTickStroke}"
                                     showLine="true" showLabels="true" labelRenderer="mx.charts.chartClasses.ChartLabel"
                                     placement="bottom" tickPlacement="cross" tickLength="5" fontSize="12"
                                     />
                </mx:horizontalAxisRenderers>           
                <mx:verticalAxisRenderers>
                    <mx:AxisRenderer axis="{vAxis}"
                                     axisStroke="{axisStroke}" tickStroke="{tickStroke}" minorTickStroke="{minorTickStroke}"
                                     showLine="true" showLabels="true" labelRenderer="mx.charts.chartClasses.ChartLabel"
                                     placement="left" tickPlacement="cross" tickLength="5" fontSize="12"
                                     />
                </mx:verticalAxisRenderers>
            </mx:LineChart>
            <!--mx:Legend id="chartLegend"
                       x="20" y="{chartCanvas.height - chartLegend.height - 20}"
                       dataProvider="{progressChart}" /-->
        </mx:Canvas>
        <mx:Script>
            <![CDATA[
                import com.bewellcommunication.pvg.model.BackendService;
                import com.bewellcommunication.pvg.model.Utilities;
                import flash.events.TimerEvent;
                import mx.charts.chartClasses.IAxis;
                import mx.charts.series.items.LineSeriesItem;
                import mx.collections.ArrayCollection;
                import mx.collections.XMLListCollection;
                import mx.controls.RadioButton;
                import mx.controls.RadioButtonGroup;
                import mx.rpc.events.ResultEvent;
                [Bindable]
                private var patientMeasureNames:ArrayCollection;
                private var patientMeasureIds:Array;
                private var dataVideoIds:Array;
                private var videoButtons:Array;
                [Bindable]
                private var patientData:XMLListCollection;
                [Bindable]
                private var maxDate:Date;
                [Bindable]
                private var maxValue:Number;
                [Bindable]
                private var styleNames:Array = new Array("axisStroke");
                private function initialization():void
                    var service:BackendService = new BackendService();
                    var xml:String = "<LoadPatientMeasures>"
                        + "\n<clientId>" + 2 + "</clientId>"
                        + "\n</LoadPatientMeasures>";
                    service.request(xml, loadPatientMeasuresFinish);
                public function loadPatientMeasuresFinish(re:ResultEvent):void
                    var xmlResult:XML = XML(re.result.valueOf().toString());
                    var error:String = xmlResult.error;
                    if (error != null && error != "")                   
                        trace(xmlResult.error + "Problem loading patient measures");        // PENDING: bwcAlert
                    else
                        this.patientMeasureNames = new ArrayCollection();
                        this.patientMeasureNames.addItem("(Select measure)");
                        this.patientMeasureIds = new Array();
                        this.patientMeasureIds.push(0);
                        var xmlMeasures:XMLList = xmlResult.measures.children();
                        for each (var xmlMeasure:Object in xmlMeasures)
                            this.patientMeasureIds.push(Number(xmlMeasure.measureId));
                            var name:String = xmlMeasure.measureName;                        // PENDING: utils.makeSafe()
                            this.patientMeasureNames.addItem(name);       
                public function loadPatientData():void
                    var measureIndex:int = this.measureCombo.selectedIndex;
                    if (measureIndex < 1)
                        return;
                    var service:BackendService = new BackendService();
                    var xml:String = "<LoadPatientData>"
                        + "\n<clientId>" + 2 + "</clientId>"
                        + "\n<measureId>" + this.patientMeasureIds[measureIndex] + "</measureId>"
                        + "\n</LoadPatientData>";
                    service.request(xml, loadPatientDataFinish);               
                public function loadPatientDataFinish(re:ResultEvent):void
                    var xmlResult:XML = XML(re.result.valueOf().toString());
                    var error:String = xmlResult.error;
                    if (error != null && error != "")                   
                        trace(xmlResult.error + "Problem loading patient data");        // PENDING: bwcAlert
                    else
                        // re-initialize
                        this.annotationCanvas.removeAllChildren();                   
                        // set data for graphing
                        this.patientData = new XMLListCollection(xmlResult.results.result);
                        this.dataVideoIds = new Array();
                        // calculate mins and maximums for axis spacing
                        var xmlResults:XMLList = xmlResult.results.children();
                        var minDate:Number = Number.MAX_VALUE;
                        var maxDate:Number = Number.MIN_VALUE;
                        var minVal:Number = Number.MAX_VALUE;
                        var maxVal:Number = Number.MIN_VALUE;
                        for each (var result:Object in xmlResults)
                            var date:Number = Number(result.date);
                            var val:Number = Number(result.value);
                            if (!isNaN(val))
                                if (date < minDate)
                                    minDate = date;
                                if (date > maxDate)
                                    maxDate = date;
                                if (val < minVal)
                                    minVal = val;
                                if (val > maxVal)
                                    maxVal = val;
                            // also store the video id
                            var videoId:Number = Number(result.videoId);
                            this.dataVideoIds.push(videoId);
                        // set scale max for each axis
                        this.maxDate = new Date(maxDate + ((maxDate - minDate) * 0.1));
                        this.maxValue = maxVal * 1.1;
                        // draw links to videos
                        var utils:Utilities = new Utilities();
                        utils.relinquishThenFinish(drawLinksToVideos, 500);
                private function drawLinksToVideos(e:TimerEvent):void
                    var rect:Rectangle = new Rectangle(0, 0, 99999, 99999);        // get all items
                    var items:Array = this.progressChart.getItemsInRegion(rect);
                    var i:int;
                    var rbg:RadioButtonGroup = new RadioButtonGroup(this.annotationCanvas);
                    this.videoButtons = new Array();
                    for (i = 0; i < items.length; i++)
                        var liveButton:RadioButton = null;
                        if (this.dataVideoIds[i] > 0)
                            var item:LineSeriesItem = items[i];
                            var radio:RadioButton = new RadioButton();
                            radio.group = rbg;
                            liveButton = radio;
                            radio.addEventListener(Event.CHANGE, loadAndPlayVideo);
                            this.annotationCanvas.addDataChild(radio, item.xValue, item.yValue);
                        this.videoButtons.push(liveButton);    // one for each item
                private function loadAndPlayVideo(e:Event):void
                    var utils:Utilities = new Utilities();
                    utils.relinquishThenFinish(finishLoadAndPlayVideo);
                private function finishLoadAndPlayVideo(e:TimerEvent):void
                    // identify video to play
                    var i:int;
                    var target:int = -1;
                    for (i=0; target == -1 && i < this.videoButtons.length; i++)
                        var radio:RadioButton = this.videoButtons[i] as RadioButton;
                        if (radio != null && radio.selected)
                            target = i;
                    // play video
                    if (target > -1)
                        trace("play video: index=" + target + " id=" + this.dataVideoIds[target]);
                private function makeDateFromString(dateStr:String):Date
                    var dateNum:Number = Number(dateStr);
                    var date:Date = new Date(dateNum);
                    trace("date=" + date.toLocaleString());
                    return date;
                private function formatDateLabel(cur:Date, prev:Date, axis:IAxis):String
                    var label:String = cur.month + "/" + cur.date + " " + cur.hours + ":" + cur.minutes;
                    return label;
            ]]>
        </mx:Script>
    </mx:Application>
    package
        import mx.charts.series.LineSeries;
        public class BwcLineSeries extends LineSeries
            public function BwcLineSeries()
                super();
            override protected function updateDisplayList(unscaledWidth:Number,
                                                          unscaledHeight:Number):void
                var useWidth:Number = unscaledWidth;
                var useHeight:Number = unscaledHeight;
                /*if (isNaN(useWidth))
                    useWidth = 745.5;
                    useHeight = 365;
                super.updateDisplayList(useWidth, useHeight);
    <data>
      <measure/>
      <results>
        <result>
          <date>1276613823585</date>
          <value>180.0</value>
          <videoId>0</videoId>
        </result>
        <result>
          <date>1276613923383</date>
          <value>170.0</value>
          <videoId>0</videoId>
        </result>
        <result>
          <date>1276614556024</date>
          <value>210.0</value>
          <videoId>0</videoId>
        </result>
        <result>
          <date>1276628450502</date>
          <value>150.0</value>
          <videoId>104</videoId>
        </result>
        <result>
          <date>1276628667114</date>
          <value>180.0</value>
          <videoId>106</videoId>
        </result>
      </results>
    </data>

    @Jason Villmer,
    I believe the issue you're describing is http://bugs.adobe.com/jira/browse/SDK-26940.
    There is a workaround listed in the bug report which should work (based on my testing), or you could probably set the direction and layoutDirection styles globally using a Style block.
    Peter

  • I cannot sync Outlook 2010 to iphone unless I run in compatibility mode?

    Since upgrading to iTunes 10. (curently at 10.5.3.3), my iphone has not synced properly unless I run in Windows XP service pack 2 compatibility mode.
    I have tried all of the suggestions on the boards and still have the problem. Is there anyone at Apple who can solve this?
    See 38 pages of https://discussions.apple.com/message/17494628#17494628 , which I used along with the Apple Support FAQ's. However, problem is still the same.
    Any new ideas anyone?
    Anthony

    I've now got iTunes 11.0.0.163 and this issue is still there. I can only sync with outlook in compatibility mode, which suggest there is a problem somewhere with the Win 7 MS files. I have done everything on these forums to find a efix. I get no error messages it's just the calendar and contacts do not get updated.
    ANY HELP ???

  • Install DeskJet 720C in compatibility mode in Windows 8.1

    Hi
    I have a Deskjet 720C than work fine on my Window 7 64 bit system.
    Now I want to use it on a Windows 8.1 64 bit system.
    The driver installed with Windows Update does not work.
    Can I install it in compatibility mode?
    How do I do that?
    There is no driver installation file that I can set into compatibility mode, but only the Window Update way of getting the driver.
    What do I do?
    Jens

    The Deskjet 720c driver does not work in Windows 8.1 x64 and there is currently not any workaround that I know of.  The 32 bit version of the driver will work in 32 bit Windows 8 or 8.1 systems.  The patch available here for 64 bit versions of Vista and Windows 7 does not work in Windows 8 or 8.1.  I would suggest you subscribe to that thread, if any workaround is developed it would be posted there.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

Maybe you are looking for