ItemEditEnd hell - event fires gazillion times

Well I was making great progress with my first major flex app when I hit a wall. The last element I put in place was to enable user to edit one column in a datagrid. Before I send the changes back to a web service I thought I would confirm that it is firing correctly and passing correct values. To my surprise the event fires over and over again. I believe its something to do with the use of the accordian and multiple canvases. Sorry but this is happening on both flex 3 and 4 platforms (its worse in 4 for some reason). I have not had a chance to scale down the project and simply it so apologies if the code is lenghty.
Any ideas how to solve this?
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
               creationPolicy= "all">
    <fx:Declarations>
            <mx:WebService
            id="nwCL2"
            wsdl="http://finance-web/BannerWebServices/BannerService.asmx?WSDL">
            <mx:operation name="FetchRequestAsTableToArray"
                          resultFormat="object"
                          showBusyCursor="true"
                          result="resultHandler(event)"
                          fault="onFault(event)">
                <mx:request>
                    <IncRecItems>{IncRecItems}</IncRecItems>
                    <PmyGUID>{myGUID}</PmyGUID>
                    <AgeItems>{AgeItems}</AgeItems>
                </mx:request>
            </mx:operation>
        </mx:WebService>
        <mx:WebService
            id="nwCL3"
            wsdl="http://finance-web/BannerWebServices/BannerService.asmx?WSDL">
            <mx:operation name="FetchDirectPOAsTableToArray"
                          resultFormat="object"
                          showBusyCursor="true"
                          result="resultHandler3(event)"
                          fault="onFault(event)">
                <mx:request>
                    <IncRecItems>{IncRecItems}</IncRecItems>
                    <AgeItems>{AgeItems2}</AgeItems>
                    <PmyGUID>{myGUID}</PmyGUID>
                </mx:request>
            </mx:operation>
        </mx:WebService>
        <mx:WebService
            id="nwCL4"
            wsdl="http://finance-web/BannerWebServices/BannerService.asmx?WSDL">
            <mx:operation name="FetchDirectPODELAsTableToArray"
                          resultFormat="object"
                          showBusyCursor="true"
                          result="resultHandler4(event)"
                          fault="onFault(event)">
                <mx:request>
                    <PmyGUID>{myGUID}</PmyGUID>
                </mx:request>
            </mx:operation>
        </mx:WebService>
        <mx:WebService
            id="nwCL5"
            wsdl="http://finance-web/BannerWebServices/BannerService.asmx?WSDL">
            <mx:operation name="SendMailMessage"
                          resultFormat="object"
                          showBusyCursor="true"
                          result="resultHandler5(event)"
                          fault="onFault(event)">
                <mx:request>
                    <PmyGUID>{myGUID}</PmyGUID>
                    <from>
                        {from}
                    </from>
                    <recepient>
                        {recepient}
                    </recepient>
                    <bcc>
                        {bcc}
                    </bcc>
                    <cc>
                        {cc}
                    </cc>
                    <subject>
                        {subject}
                    </subject>
                    <body>
                        {myEmailBody}
                    </body>
                    <CallProc>
                        {CallProc}
                    </CallProc>
                </mx:request>
            </mx:operation>
        </mx:WebService>
        <mx:WebService
            id="nwCL6"
            wsdl="http://finance-web/BannerWebServices/BannerService.asmx?WSDL">
            <mx:operation name="InsRecordFYPOAUD"
                          resultFormat="object"
                          showBusyCursor="true"
                          result="resultHandler6(event)"
                          fault="onFault(event)">
                <mx:request>
                    <PmyGUID>{myGUID}</PmyGUID>
                    <myuserID>{myuserID}</myuserID>
                    <DocCode>{DocCode}</DocCode>
                </mx:request>
            </mx:operation>
            <mx:operation name="DelRecordFYPOAUD"
                          resultFormat="object"
                          showBusyCursor="true"
                          result="resultHandler6(event)"
                          fault="onFault(event)">
                <mx:request>
                    <PmyGUID>{myGUID}</PmyGUID>
                    <DocCode>{DocCode}</DocCode>
                </mx:request>
            </mx:operation>
            <mx:operation name="FetchUserID"
                          resultFormat="object"
                          showBusyCursor="true"
                          result="resultHandler7(event)"
                          fault="onFault(event)">
                <mx:request>
                    <PmyGUID>{myGUID}</PmyGUID>
                </mx:request>
            </mx:operation>
            <mx:operation name="InsGUIDAudit"
                          resultFormat="object"
                          showBusyCursor="true"
                          result="resultHandler8(event)"
                          fault="onFault(event)">
                <mx:request>
                    <PmyGUID>{myGUID}</PmyGUID>
                </mx:request>
            </mx:operation>
        </mx:WebService>
        </fx:Declarations>
    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
            import mx.collections.IViewCursor;
            import mx.controls.Alert;
            import mx.controls.ToolTip;
            import mx.controls.dataGridClasses.DataGridColumn;
            import mx.controls.dataGridClasses.DataGridItemRenderer;
            import mx.core.mx_internal;
            import mx.events.DataGridEvent;
            import mx.events.ListEvent;
            import mx.rpc.events.FaultEvent;
            import mx.rpc.events.ResultEvent;
            //added after upgrading to flex 4
            import mx.core.FlexGlobals;
            import mx.controls.RichTextEditor
            //import flash.events.Event;
            [Bindable] public var IncRecItems:String;
            [Bindable] public var myGUID:String;
            [Bindable] public var myData:ArrayCollection;
            [Bindable]public var serverData:ArrayCollection; 
            [Bindable]public var serverData3:ArrayCollection;
            [Bindable]public var serverData4:ArrayCollection;
            [Bindable]public var serverData5:ArrayCollection;    
            [Bindable] public var IncRecItems3:String;
            [Bindable] public var from:String;
            [Bindable] public var recepient:String;
            [Bindable] public var bcc:String;
            [Bindable] public var cc:String;
            [Bindable] public var subject:String;
            [Bindable] public var body:String;
            [Bindable] public var CallProc:String;
            [Bindable] public var myEmailBody:String;
            [Bindable] public var myuserID:String;
            [Bindable] public var DocCode:String;
            [Bindable] public var AgeItems:String;
            [Bindable] public var AgeItems2:String;
            [Bindable] public var DocItem:Number;
            [Bindable] public var DocText:String;
            //this adds event listener for mouse over event so I can display descriptive text about various columns values
            //POFromRequest.addEventListener(ListEvent.ITEM_ROLL_OVER, declarePosition);
            //USE ROLLOVER VERSUS MOUSEOVER EVENT AS THE LATTER CAUSES BLINKING
            private function createToolTip(event:ListEvent):void {
            //var col:DataGridColumn = POFromRequest.columns[event.columnIndex];
            //var newValue:String = ArrayCollection(POFromRequest.dataProvider).getItemAt(event.rowIndex)[col.dataField];
            //Alert.show("You are hovering over:" +newValue);
            if (event.columnIndex==13)
            var str:String =  "P-Y=Paid and Completed" + "\r"  + "O-Y=Open and Completed" + "\r"  + "O-R=Open and Unmatched" ;
            //this code works and will fetch active mouse over datagrid values!           
            var col:DataGridColumn = POFromRequest.columns[event.columnIndex];
            var newValue:String = ArrayCollection(POFromRequest.dataProvider).getItemAt(event.rowIndex)[col.dataField];
            //Alert.show("You are hovering over:" +newValue);
            else if (event.columnIndex==21||event.columnIndex==22)
            var col21:DataGridColumn = POFromRequest.columns[21];
            var col22:DataGridColumn = POFromRequest.columns[22];
            var Value21:Number = ArrayCollection(POFromRequest.dataProvider).getItemAt(event.rowIndex)[col21.dataField];
            var Value22:Number = ArrayCollection(POFromRequest.dataProvider).getItemAt(event.rowIndex)[col22.dataField];
            //21=Bal not Rec(BNR);22=Bal not Inv(BNI)
            //evaluate BNR/BNI and give approp message which represents
            //action required by end user (ie they don't have to think!)
            var str:String
            if (Value21>0 && Value22<=0)
            str = "Case1:All invoices sent to AP but we are missing a receiving. Please contact receiving.";
            else if(Value21>0 && Value22>0)
            str = "Case2:We are missing invoices and receiving. Please contact both departments ASAP.";
            else if(Value21<=0 && Value22>0)
            str = "Case3:All receiving completed but we are missing invoices. Please contact AP and forward any invoices to them ASAP.";
            else if(Value21==0 && Value22==0)
            str = "Case4:All documents received. No action required. You can hide these items by clicking/turning off the box:Include Balance of 0 Items? ";
            //var str:String = Value21.toString()+Value22.toString()
            else
            //var str:String = "Row :"  +event.rowIndex + "Column : " +event.columnIndex;
            POFromRequest.toolTip = str;
            private function deleteToolTip(obj:Object):void {
            POFromRequest.toolTip = null;
            //start mouse over code for directPO datagrid
            private function createToolTip2(event:ListEvent):void {
            //var col:DataGridColumn = DirectPOGrid.columns[event.columnIndex];
            //var newValue:String = ArrayCollection(DirectPOGrid.dataProvider).getItemAt(event.rowIndex)[col.dataField];
            //Alert.show("You are hovering over:" +newValue);
            if (event.columnIndex==1)
            var str:String =  "If you know for sure that this item is not yours then highlight item by left clicking, then hit the delete button below. Hold the ctrl key to select multiple items." ;               
            if (event.columnIndex==12)
            var str:String =  "P-Y=Paid and Completed" + "\r"  + "O-Y=Open and Completed" + "\r"  + "O-R=Open and Unmatched" ;
            //this code works and will fetch active mouse over datagrid values!           
            var col:DataGridColumn = DirectPOGrid.columns[event.columnIndex];
            var newValue:String = ArrayCollection(DirectPOGrid.dataProvider).getItemAt(event.rowIndex)[col.dataField];
            //Alert.show("You are hovering over:" +newValue);
            else if (event.columnIndex==20||event.columnIndex==21)
            var col20:DataGridColumn = DirectPOGrid.columns[20];
            var col21:DataGridColumn = DirectPOGrid.columns[21];
            var Value20:Number = ArrayCollection(DirectPOGrid.dataProvider).getItemAt(event.rowIndex)[col20.dataField];
            var Value21:Number = ArrayCollection(DirectPOGrid.dataProvider).getItemAt(event.rowIndex)[col21.dataField];
            //21=Bal not Rec(BNR);22=Bal not Inv(BNI)
            //evaluate BNR/BNI and give approp message which represents
            //action required by end user (ie they don't have to think!)
            var str:String
            if (Value20>0 && Value21<=0)
            str = "Case1:All invoices sent to AP but we are missing a receiving. Please contact receiving.";
            else if(Value20>0 && Value21>0)
            str = "Case2:We are missing invoices and receiving. Please contact both departments ASAP.";
            else if(Value20<=0 && Value21>0)
            str = "Case3:All receiving completed but we are missing invoices. Please contact AP and forward any invoices to them ASAP.";
            else if(Value20==0 && Value21==0)
            str = "Case4:All documents received. No action required. You can hide these items by clicking/turning off the box:Include Balance of 0 Items? ";
            //var str:String = Value21.toString()+Value22.toString()
            else
            //var str:String = "Row :"  +event.rowIndex + "Column : " +event.columnIndex;
            DirectPOGrid.toolTip = str;
            private function deleteToolTip2(obj:Object):void {
            DirectPOGrid.toolTip = null;
            //end tool tip code
            private function GetData():void
            //IncRecItems = "Y"
            //IncRecItems = "Y"
            //myGUID = "d5ef405a-d64a-489f-8583-38dd087de502"
            //var MyurlParams:Dictionary = new Dictionary();
            //MyurlParams = getUrlParamaters();
            //myGUID = MyurlParams['myGUID'];
            nwCL2.FetchRequestAsTableToArray.send();
            private function GetData3():void
            //IncRecItems = "Y"
            //IncRecItems = "Y"
            //myGUID = "d5ef405a-d64a-489f-8583-38dd087de502"
            var MyurlParams:Dictionary = new Dictionary();
            MyurlParams = getUrlParamaters();
            myGUID = MyurlParams['myGUID'];
            nwCL3.FetchDirectPOAsTableToArray.send();
            NotifyDel();
            private function GetData4():void
            //IncRecItems = "Y"
            //IncRecItems = "Y"
            //myGUID = "d5ef405a-d64a-489f-8583-38dd087de502"
            var MyurlParams:Dictionary = new Dictionary();
            MyurlParams = getUrlParamaters();
            myGUID = MyurlParams['myGUID'];
            nwCL4.FetchDirectPODELAsTableToArray.send();
            NotifyStatus();
            public function resultHandler(event:ResultEvent):void {
            serverData = new ArrayCollection(event.result.source);
            //             Alert.show("getdata fired");
            public function resultHandler3(event:ResultEvent):void {
            serverData3 = new ArrayCollection(event.result.source);
            //             Alert.show("getdata fired");
            public function resultHandler4(event:ResultEvent):void {
            serverData4 = new ArrayCollection(event.result.source);
            //             Alert.show("getdata fired");
            public function resultHandler5(event:ResultEvent):void {
            var FunctionResult:String=event.result.toString();
            var Response:String;
            if(FunctionResult != "Success")
            Alert.show("A problem has occurred. " + FunctionResult);
            else
            Alert.show("The email was sent successfully.");
            //             Alert.show("getdata fired");
            public function resultHandler6(event:ResultEvent):void {
            var FunctionResult:String=event.result.toString();
            var Response:String;
            if(FunctionResult != "Success")
            Alert.show("A problem has occurred. " + FunctionResult);
            else
            Alert.show("Item moved.");
            //refresh both datagrids for deleted/ins records
            //need to call diff proc which does the same but does not show the initial message box
            ReloadTables()
            public function resultHandler7(event:ResultEvent):void {
            var FunctionResult:String=event.result.toString();
            if(FunctionResult == "Invalid GUID")
            Alert.show("A problem has occurred. " + FunctionResult);
            else
            myuserID = FunctionResult;
            myGlobVar.globMyUserID = FunctionResult;
            public function resultHandler8(event:ResultEvent):void {
            //we don't really care about handling this event
            var FunctionResult:String=event.result.toString();
            if(FunctionResult == "Invalid GUID")
            Alert.show("A problem has occurred. " + FunctionResult);
            else
            //myuserID = FunctionResult;
            private function initApp():void
            //code for grabing guid passed from .net ldap authentication page
            //this file is located on finance-web box along with guid database.
            //the web service is also located on finance-web
            //and flex source code is on box fin-selement3 but is saved to U and published to finance-web
            //(this is because flex is installed on fin-selement3 only
            //GurfeedTbl = nwCL.FetchFTVACCTAsTable();
            flash.system.Security.allowDomain("*");flash.system.Security.allowInsecureDomain("*");
            //siteData.send();
            //trace("Hello from Flex Debugging!");
            //Alert.show("Init app fired");
            //first get focus of email tab (if we don't then a bug exists;error on object creation)
            //I have tried various techniques for some reason I can't load back to base 0
            //ac.selectedIndex = 3;
            //Alert.show("Please remember to audit documents on all tabssss!");
            //ac.selectedIndex = 1;
            Alert.show("HardCoded GUID in place. Remove after testing")
            myGUID = "c25ef14a-bff4-4e07-bfa5-f9c0725c3fd0";
            //need to set initial value
            AgeItems = "N";
            AgeItems2 = "N";
            myBody.text = "Body";
            //myGUID = "d5ef405a-d64a-489f-8583-38dd087de502"
            //var MyurlParams:Dictionary = new Dictionary();
            //MyurlParams = getUrlParamaters();
            //myGUID = MyurlParams['myGUID'];
            //Alert.show("HardCoded GUID in place. Remove after testing")
            //myGUID = "c25ef14a-bff4-4e07-bfa5-f9c0725c3fd0";
            //insert audit trail record
            nwCL6.InsGUIDAudit.send();
            nwCL6.FetchUserID.send(); //for some reason when this was located inside the proc it was called from it would not
            //set the global variable until after it was required resulting in null error
            //myGlobVar.globMyUserID = myUserID ;
            //Alert.show
            private function checkBoxZero_change(evt:Event):void {
            if(checkBoxZero.selected == true) IncRecItems = "Y" else IncRecItems ="N";
            //Alert.show(IncRecItems.toString())
            GetData() ;
            private function checkBoxAge_change(evt:Event):void {
            //if(checkBoxAge.selected == true) AgeItems = "Y" else AgeItems ="N";
            if(checkBoxAge.selected == true) AgeItems = "N" else AgeItems ="Y";
            GetData() ;
            private function checkBoxAge2_change(evt:Event):void {
            //if(checkBoxAge.selected == true) AgeItems = "Y" else AgeItems ="N";
            if(checkBoxAge2.selected == true) AgeItems2 = "N" else AgeItems2 ="Y";
            GetData3() ;
            private function checkBoxZero3_change(evt:Event):void {
            if(checkBoxZero3.selected == true) IncRecItems3 = "Y" else IncRecItems3 ="N";
            //Alert.show(IncRecItems.toString())
            GetData3() ;
            private function onFault(event:FaultEvent):void {
            Alert.show(event.fault.toString());
            private function RemoveItems():void {
            var selectedItems:Array = DirectPOGrid.selectedItems;
            var listItem:Object;
            if (selectedItems.length < 1)
            Alert.show("You did not highlight any items. Highlight items by left clicking the mouse. To select multiple items, hold the ctrl key down while left clicking.");
            //nwCL6.FetchUserID.send();
            for (var i:int = 0; i < selectedItems.length; i++)
            listItem = selectedItems[i];
            //DirectPOGrid.removeItem(listItem);
            //TargetList.addItem(listItem);
            //var newValue:String = ArrayCollection("selectedItems").getItemAt(i)["PO"];
            var newValue:String = listItem["PO"].toString()
            //Alert.show(newValue);
            DocCode = listItem["PO"].toString()
            //call proc to set userid was not working here as it was getting fired after so I moved it to initapp
            //nwCL6.FetchUserID.send();
            myuserID = myGlobVar.globMyUserID;
            //myUserID = 'testuser';
            nwCL6.InsRecordFYPOAUD.send();
            //Alert.show("doc:"+DocCode+" guid:"+myGUID+"user:"+myGlobVar.globMyUserID);
            //Alert.show(selectedItems[i][PO].toString());
            private function RemoveItems4():void {
            var selectedItems:Array = DirectPOGridNotMine.selectedItems;
            var listItem:Object;
            if (selectedItems.length < 1)
            Alert.show("You did not highlight any items. Highlight items by left clicking the mouse. To select multiple items, hold the ctrl key down while left clicking.");
            for (var i:int = 0; i < selectedItems.length; i++)
            listItem = selectedItems[i];
            //DirectPOGrid.removeItem(listItem);
            //TargetList.addItem(listItem);
            //var newValue:String = ArrayCollection("selectedItems").getItemAt(i)["PO"];
            var newValue:String = listItem["PO"].toString()
            //Alert.show(newValue);
            //Alert.show(selectedItems[i][PO].toString());
            DocCode = listItem["PO"].toString()
            //myGUID = "d5ef405a-d64a-489f-8583-38dd087de502"
            nwCL6.DelRecordFYPOAUD.send();
            private function NotifyDel():void {
            Alert.show("These PO's were not created from requests and we are only guessing that they might belong to you. If you don't want to see specific PO's then you can remove them. This is done by highlighting items (left clicking on row), then clicking the delete button below. Hold the ctrl key to select multiple items.") ;   
            private function NotifyStatus():void {
            Alert.show("These PO's were not created from requests and are displayed here because you have marked them as not belonging to you. If you have accidentally deleted these and they really belong to you then hit the delete button below to reactivate them.") ;   
            private function POSendEmailAP():void {
            var selectedItems:Array = POFromRequest.selectedItems;
            var listItem:Object;
            var newValue:String;
            var ValEmailTO:String = "[email protected],[email protected]";
            var myString:String;
            var txtBody:String;
            var num:int;
            if (selectedItems.length < 1)
            Alert.show("You did not highlight any items. Highlight items by left clicking the mouse. To select multiple items, hold the ctrl key down while left clicking.");
            // emailTO.text = ValEmailTO ;
            txtBody = myBody.text.toString()
            for (var i:int = 0; i < selectedItems.length; i++)
            listItem = selectedItems[i];
            //DirectPOGrid.removeItem(listItem);
            //TargetList.addItem(listItem);
            //var newValue:String = ArrayCollection("selectedItems").getItemAt(i)["PO"];
            newValue = listItem["PO"].toString();
            //Alert.show(newValue);
            emailTO.text = ValEmailTO;
            if (emailSUBJECT.text.toString()=="subject")
            emailSUBJECT.text = newValue ;   
            else
            if (emailSUBJECT.text.indexOf(newValue,0)<0)//this ensures that we only show distinct PO values
            emailSUBJECT.text = emailSUBJECT.text.toString()+"/"+newValue ;   
            //code for email body
            if (txtBody=="Body")
            txtBody = "Dear AP/Receiving:" + "\r" + "\r" + "Please note that I have received the following items directly from the vendor(s): " + "\r" + "\r" + listItem["PO"].toString() + " POItem:" + listItem["POItem"].toString() + " " + listItem["CMDDESC"].toString()  + " " + "QTYRCVD:" + listItem["BALNOTRECD"].toString() + " ";
            else
            txtBody = txtBody + "\r" + listItem["PO"].toString() + " POItem:" + listItem["POItem"].toString() + " " + listItem["CMDDESC"].toString()  + " " + "QTYRCVD:" + listItem["BALNOTRECD"].toString() + " ";   
            myBody.text = txtBody;
            //public variable for sending body text to email service in correct format
            //body = txtBody;
            Alert.show("Items copied to email tab.");
            POFromRequest.selectedIndex=-1;
            private function POSendEmailAPDirectStuff():void {
            var selectedItems:Array = DirectPOGrid.selectedItems;
            var listItem:Object;
            var newValue:String;
            var ValEmailTO:String = "[email protected],[email protected]";
            var myString:String;
            var txtBody:String;
            if (selectedItems.length < 1)
            Alert.show("You did not highlight any items. Highlight items by left clicking the mouse. To select multiple items, hold the ctrl key down while left clicking.");
            // emailTO.text = ValEmailTO ;
            txtBody = myBody.text.toString()
            for (var i:int = 0; i < selectedItems.length; i++)
            listItem = selectedItems[i];
            //DirectPOGrid.removeItem(listItem);
            //TargetList.addItem(listItem);
            //var newValue:String = ArrayCollection("selectedItems").getItemAt(i)["PO"];
            newValue = listItem["PO"].toString();
            //Alert.show(newValue);
            emailTO.text = ValEmailTO;
            if (emailSUBJECT.text.toString()=="subject")
            emailSUBJECT.text = newValue ;   
            else
            if (emailSUBJECT.text.indexOf(newValue,0)<0)//this ensures that we only show distinct PO values
            emailSUBJECT.text = emailSUBJECT.text.toString()+"/"+newValue ;   
            //code for email body
            if (txtBody=="Body")
            txtBody = "Dear AP/Receiving:" + "\r" + "\r" + "Please note that I have received the following items directly from the vendor(s): " + "\r" + "\r" + listItem["PO"].toString() + " POItem:" + listItem["POItem"].toString() + " " + listItem["CMDDESC"].toString()  + " " + "QTYRCVD:" + listItem["BALNOTRECD"].toString() + " ";
            else
            txtBody = txtBody + "\r" + listItem["PO"].toString() + " POItem:" + listItem["POItem"].toString() + " " + listItem["CMDDESC"].toString()  + " " + "QTYRCVD:" + listItem["BALNOTRECD"].toString() + " ";   
            myBody.text = txtBody;
            Alert.show("Items copied to email tab.");
            DirectPOGrid.selectedIndex=-1;
            private function ClearEmail():void {
            myBody.text = "Body";
            emailSUBJECT.text = "Subject";
            private function SEmail():void {
            //hardcode until we fetch via guid
            //Alert.show("Insert code to fetch username from guid. For now its hard coded.");
            CallProc = "FLEX"; //This notifies web service so it parses out \r to <p>
            //from = "[email protected]"
            var MyurlParams:Dictionary = new Dictionary();
            MyurlParams = getUrlParamaters();
            myGUID = MyurlParams['myGUID'];
            //myGUID = "c25ef14a-bff4-4e07-bfa5-f9c0725c3fd0";
            //from = myuserID+"@aus.edu";
            from = myGlobVar.globMyUserID+"@aus.edu";
            recepient =  emailTO.text.toString();
            cc = emailCC.text.toString();
            bcc = "[email protected]"
            subject = emailSUBJECT.text.toString();   
            //var stuffToReplace:RegExp = /\r\n|\n\r/g;
            //the key to this function is the /g means global and means to replace ALL instances of search variable!!!
            var stuffToReplace:RegExp = /\r/g;
            //myEmailBody = myEmailBody.replace("\r","*123");
            myEmailBody = myBody.text.replace(stuffToReplace,"*123*");
            //myEmailBody = myBody.text.replace("\r","*\r").toString();
            //myEmailBody = myBody.text ;
            //myEmailBody.replace("\r","*\r");
            //myGUID = "d5ef405a-d64a-489f-8583-38dd087de502"
            nwCL5.SendMailMessage.send();
            private function ReloadTables():void
            //myGUID = "d5ef405a-d64a-489f-8583-38dd087de502"
            nwCL4.FetchDirectPODELAsTableToArray.send();
            nwCL3.FetchDirectPOAsTableToArray.send();    
            private function getUrlParamaters():Dictionary
            var urlParams:Dictionary = new Dictionary();
            if (ExternalInterface.available)
            var fullUrl:String = ExternalInterface.call('eval', 'document.location.href');
            var paramStr:String = fullUrl.split('?')[1];
            if (paramStr != null)
            var params:Array = paramStr.split('&');
            for (var i:int=0; i < params.length; i++)
            var kv:Array = params[i].split('=');
            urlParams[kv[0]] = kv[1];
            else
                urlParams = FlexGlobals.topLevelApplication.parameters;
            //urlParams = Application.application.parameters;
                //urlParams = sparks.components.application.parameters;
            return urlParams;
            private function RefData(event:DataGridEvent):void {
                var dataGrid:DataGrid = event.target as DataGrid;
                var dsColumnIndex:Number = event.columnIndex;
                var col:DataGridColumn = dataGrid.columns[dsColumnIndex];
                var colPO:DataGridColumn = dataGrid.columns[1];
                var colPOItem:DataGridColumn = dataGrid.columns[5];
                var colNotes:DataGridColumn = dataGrid.columns[23];
                var newValue:String = dataGrid.itemEditorInstance[col.editorDataField];
                var newValue2:String = dataGrid.itemEditorInstance[colNotes.editorDataField];   
                var dbval:String;
                var dbvalLen:Number;
                DocCode = ArrayCollection(POFromRequest.dataProvider).getItemAt(event.rowIndex)[colPO.dataField];
                DocItem = ArrayCollection(POFromRequest.dataProvider).getItemAt(event.rowIndex)[colPOItem.dataField ];
                dbval = ArrayCollection(POFromRequest.dataProvider).getItemAt(event.rowIndex)[col.dataField];
                if (dbval.length != null)
                dbvalLen = dbval.length;
                else
                dbvalLen = 0;
                //Alert.show("key=" +myGlobVar.KeyPress)
                if (newValue2.substr(0,3)!='P00') //this is silly code that is necessary until I sort the whole problem of audit note Dec 2010
                    //When the user hits the tab key the cursor goes to the next line and for some reason assigns PO field value to notes field value
                    //this line of code ignores in that case       
                    //if (dbval==null && newValue2!=null && newValue2!='')
                    //if (newValue2!=null || newValue2!='')
                    //if (newValue2!=null || dbvalLen>=1)
                    Alert.show("grid value" +DocCode+":"+DocItem+"Notes:"+newValue+"colNotes:"+newValue2+"dbvnotes:"+dbval);                
                //nwCL6.UpdateFYPOAUD.send();
                //tempCnt
                //if datagrid edit is true then this will fire       
                //all the code below is checking if value from datagrid has changed
                //as compared to value stored in source data so we don't need this in this project
                //var dsFieldName:String = event.dataField;
                //var author:VOAuthor = event.itemRenderer.data as VOAuthor;
                //if (newValue == author[dsFieldName])
                //    return;
                //get the new value for the first name or last name
                //author[dsFieldName] = newValue;
                //myRemote.saveData(author);
        ]]>
    </fx:Script>
    <mx:Panel title="Auditing of Purchase Order Delivery and Invoicing Status by User:" height="100%" width="100%"
              creationComplete="initApp()" paddingTop="5" paddingBottom="5" paddingLeft="5" paddingRight="5" fontSize="15" horizontalAlign="left" color="#701193">
        <mx:Accordion id="ac"
                      width="100%"
                      height="100%"
                      selectedIndex="0"
                      historyManagementEnabled="false"  >
            <mx:Canvas width="100%" height="400"  label="Detailed Data for which a PO was issued from a Request" id="POfromReq" backgroundColor="#D2E9DA" color="#A60831">
                <mx:Button click="GetData()" label="Press to load Data" width="305"></mx:Button>
                <mx:FormItem label="HeaderWordWrap:" x="335">
                    <mx:CheckBox id="checkBox" selected="true" />
                </mx:FormItem>
                <mx:FormItem label="Include Balance of 0 Items?:" x="550">
                    <mx:CheckBox id="checkBoxZero" selected="false" change="checkBoxZero_change(event);"  />
                </mx:FormItem>
                <mx:FormItem label="Only Show Items > 30 Days?:" x="850">
                    <mx:CheckBox id="checkBoxAge" selected="true" change="checkBoxAge_change(event);"  />
                </mx:FormItem>
                <mx:DataGrid id="POFromRequest"  allowMultipleSelection="true" doubleClickEnabled="true" editable="True" horizontalScrollPolicy="auto" width="3500" height="300" dataProvider="{serverData}" y="36" itemRollOut="deleteToolTip(event)" itemRollOver="createToolTip(event)" itemEditEnd="RefData(event)">
                    <mx:columns>
                        <fx:Array>
                            <mx:DataGridColumn headerText="UserName"  editable="false" dataField="SOURCEREQUESTUSERID" width="100"/>
                            <mx:DataGridColumn headerText="PO" dataField="PO" width="100"/>
                            <mx:DataGridColumn headerText="Vendor" dataField="VENDOR" width="270"/>
                            <mx:DataGridColumn headerText="Po Date" dataField="PO_Date" width="120"/>
                            <mx:DataGridColumn headerText="Ordered QTY (A)" headerWordWrap="{checkBox.selected}" dataField="Ord_Qty" width="120" />
                            <mx:DataGridColumn headerText="PO Item" dataField="POItem" width="100" />
                            <mx:DataGridColumn headerText="Commodity Description" dataField="CMDDESC" width="300"/>
                            <mx:DataGridColumn headerText="PO Unit Price" dataField="POUNITPRICE" width="120"/>
                            <mx:DataGridColumn headerText="Org code" dataField="ACTGORG" width="100"/>
                            <mx:DataGridColumn headerText="Receiving Document" dataField="RECEIVE_DOC_NUM" headerWordWrap="{checkBox.selected}" width="120"/>
                            <mx:DataGridColumn headerText="Received Qty (B)" dataField="RECQTY" width="150"/>
                            <mx:DataGridColumn headerText="Inv Document #" dataField="INVCODE" width="150"/>
                            <mx:DataGridColumn headerText="Vendor Invoice #" dataField="VENDINV" width="150"/>
                            <mx:DataGridColumn headerText="Invoice Status" dataField="INVSTATUS" width="150"/>
                            <mx:DataGridColumn headerText="Invoice Due Date" dataField="DUEDATE" width="150"/>
                            <mx:DataGridColumn headerText="Invoice Date" dataField="VENDORINVDATE" width="120"/>
                            <mx:DataGridColumn headerText="Fund" dataField="FUNDCODE" width="80"/>
                            <mx:DataGridColumn headerText="Account" dataField="ACCT" width="80"/>
                            <mx:DataGridColumn headerText="Org" dataField="ORG" width="80"/>
                            <mx:DataGridColumn headerText="Prg" dataField="PROG" width="80"/>
                            <mx:DataGridColumn headerText="Net Invoiced (C)" headerWordWrap="{checkBox.selected}" dataField="NETINVD" width="130"/>
                            <mx:DataGridColumn headerText="Balance not Received (A-B)" headerWordWrap="{checkBox.selected}" dataField="BALNOTRECD" width="175"/>
                            <mx:DataGridColumn headerText="Balance not Invoiced (B-C)" headerWordWrap="{checkBox.selected}" dataField="BALNOTINVD" width="175"/>
                            <mx:DataGridColumn headerText="Notes" headerWordWrap="{checkBox.selected}" dataField="NOTES" width="300"/>
                        </fx:Array>
                    </mx:columns>
                </mx:DataGrid>
                <mx:List id="square"  visible="false" x="298" y="266"></mx:List>
                <mx:Button click="POSendEmailAP()" label="Press to copy selected items to body of email template" width="478" y="344"></mx:Button>
            </mx:Canvas>
            <mx:Canvas width="100%" height="400"  label="Direct PO Details: PO not created from request" id="DirectPO" backgroundColor="#D2E9DA" color="#A60831">
                <mx:Button click="GetData3()" label="Press to load Data" width="305"></mx:Button>
                <mx:FormItem label="HeaderWordWrap:" x="335">
                    <mx:CheckBox id="checkBox3" selected="true" />
                </mx:FormItem>
                <mx:FormItem label="Include Balance of 0 Items?:" x="550">
                    <mx:CheckBox id="checkBoxZero3" selected="false" change="checkBoxZero3_change(event);"  />
                </mx:FormItem>
                <mx:FormItem label="Only Show Items > 30 Days?:" x="850">
                    <mx:CheckBox id="checkBoxAge2" selected="true" change="checkBoxAge2_change(event);"  />
                </mx:FormItem>
                <mx:DataGrid id="DirectPOGrid"  allowMultipleSelection="true" horizontalScrollPolicy="auto" width="3500" height="300" dataProvider="{serverData3}" y="36" itemRollOut="deleteToolTip2(event)" itemRollOver="createToolTip2(event)" itemEditEnd="RefData(event)">
                    <mx:columns>
                        <fx:Array>
                            <mx:DataGridColumn  headerText="PossibleUserName" dataField="PossibleSourceUserid" width="160"/>
                            <mx:DataGridColumn headerText="PO" dataField="PO" width="100"/>
                            <mx:DataGridColumn headerText="Vendor" dataField="VENDOR" width="270"/>
                            <mx:DataGridColumn headerText="Po Date" dataField="PO_Date" width="120"/>
                            <mx:DataGridColumn headerText="Ordered QTY (A)" headerWordWrap="{checkBox3.selected}" dataField="Ord_Qty" width="120" />
                            <mx:DataGridColumn headerText="PO Item" dataField="POItem" width="100" />
                            <mx:DataGridColumn headerText="Commodity Description" dataField="CMDDESC" width="300"/>
                            <mx:DataGridColumn headerText="PO Unit Price" dataField="POUNITPRICE" width="120"/>
                            <mx:DataGridColumn headerText="Org code" dataField="ACTGORG" width="100"/>
                            <mx:DataGridColumn headerText="Received Qty (B)" dataField="RECQTY" width="150"/>
                            <mx:DataGridColumn headerText="Inv Document #" dataField="INVCODE" width="150"/>
                            <mx:DataGridColumn headerText="Vendor Invoice #" dataField="VENDINV" width="150"/>
                            <mx:DataGridColumn headerText="Invoice Status" dataField="INVSTATUS" width="150"/>
                            <mx:DataGridColumn headerText="Invoice Due Date" dataField="DUEDATE" width="150"/>
                            <mx:DataGridColumn headerText="Invoice Date" dataField="VENDORINVDATE" width="120"/>
                            <mx:DataGridColumn headerText="Fund" dataField="FUNDCODE" width="80"/>
                            <mx:DataGridColumn headerText="Account" dataField="ACCT" width="80"/>
                            <mx:DataGridColumn headerText="Org" dataField="ORG

Thanks...I was using Alert instead of trace to make sure events were firing along with correct parameter values before calling web service. I never thought in a million years that would be causing the problem. However, when user hits return it drops the focus to the next row which causes a second itemEditEnd to fire (so it still doesn't work smoothly). At any rate, I approached it another way by wiring up a pop up box.

Similar Messages

  • Observer event fires two times

    Hi!
    I am wondering why an observer fires two times the same
    notification type. I have created a simple example and the message
    box appears two times:
    var dsAll = new Spry.Data.XMLDataSet("all.xml",
    "/root/item[@TitleSectionTitle='Germany']", { sortOnLoad:
    "@orderLevel", sortOrderOnLoad: "ascending" });
    var allRelevantSitesData_observer = new Object;
    allRelevantSitesData_observer.onPostLoad = function(dataSet,
    data){
    alert("uniqueCall " + dataSet.getDataWasLoaded());
    dsAll.addObserver(allRelevantSitesData_observer);
    function test(land){
    dsAll.setXPath("/root/item[@TitleSectionTitle='"+land+"']");
    dsAll.loadData();
    //on click two message boxes will appear
    <a href="javascript:test('Australia')">change filter:
    Australia</a>
    <a href="javascript:test('Austria')">change filter:
    Austria</a>
    I am looking forward to a short reply.
    Regards
    libelle2000

    Hi !
    On Srpy 1.4 version the 1:n relation is not supported, but we
    have two new solutions for this already posted on preview section.
    http://labs.adobe.com/technologies/spry/preview/samples/data_region/NestedXMLDataSample.ht ml
    Instead of creating one master xml file that points to other
    details xml files, you can have a single xml and create there the
    1:n relation there. In this way your request is solved using a
    single xml file.
    Please follow the link I gave you above and see the examples
    from there.
    Diana

  • Et_ITEM_PRESSED event  firing two times

    Hi ,
    I have a added a button to one of the windows and use the
    et_ITEM_PRESSED in the ItemEvent to do something. My problem is whenever I click the button the event fires two times. I thought it was my code but the sample code in the CatchingEvents project does the same.
    Does anyone know any wayaround it?
    appologise if this question has been asked before (I assumed so but could not find any matches for my search)
    Regards,
    Indika

    Almost all the item event in SBO executes two times before and after SBO events handler works. If you dont catch one of the events SBO will execute two events in one time. To avoide that you should cacth the events before "OR" after the SBO Events Handler Works.
    For Example:
    <i><b>Before Action:</b></i>
    If pVal.ItemUID = "1" And pVal.EventType = et_ITEM_PRESSED Then
    If Len(oEditText.String) <> 0 Then
    If IsNumeric(oEditText.String) Then
    If Len(oEditText.String) <> 15 Then
    If pVal.Before_Action = True Then
    BubbleEvent = False
    SBOApplication.SetStatusBarMessage "Federal ID Must be 15 Character", bmt_Short
    oTmpForm.Items("41").Click  ....
    <i><b>Action Success:</b></i>If pVal.Action_Success = True Then
    Set oItem = oTmpForm.Items("8")
    Set oEditText = oItem.Specific
    sDocNum = CLng(oEditText.String)
    Set oItem = oTmpForm.Items("29")
    Set oEditText = oItem.Specific
    sJumlah = oEditText.String
    If sJumlah = "" Then
    BubbleEvent = False
    That's all. Hopefully helps.
    Cheers,
    Hamdi

  • CFL Event Fires more than ONE Time

    Hi,
    Does anybody in here experienced that when an add-on form is created with a  CFL in the matrix, and you closed the form, and then opens the same form again ( by clicking a menu and without exiting the application), the CFL event fires equal to the times you closed the form?
    for example i closed the form 3 times, and then when i debug the application, it fires the CFL event also 3 times..
    It seems its some kind of creepy bug..
    Thanks...
    BTW im using SAP B1 2007 A (8.00.175) SP:00 PL:30

    Hello Robert,
    Does it work fine in the previous or latest version? if yes, there may be a bug in the patch, you may need to update to latest version.
    How ever these is a workaround:
    Have a CFL counter (lCounter) to count the times of CFL event fired at the beginning of Event handler.
    if (lCounter > 3)
         Exit Sub
    Kind Regards
    -Yatsea

  • MouseExit event fires exit event also,code executes 2 times

    Hi All,
    I have put some code to validate account number user has just entered in exit event of account number field which is in a repeater grid in Form guide.
    I notice that if I tab out it executes the code 2 times, if I use mouse to enter into the field don't change anything and then click on next field it executes again (2 times). looks like exit event is fired on mouse exit also, but I don't want that.
    I am perplexed that exit event is firing 2 times and don't know the reason for it.
    Please help to identify why code fires 2 times and how to avoid mouse exit firing exit event as well
    I hope I am not asking crazy thing here.
    Thanks
    Manoj

    Hi Steve,
    1) Are reseting on the cell or field? Is there data binding on the cell or field? Is there a calculation on the cell or field?
      There is data binding on this field. Well this item is in a subform and exists as a repeating subform record element. So I don't
      know what to call it. I am including my form and data content so that you can see it.
    2)
         How can I do that, that is set a invalid message with red color etc?
         No. That is why I stated you can either set focus or change the field colour but not both, without customizing the Form Guide.
         Okay what I meant was not show a message with Alert or hostmessage call then set focus works but also set the invalid message dynamically
          via  some property so that it show the red color message as we did when we set the validation pattern.
    3) exit event - I am attaching my form and data file for you to see. I have a schema attached to the form but can't send you that. Data file is included.
    4) Is there a link where we can learn more about customizing or if you have enough samples for customization. I did see the standard adobe doc about it and that helped me a lot, but was wondering if you did anything or others in your team  as prototypes through which we cam learn more.
    5) The form 401db.xdp is converted to .xml so that i can attach to the email. Please rename again to xdp.
    I can't thank you enough for looking into this. God bless you!
    Regards
    Manoj
    PS. Happy day for me to get your attention.

  • What event fires when a captivate ends?

    Hello,
    I'm a web app developer and I'm working with Captivate. I'm not a captivate designer myself, just a programmer, so I don't know the first thing about Captivate (though I'm working with someone who does). I'm wonder if there's an event that fires when the captivate is done--that is, when the user clicks on the "submit" button on the last slide after which there is nothing more for the captivate to do.
    My friend the Captivate designer says the submit button is wired up to an event handler in the CPM.js file. The script is named "assessment_Pass" and we've located the event handler in CPM.js. However, I can't work with this. I can't manually manipulate minimized javascript that Captivate generates, especially when we've got hundreds of captivate files and keep getting updated. I need to work in the javascript in my Visual Studios project. If I could know what event fires (if an event fires) when the captivate is done, I can then wire it up to a javascript event handler in my development environment.
    I found this list of Captivate events (they're actually for the Captivate API Interface, which I'd prefer to work with, but any event will do), but none of the one's I tried seem to fire.
    Any help is much appreciated.

    [quote="elearning_dude"]Events are exposed only for interactive objects (buttons, button smartshapes, etc.) and ON_SLIDE_ENTER and ON_SLIDE_EXIT (the latter of which actually fires on the first frame of the *following* slide, unless it's been fixed in Cp8). [/quote]
    Well, it's a submit button on the captivate that's supposed to fire the event. Is that an interactive object?
    [quote="TLCMediaDesign"]Maybe if you explained what you are trying to accomplish I could point you in the right direction. Maybe you could use the CPAPI_MOVIESTOP or CPAPI_VARIABLEVALUECHANGED events and check if on the last slide.[/quote]
    I would like to know when the captivate ends (i.e. when the user has gone through all the slides and has clicked the submit button) and to do some processing in javascript afterwards (essentially, calculate the user's score and figure out whether they passed or failed).
    I'm trying the CPAPI_VARIABLEVALUECHANGED event on a captivate variable called "result". My friend the Captivate designer says that when the user clicks the last submit button, a script is run to change the value of this variable. When it changes, this event should be fired and I should be able to catch it, no?
    I'm doing it like this:
    _captivateWindow.cpAPIEventEmitter.addEventListener("CPAPI_VARIABLEVALUECHANGED", "result", ResultChanged);
    var ResultChanged = function()
    alert("hello");
    but I'm not getting my hello message.
    I will try the timer idea that andreleal suggested and get back to you.

  • FileReference: event fires after delay

    Hi,
    We have the following case: server immediatelly returns error
    code to client if request size more than allowed.
    In this case 'onProgress' event continues to process
    uploading, but 'onComplete' or 'onHTTPError' event fires with delay
    in several seconds.
    It seems that fileReference starts to process response from
    server only after full file has been posted to server. As more file
    size - then longer delay occurs.
    Can somebody explain how we can immediatlly cancel uploading
    from server-side?
    Environment: FF,IE, Safari. Flash 9.
    Thanks in advance for any response.

    Hello,
    thank you for your answer so far. Well, here is a trivial source code with the problem that still exists (see also my text at the end of this post). This one has been tested using Java 2 SDK V1.4, even using the newest SDK version did not change anything on the behaviour:
    import javax.swing.*;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    * JComboBox-Test: using Java 2 SDK V1.4, ActionEvent is only fired by combobox, if
    * a different item than the previous one is selected from combobox;
    public class Forum3 extends JFrame implements ActionListener {
        String[] CB_ITEMS = {
            "item 1",
            "item 2",
            "item 3",
        public Forum3 () {
            super();
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setLayout(new FlowLayout());
            JComboBox cb = new JComboBox(CB_ITEMS);
            cb.addActionListener(this);
            getContentPane().add(cb);
        public void actionPerformed (ActionEvent e) {
            System.out.println("action!");
        public static void main (String[] argv) {
            Forum3 test = new Forum3();
            test.setSize(300,200);
            test.setVisible(true);
    }If you start this program (I am also using Windows XP), you see the JFrame window including the JComboBox. "item 1" is selected by default. If you click again on "item 1", no event will be fired. An event will be fired only, if you choose "item 2" or "item 3". You can try this with any other of the given items. An event will be only fired, if you choose a different item than the last one.
    What I need, is a routine that fires an event each time any item is selected!
    I would be grateful for a helpful hint, how to solve this in a "clean" way :-)

  • How to create a event at the time of scheduling a webi report

    if event fires then only it schedules the webi report
    give in a brief steps
    pls its urgent for me.

    Refer to the below blog
    http://scn.sap.com/community/bi-platform/blog/2013/01/07/cmcevents-in-business-objects-and-its-usage
    Thanks,
    Prithvi

  • How do I stop iCal from changing my gCal events to UTC time zone when entering new events?

    Within the last week, iCal has begun automatically changing the time zone of new events I enter via Calendar on my Google calendar to UTC. It does not do this for items entered on my iCal calendar.
    I enter the date and time (Pacific Time)  and as soon as I add an invittee or click "Done" it changes the time zone to UTC.
    Prefs:
    iCal time zone support is on
    Mac time zone is set automatically (and its correctly finding PDT)
    gCal time zone is also set for Pacific
    Calendar reads 11-1 pm...
    Yes, one solution would be to not use Calendar. Barring that, what do you suggest?

    I was having the same problem and spent some time on the phone with apple today.(new computer is under apple care). Tried a ton of stuff with different folks and ultimately I (well, me and 3 apple specialists) was able to solve this issue.
    Here's the break down:
    1. Quit Mail, Calendar and Messages.
    2. Open: System Preference -> Mail, Contacts & Calendars
    3. Delete all your google accounts (using the little minus button below your account list)
    4. Restart your computer.
    5. Re-add your google accounts. (Obviously, keep the calendar box checked).
    6. Open calendar and wait for your google info to populate.
    7. Attempt to add an event with correct time zone.
    IMPORTANT NOTE:
    Events I created while I was having the problem still had the problem.
    I simply deleted those broken events and recreated them with refreshed settings.
    I've only had this working for a few hours so I'm not certain it will stay working forever.
    But for now it is a relief.
    I realize deleting and re-adding the accounts is annoying but it's a lot less frustrating than seeing UTC every time you add an event.
    Hope that helps everyone else having this problem.

  • Found iCal events in Time Machine.  Now Lion only allowing me to import one event at a time.

    Upgrade my macbook pro over the weekend to Snow Leopard and then Lion.   I lost all my the majority of my iCal events.   Went to Apple store and they said that was rare and not sure how to restore my last back up from Time Machine on an external drive.   I've been spending hours trying to go through a bunch of threads on different MAC formums.  
    So I finally found my iCal events in Time Machine.   When I try to import these events, I am only allowed to highlight/import one event at a time.   This will take me forever to import years of missing data.   I basically have been using my iCal to journal for my 3 small daughters - first tooth, hair cut, etc.   So I am desperate to get these events back so I can get them printed and SAFE.
    Does anyone have any suggestions on how to import my ics files?   The Apple Store Genius had me tryng to import the corestorage.ics files.   2 or 3 of those files showed they were trying to be imported for over 4 hours.   I finally Forced Quit iCal.   I've tried this several times and same result. 
    The corestorage files were under user/library/application support/ical/sources
    I now located the calendar events user/library/calendars/ then a bunch of coded files leading to the events.  These events appear to be the ones I am looking for as I can read some of the files.   I have several years I want to import back into my working iCal.  
    Please help if you know how!!!
    Thank you,
    Very Upset Mama of 3 little girls

    Thomas - You are awesome - THANK YOU!  
    I did exactly what you said (CAN"T believe an Apple Genius did not know this) and I think all of my events got restored.  
    However, it duplicated all of the calendars - I have 6 (one for each family member plus an extra called home that we all have to do).   Not sure if I did something wrong, but do you have any ideas?  
    Also, the time setting must be wrong b/c I have events from 2008 showing up in 2012 - same day and time as the old sessoin - just out dated.    Do I need to manually change all of this?   Should I delete the Calendars folder again and try again?  
    Also, I read some where about deleting a iCal cache file.   Do I need to do this?
    I TRULY appreciate you taking the time to help people in this forum.   I have spent hours the past two days trying to figure this out.   Plus, now I need to figure out about upgrading my Office for Mac b/c I didn't realize I lost Office 2004 when upgrading to Lion.   
    Thank you for your time and support!
    Lori

  • Not able to successfully subscribe to and see the TargetApplicationChosen event fire from Windows Phone 8.1

    Matt,
    Thanks for the reply.
    In my current experience, I am not able to successfully subscribe to and see the TargetApplicationChosen event fire from Windows Phone 8.1.
    In Windows Store 8.1 (Tablet), it works fine.
    Questions
    Is this event expected to fire in Window Phone 8.1 (Universal Apps, Not Silverlight 8.1) ?
    Does this event depend on the target application to supply AppName?
    Thanks for your help. Much appreciated.
    Example Code Block
    //From Page Contstructor or OnNavigatedTo Handler
    _dataTransferManager = DataTransferManager.GetForCurrentView();
    _dataTransferManager.TargetApplicationChosen += DataTransferManagerOnTargetApplicationChosen;
    private void DataTransferManagerOnTargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
    //fires in tablet but not phone

    This is not an answer, Mr. Wong.  The link you referenced refers to the DataTransferManager class being supported only in Native apps, which includes Windows Phone 8.1 RT apps.  All aspects of the DataTransferManager work except for the TargetApplicationChosen
    event under a WP8.1 universal app.  This event does NOT fire in the Windows Phone 8.1 RT API implementation of DataTransferManager.
    You need to reopen this thread and address the issue, please.  The lack of support for this event is problematic for some phone scenarios, most notably supporting NFC Tap and Share.
    Mark Jones, Owner MJ App Factory

  • Call_and_receive fires 2 times?? why ??

    Hello,
    i have little problem with saprfc_call_and_receive().
    In Firefox (2+) everything is ok. call_and_receive() fires only 1 time.
    BUUUUUUT with IE (6+) the same call_and_receive() fire 2 times.
    1. Firing => RCODE = 0 (OK)
    2. Firing => RCODE = 4 (BAD) because datarow is already in DB.
    PHP 5.1.1
    SAPRFC_PHP 1.4.1
    Any suggestions???
    <?PHP
    $login = array (     
                                            <passing logon data>
    $rfc = saprfc_open ($login );                                                                               
    //We must know if the function really exists
    $fce = saprfc_function_discover($rfc, "<function_name>");
    if(!$fce){
         echo "The function module has failed.";
      echo $rfc;
      exit;
    //Pass table parameters
    saprfc_table_init ($fce,"<table_name");
    //setting IMPORT-Param
    $set_import = saprfc_import ($fce,"SPRAS",$SPRAS);
    foreach ($new_data as $data){
      saprfc_table_append ($fce,"table_name", <building my array>);
    //Call and execute the function
    $rc = saprfc_call_and_receive ($fce);
    //wenn etwas auf Fehler läuft wird dieser ausgegeben.
    switch ($rc) {
       case SAPRFC_OK        : break;
       case SAPRFC_EXCEPTION : echo "Exception raised:".saprfc_exception($fce)."<br>";
                               // handle exception
       default              : echo "RFC error ".saprfc_error()."<br>";
                               exit; 
    ?>
    <html>
    <head>
    </head>
    <body>
    <?PHP
         $RCODE = saprfc_export ($fce,"RETURNCODE");
         $MESSAGE = saprfc_export ($fce,"MESSAGE");
    //if $RCODE =4 Errormessage $MESSAGE
         if ($RCODE == "4") // Fehler
                    <PHP-Coding>
         else
              <PHP-Coding>
         } // if ($result == "" )
    saprfc_function_free($fce);
    saprfc_close($rfc);
    ?>
    </body>
    </html>
    thanx
    Florian Endres

    Hello,
    It's not that easy.
    My prior page calls the update page only 1 time.
    I think some freaky dll form the IE fires the call_and_receive 2 times.
    Some debugging on the update page give me this result.
    Function module: /FIS/MON_SET_VERTRETER (remote SAP R/3: 700 Unicode)
    IMPORT
    CHECK_AUTGEN /o/  C 1 0 offset = 0
    SPRAS  C 1 0 offset = 0
    EXPORT
    MESSAGE  C 72 0 offset = 0
    RETURNCODE  b 1 0 offset = 0
    TABLE
    VERTRETERLISTE MANDT C 3 0 offset = 0
    EMPFAENGER_EMAIL C 128 0 offset = 3
    ZEIT_VON D 8 0 offset = 131
    ZEIT_BIS D 8 0 offset = 139
    KZ_GRUNDSAETZLIC C 1 0 offset = 147
    VERTRETER_EMAIL C 241 0 offset = 148
    VERTRETER_SAPUSE C 12 0 offset = 389
    DB_MODE C 1 0 offset = 401
    Value of import (input) parameter CHECK_AUTGEN (optional) (memory = 1):
    Value of import (input) parameter SPRAS (memory = 1):
    "D"
    Value of export (output) parameter MESSAGE (memory = 72):
    Value of export (output) parameter RETURNCODE (memory = 1):
    "0"
    Internal table VERTRETERLISTE (memory = 408):
    MANDT EMPFAENGER_EMAIL ZEIT_VON ZEIT_BIS KZ_GRUNDSAETZLIC VERTRETER_EMAIL VERTRETER_SAPUSE DB_MODE
    "500" "[email protected]" "20080505" "20080505" "" "[email protected]" "" "I"
    1 rows
    When the prior or update page fires the call_and_receive 2 times, should i see this debug info twice?
    thanx
    Edited by: Florian Endres on Sep 1, 2008 8:46 AM

  • "3.x Analyzer Server" EVENT taking more Time when Executing Query

    Hi All,
    When I am Executing the Query Through RSRT   taking more time. When I have checked the statistics
    and observed that "3.x Analyzer Server" EVENT taking more Time .
    What I have to do , How I will reduce this 3.x Analyzer Server EVENT time.
    Please Suggest me.
    Thanks,
    Kiran Manyam

    Hello,
    Chk this on query performance:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ce7fb368-0601-0010-64ba-fadc985a1f94
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4c0ab590-0201-0010-bd9a-8332d8b4f09c
    Query Performance
    Reg,
    Dhanya

  • Query performance analysis in RSRT --- event text 'Wait Time, User'  means?

    Hi All,
    I am running some queries in RSRT in 'execute + debug' mode.
    selecting 'statistics data for query' option.
    Statistics says that most of the time is taken by the event 'Wait Time, User' (event text).
    handler type is OLAP or DFLT depending on the query.
    This is taking around 90% of the query run time.
    Can any one tell me what it means ? Where is it actualy taking time?
    What does it mean by :
    Event text --> 'waiting time, User'
    Handler type DFLT
    Handler type OLAP.
    A sample record of the statistics:
    4A2Z2CFA1GLIRPIK9O2Z18GK1     4A2Z2SN22IFE3AKOL50W9DQZ5     BEX3     2     ZS233BIWDEV     11.06.2008  19:29:08          DFLT               2     1     Wait Time, User     98.467887     0     1
    Thanks in advance.
    rgds,
    Raghu.
    Edited by: Raghu tej harish reddy on Jun 11, 2008 4:19 PM

    Thank you for your immediate response.
    But i won't think it is the time taken to enter the values in the variable screen because of two reasons:
    1.There are some events starting before these events(i can say by seeing the starting time of the events)
    2.For some queries this time is around 3 minutes; and i hardly take 30 seconds to enter the variable values.
    Thanks,
    Raghu

  • Is it too late to modify preview thumbnails once beforeSave event fires?

    My goal:
    I need to show non-printing layers in my .indd files' preview thumbnails. We produce print jobs which will have post processing applied to them (thermography and cutouts glued to the printed cardstock). Our .indd files have layers containing these post production images so that we can determine proper alignment and spacing for the end product.
    These are graphics are placed in non-printing layers so that they do not print. However InDesign generates preview thumbnails which do not contain these non-printing images. This is a problem for us because we can not tell the nuanced difference between similar indd files soley by their preview images.
    Therefore my goal is to somehow include these non-printing layers in the image preview thumbnail.
    What I have done thus far:
    I have a startup script which registers for the beforeSave and afterSave events. Before the same it marks all the non-printing layers are printable (printable property = true). Then the afterSave event undoes this by setting those layers back to non-printable. I track which layer was originally non-printing by adding a moniker to the layer's name.
    What is not working:
    When I run a script that marks the layers as printable, saves then undoes the printable changes everything works perfectly. The preview thumbnail is exactly what I want.
    However, when I run it as a startup script registering for the beforeSave/afterSave events this fails:
    Success: The beforeSave does correctly update the printable property then modifies the layer's name. This is as expected and working well.
    Success:The afterSave does correctly reset the printable property and modified the layer's name. This is as expected and working well.
    Failure: The file's preview thumbnail does not reflect the printable=true peroperty of the affected layers.
    My Question:
    From what I outline above it looks as if the preview image is determined before the beforeSave event fires.
    Question 1: Is this true?
    Question 2: How can I affect the layers' printable properties once a save occurs?
    As a last resort I could intercept any CTRL+S keystroke or the File-->Save menu option and call my original script (as I describe above). I would like to avoid that as it is fragile and less elegant.
    Follow question: Can anyone show me what the actual work flows are for these events? For example what does InDesign do during its save function and at what points does it trigger beforeSave and afterSave events?

    I also tried a different approach which worked:
    Added two event listeners to the "Save" MenuAction object. One for "beforeInvoke" and one for "afterInvoke". This worked and I now have correctly rendered preview thumbnails. However .....
    ....when the afterInvoke event fires and I update the layers to reflect their non-printing state and change their names back to normal this is reflected as if I have made alterations. Therefore the file is left in a "dirty" state thus wanting to be saved (the document's title has an * indicating changes were made). The document's "modified" property is read only so I can not forcibly change it. I can change set the Document.properties['modified'] to false without error, but either it does not take or it is instantly reset.
    This is a problem because when I exit the app it sees that there have been changes since the last save. Therefore it wants to save the doc. Saying "yes" to save the doc means that the "save" function is called but not from the Save menu. Therefore my MenuAction handers are not invoked. My beforeSave/afterSave handlers are but this does not function as I would expect (see my original post).
    Can someone please help with this? Maybe some kind soul from Adobe who understands the event firing workflow??

Maybe you are looking for

  • Mac update has disbaled Bluetooth

    Just installed the latest OS X update and now my Bluetooth keyboard and mouse won't work. Connected a wired keyboard and mouse and got into Settings, however I can't get them re-connected. Any suggestions?

  • Table of Tables (multiple TOC)

    Hi there, I'm a 1L law student, working on outlining my cases for finals and... first of all... I love Pages. The Harvard list style is a thousand times better than Word's. But I'm preaching to the choir in this forum, I suspect. My question is about

  • Plug in Shuffle the 1st time but unable to connect correctly

    Hi, Last night I plugged in my new iPod Shuffle (friend bought in the Summer of 2008 but never had chance to use it or even open the box) to my MBP (summer 2007 version). Strangely, no Setup Assistant showed as indicated in the manual, neither did iT

  • Auto-reaction method not sending e-mail

    Hi everyone, We are trying to set-up email notificacions for cancelled jobs. So far I've configured SCOT and RZ20 succesfully. The alerts are triggered and the auto-reaction method is active and ready but it's not sending automatics e-mails. If I cli

  • EPrintCent​er end of support

    Today I received an email, anouncing, I should upgrade to HP Connected, because of the added value. I do not need this "added value" I'm happy with the ePrintCenter, as it is. When will the service/site go down? Regards