Sending the Value to the database of the selected item in the radioButton

I want to pass  the value to the database that I selected on the radioButton
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
     <mx:Text y="36" text="The Christian and Missionary Alliance Churches of the Philippines, Inc" width="581" fontWeight="bold" fontSize="15" horizontalCenter="46"/>
     <mx:Text y="59" text="( C A M A C O P)" fontWeight="bold" fontSize="12" horizontalCenter="8"/>
     <mx:Text y="77" text="MEMBERSHIP IDENTIFICATION FORM" width="502" fontSize="17" fontWeight="bold" textAlign="center" horizontalCenter="0"/>
     <mx:Text y="101" text="Date: " width="47" fontWeight="bold" textAlign="center" horizontalCenter="-71"/>
     <mx:DateField y="99" id="dateToday" horizontalCenter="18" editable="true" width="140" enabled="true"/>
     <mx:Label y="153" text="District:" fontWeight="bold" horizontalCenter="-418"/>
     <mx:TextInput y="151" maxChars="15" id="district" width="249" enabled="true" horizontalCenter="-260"/>
     <mx:Text y="179" text="Name of Local Church:" fontWeight="bold" horizontalCenter="-378"/>
     <mx:TextInput y="177" width="400" id="nameLocalChurch" maxChars="255" enabled="true" horizontalCenter="-104"/>
     <mx:Text y="205" text="Local Church Address:" fontWeight="bold" horizontalCenter="-378"/>
     <mx:TextInput y="203" width="401" id="addressLocalChurch" maxChars="255" enabled="true" horizontalCenter="-105"/>
     <mx:Text y="231" text="Name:" fontWeight="bold" horizontalCenter="-422"/>
     <mx:TextInput y="229" width="489" id="givenName" maxChars="255" enabled="true" horizontalCenter="-149"/>
     <mx:Text y="254" text="(Given Name/Middle Name/Family Name - CAPITALIZE)" fontStyle="italic" horizontalCenter="-158"/>
     <mx:Text y="284" text="Position in the Church: " fontWeight="bold" horizontalCenter="-376"/>
     <mx:TextInput y="276" width="401" id="posInChurch" maxChars="225" enabled="true" horizontalCenter="-105"/>
     <mx:Text y="310" text="Profession/Title:" fontWeight="bold" horizontalCenter="-393"/>
     <mx:TextInput y="306" width="434" id="professionTitle" maxChars="225" enabled="true" horizontalCenter="-121"/>
     <mx:Text y="333" text="Community Involvement/Work" fontWeight="bold" horizontalCenter="-351"/>
     <mx:Text y="355" text="Gift Skill:" fontWeight="bold" horizontalCenter="-415"/>
     <mx:TextInput y="353" width="475" enabled="true" horizontalCenter="-142" id="giftSkill" maxChars="225"/>
     <mx:Text y="381" text="Home Address:" fontWeight="bold" horizontalCenter="-397"/>
     <mx:TextInput y="379" width="448" id="homeAddress" enabled="true" horizontalCenter="-128" maxChars="225"/>
     <mx:Text y="406" text="Status:" fontWeight="bold" horizontalCenter="-420"/>
     <mx:Text y="432" text="Date of Marriage:" fontWeight="bold" horizontalCenter="-391"/>
     <mx:TextInput y="430" enabled="true" id="dateOfMarriage" horizontalCenter="-258" maxChars="225"/>
     <mx:Text y="432" text="(If Married)" fontWeight="normal" fontStyle="italic" horizontalCenter="-144"/>
     <mx:Text y="458" text="Tel./Cell Phone:" fontWeight="bold" horizontalCenter="-396"/>
     <mx:TextInput y="456" width="436" id="cell" enabled="true" horizontalCenter="-122" maxChars="225"/>
     <mx:Text y="484" text="SSS/GSIS No." fontWeight="bold" horizontalCenter="-402"/>
     <mx:TextInput y="482" width="215" id="sss" enabled="true" maxChars="15" horizontalCenter="-243"/>
     <mx:Label y="484" text="Blood Type" fontWeight="bold" horizontalCenter="-94"/>
     <mx:TextInput y="482" width="154" id="bloodType" enabled="true" maxChars="15" horizontalCenter="19"/>
     <mx:Text y="509" text="Height" fontWeight="bold" horizontalCenter="-421"/>
     <mx:Text y="510" text="Weight" fontWeight="bold" horizontalCenter="-279"/>
     <mx:TextInput y="508" id="weight" enabled="true" maxChars="15" horizontalCenter="-168"/>
     <mx:Text y="510" text="Birthday" fontWeight="bold" horizontalCenter="-53"/>
     <mx:Text y="536" text="TIN No." fontWeight="bold" horizontalCenter="-420"/>
     <mx:TextInput y="534" id="tin" enabled="true" horizontalCenter="-311" maxChars="225"/>
     <mx:Text y="536" text="Date of Baptism" fontWeight="bold" horizontalCenter="-174"/>
     <mx:Text y="536" text="(If Baptized)" fontStyle="italic" horizontalCenter="32"/>
     <mx:Text y="573" text="Annual Income:" fontWeight="bold" height="18" fontSize="13" horizontalCenter="-384"/>
     <mx:RadioButton y="563" label="Below 10K" id="first" enabled="true" horizontalCenter="-276" groupName="annualIncome"/>
     <mx:RadioButton y="593" label="76k-100k" id="fifth" enabled="true" horizontalCenter="-192" groupName="annualIncome"/>
     <mx:RadioButton y="563" label="11k-20k" id="second" enabled="true" horizontalCenter="-195" selected="false" groupName="annualIncome"/>
     <mx:RadioButton y="563" label="21k-40k" id="third" enabled="true" horizontalCenter="-116" selected="false" groupName="annualIncome"/>
     <mx:RadioButton y="593" label="101k-above" id="sixth" enabled="true" horizontalCenter="-106" groupName="annualIncome"/>
     <mx:RadioButton y="593" label="41k-75k" id="fourth" enabled="true" horizontalCenter="-280" groupName="annualIncome"/>
     <mx:Text y="589" text="(The &quot;k&quot; = thousand)" horizontalCenter="-383" fontStyle="italic"/>
     <mx:TextInput y="508" id="hayt" enabled="true" width="76" horizontalCenter="-356" maxChars="15"/>
     <mx:Text text="In case of Emergency Please Notify" fontSize="12" fontWeight="bold" horizontalCenter="-326" y="621"/>
     <mx:Text y="642" text="Name:" fontWeight="bold" horizontalCenter="-370"/>
     <mx:TextInput y="640" id="EName" enabled="true" width="446" horizontalCenter="-125" maxChars="225"/>
     <mx:Text y="668" text="Address:" fontWeight="bold" horizontalCenter="-363"/>
     <mx:TextInput y="666" width="434" id="EAddress" enabled="true" horizontalCenter="-117" maxChars="225"/>
     <mx:Text y="740" text="Endorsement/Signature of PASTOR" fontWeight="bold" fontSize="12" horizontalCenter="-298"/>
     <mx:Text y="740" text="Signature of Member" fontWeight="bold" fontSize="12" width="208" horizontalCenter="55"/>
     <mx:Text y="804" text="Endorsement/Signature of DMS" fontWeight="bold" fontSize="12" horizontalCenter="-310"/>
     <mx:Text y="806" text="Confirmation of the BISHOP/PRESIDENT" fontWeight="bold" fontSize="12" horizontalCenter="88"/>
     <mx:Text y="867.7" text="Reminders" fontSize="15" fontWeight="bold" horizontalCenter="-76"/>
     <mx:Text y="899.25" text="Pastor/CMT shall verify each filled up membership form." fontWeight="bold" textAlign="center" fontSize="12" horizontalCenter="-86"/>
     <mx:Text y="921.8" text="The pastor will endorse the forms to their respective DMS." fontWeight="bold" fontSize="12" textAlign="center" horizontalCenter="-78"/>
     <mx:Text y="942.35" text="The donation for I.D. is 50.00php." fontWeight="bold" textAlign="center" fontSize="12" horizontalCenter="-62"/>
     <mx:Text y="961.9" text="Get your receipts from the DMS as a whole." fontWeight="bold" textAlign="center" fontSize="12" horizontalCenter="-69"/>
     <mx:Text y="980.35" text="Check carefully the neatness of I.D. pictures." fontWeight="bold" fontSize="12" textAlign="center" horizontalCenter="-64"/>
     <mx:Text y="997.9" text="This form is to be completed by all CAMACOP members and workers." fontWeight="bold" fontSize="12" horizontalCenter="-83"/>
     <mx:Spacer x="47" y="9"/>
     <mx:Button y="1034" label="Submit" id="submit" enabled="true" horizontalCenter="-89" click = "sample1.send()"/>
     <mx:DateField y="508" id="birthday" enabled="true" horizontalCenter="35" width="122"/>
     <mx:DateField y="534" width="105" id="dateOfBaptism" enabled="true" horizontalCenter="-64"/>
     <mx:RadioButtonGroup id="work"/>
     <mx:RadioButton x="273" y="331" label="Private" groupName="work" width="80" id="prayvate" enabled="true"/>
     <mx:RadioButton x="416" y="331" label="NGO" groupName="work" enabled="true" id="NGO"/>
     <mx:RadioButton x="359" y="331" label="GO" groupName="work" enabled="true" id="GO"/>
     <mx:RadioButtonGroup id="status"/>
     <mx:RadioButton x="133" y="404" label="Married" groupName="status" id="Married"/>
     <mx:RadioButton x="207" y="404" label="Single" groupName="status" id="Single"/>
     <mx:RadioButton x="274" y="404" label="Widow" groupName="status" id="Widow"/>
     <mx:RadioButton x="342" y="404" label="Widower" groupName="status" id="Widower"/>
     <mx:HTTPService id="sample1" method="POST" url="http://localhost/frontPage-debug/add.php">
          <mx:request xmlns="">
               <dateToday>
                    {dateToday.text}
               </dateToday>
               <district>
                    {district.text}
               </district>
               <nameLocalChurch>
                    {nameLocalChurch.text}
               </nameLocalChurch>
               <addressLocalChurch>
                    {addressLocalChurch.text}
               </addressLocalChurch>
               <givenName>
                    {givenName.text}
               </givenName>
               <posInChurch>
               {posInChurch.text}
               </posInChurch>
               <professionTitle>
               {professionTitle.text}
               </professionTitle>
               <work>
                    {work.text}
               </work>
               <giftSkill>
                    {giftSkill.text} <!--THIS IS WHERE THE ERROR HAPPENS-->
               </giftSkill>
               <homeAddress>
                    {homeAddress.text}
               </homeAddress>
               <status>
                    {status.text} <!--THIS IS WHERE THE ERROR HAPPENS-->
               </status>
               <dateOfMarriage>
                    {dateOfMarriage.text}
               </dateOfMarriage>
               <cell>
                    {cell.text}
               </cell>
               <bloodType>
                    {bloodType.text}
               </bloodType>
               <sss>
                    {sss.text}
               </sss>
               <weight>
                    {weight.text}
               </weight>
               <birthday>
                    {birthday.text}
               </birthday>
               <tin>
                    {tin.text}
               </tin>
               <dateOfBaptism>
                    {dateOfBaptism.text}
               </dateOfBaptism>
               <annualIncome>
                    {annualIncome.text}          
               </annualIncome>
               <EName>
                    {EName.text}
               </EName>
               <EAddress>
                    {EAddress.text}
               </EAddress>
          </mx:request>     
     </mx:HTTPService>     
</mx:Application>
This is are the errors
1119: Access of possibly undefined property text through a reference with static type mx.controls:RadioButtonGroup.  
1120: Access of undefined property annualIncome.

Hi,
instead of
{status.text}
should be {status.selection.label} (status.selection is a RadioButton or null and after that you can get label property). It's better to set one of the variants in radioButtonGroup to selected and do not check null selection or selectedValue property.
It seems that {giftSkill.text} is ok, but {work.text} above it has the same problem as I've described above.

Similar Messages

  • How to get the value from a database without submitting a jsp page

    I have a jsp which has a text box depending on the value entered I want to get the value from a database for other two fields with out submitting jsp page. I am using struts.
    Thanks For any assistance provided.

    Alright,here is an example for you for the first case.
    Present.jsp:
    ============
    <html:html>
    <head>
    <title><html:message key="page.title"/></title>
    </head>
    <body>
    <html:form action="ChangeEvent.do">
    <html:hidden property="method"/>
    <!-- Submitting the Form onKeyUp of EmpId field and trying to save the
         state of the Form in the scope of session -->
    Emp Id:<html:text property="empId" size="5"  onkeyup="if(true){this.form.elements[0].value='populateDetails';this.form.submit();}"/>
    Emp Name:<html:text property="empName" size="10" />
    Email Address:<html:text property="email" size="10" />
    <html:submit>Submit</html:submit>
    </html:form>
    </body>
    </html:html>struts-config.xml:
    ==================
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <!-- Form bean which stores the properties of all the Form elements -->
    <form-beans>
    <form-bean name="employeeFormBean" type="org.apache.struts.action.DynaActionForm">
       <form-property name="empId" type="java.lang.String"/>
       <form-property name="empName" type="java.lang.String"/>
       <form-property name="email" type="java.lang.String" />   
    </form-bean>
    </form-bean>
    <action-mappings>
    <action path="/ChangeEvent" type="Test.GetChangeAction" name="employeeFormBean" scope="request" parameter="method"> 
    <!-- On successful call of DB the Page has to be forwarded to the same page again by
          uploading updated form bean values. -->
    <forward name="success" path="/Present.jsp"></forward>
    <forward name="failed" path="/error.jsp"></forward>
    </action>
    </action-mappings>
    </struts-config>GetChangeAction.java:
    =====================
    public class GetChangeAction extends DispatchAction{
      public ActionForward populateDetails(ActionMapping mapping,ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
            DynaActionForm dForm = (DynaActionForm)form;
            String empId = dForm.get("empId");     
            // calling Model / Db and then getting back Employee Details
            EmployeeBean eb = ModelUtils.getDetails(empId);
            // Updating form bean by updating values from the Model 
            dForm.set("empName".eb.getEmpName()); 
            dForm.set("email".eb.getEmail());
            return mapping.findForward("success");
    }well to me this should work regardless to any browser but we need to make sure we put in our logic properly.

  • Task Total Slack Calculated values mismatching with the values in reporting database

    Hi,
    We require 'Task Total Slack' as one of the items in a report for Project Server 2010. We're developing the reports using SSRS wherein the SQL Queries are fired on the reporting database of Project Server 2010.
    We've come across a situation wherein the total slack values from reporting database for tasks are mismatching with the values that are seen in either PWA or Project Professional for total slack field. We also could not find a consistent factor by which
    the slack is multiplied for reflecting in the database in case the Slack in days was being converted into Hours in reporting databse.
    Is there a definite way that these values are being represented in reporting database which is quite different from the way these values are seen in Project Professional? Please help resolving this issue.

    Hi Abhijit PS,
    Can you give an example of the mismatch? Also you could tell us if this is happening for all tasks and all projects. Your concern may be seen from 2 different points of view:
    Either this is indeed a bug with a slack of 2 days for example in Project Pro and 4 days in your report from the reporting DB. In this case, you should check if the projects have been published correctly and if the Reporting DB is correctly sync'ed with
    the draft DB.
    Or it could be the normal behavior and it is just a matter of finding why. For example, the durations are stored in the DB in minutes, meaning that a 1day duration might be stored as 480 if you have 8 working hours in a day (8*60).
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • I cannot change the value in about:newtab from "newtab" to "blank." The dialog is displayed but when I click Ok, the value is not changed.

    I cannot change the value in about:newtab from "newtab" to "blank." The dialog is displayed but when I click Ok, the value is not changed.
    ===Answer===
    Comment on usual method and solution, by a forum Moderator.
    As long as there are no confounding factors, such as certain extensions, or a user.jsfile the procedure is as follows
    # Open a new tab and type "about:config" in the address bar.
    # In the Search bar type: "newtab"
    # Locate and double click "browser.newtab.url"
    # In the "Enter String Value" box change "'''about:newtab'''" to "'''about:blank'''" and click OK.
    # Verify that the value has changed and now all new tabs will be blank.
    See post under by ''pirate048'' [/questions/976589?page=2#answer-509482] ~J99

    Have to say that I rather agree with Mark..all we want is a simple, unadorned clean page that doe not track and show usage!! WHY NOT!! Is it too simple for developers..we aren't all (nor do we want to be!) software experts! Come on Mozilla..tidy up and clean up..it might be a quicker programme too!!

  • Is it possible to use the value of a string to reference a component in the

    I'm fairly new to Java so this may be a stupid question!
    Is it possible to use the value of a string to reference a component in the code? For example in the code below, Wall is a class holding 3 different arrays. The Robot class has an array called finishBricks. When the buildWall method is run it receives the integers width and height which are used to construct the dimensions string. I want to use this string to then load the appropriate Wall array into the finishBricks array.
    I hope this makes sense! Any help would be greatly appreciated!
    class Robot {
    public double[][] finishBricks;
    public void buildWall(int width, int height) {
    Wall w = new Wall();
    String dimensions = "Wall" width "x" +height;
    this.finishBricks = w.xxxx; // where xxxx is replaced by whatever the String dimensions is
    class Wall {
         public double[][] Wall4x2 = {
              {-30.00,-01.60,27.45},
              {-30.00,-06.75,27.45},
              {-30.00,-13.55,27.45},
              {-30.00,-20.35,27.45},
              {-30.00,-22.00,28.65},
              {-30.00,-16.85,28.65},
              {-30.00,-10.05,28.65},
              {-30.00,-03.25,28.65}
         public double[][] Wall3x3 = {
              {-30.00,-01.60,27.45},
              {-30.00,-06.75,27.45},
              {-30.00,-13.55,27.45},
              {-30.00,-15.20,28.65},
              {-30.00,-10.05,28.65},
              {-30.00,-03.25,28.65},
              {-30.00,-01.60,29.85},
              {-30.00,-06.75,29.85},
              {-30.00,-13.55,29.85},
         public double[][] Wall2x4 = {
              {-30.00,-01.60,27.45},
              {-30.00,-06.75,27.45},
              {-30.00,-08.40,28.65},
              {-30.00,-03.25,28.65},
              {-30.00,-01.60,29.85},
              {-30.00,-06.75,29.85},
              {-30.00,-08.40,31.05},
              {-30.00,-03.25,31.05},

    Map walls = new HashMap ();
    walls.put ("2x2", new double[][] {
        new double[] {
            1,
            0
        new double[] {
            0,
            1
    double[][] wall = (double[][]) walls.get ("2x2");

  • The type of the value being assigned to variable ... differs from the current variable type

    I am trying to load a variable on SSIS Execute SQL Task with a string value. I keep on getting an error message :-
    “The type of the value being assigned to variable “User::LegacyColumns” differs from the current variable type”.
    Below are the settings on my package:
    Execute SQL Task Result Set –
    Single Row
    Variable Data Type –
    String
    The data to be loaded on the variable is a single row shown below:
    FirstName,LastName,MiddleName,PatientType,Title
    Can someone kindly help me to solve this as I’m lost for ideas.
    Thanks,
    Mpumelelo

    Thank you Sorna. I think I have managed to solve it. After a long search I have found a solution which advises that I should use a Foreach Loop Container. The help is on this link:
    https://social.msdn.microsoft.com/Forums/en-US/f46dea91-c26b-4ffe-ab1c-ebeef57c90b6/error-0xc001f009-at-mypackage-the-type-of-the-value-being-assigned-to-variable?forum=sqlintegrationservices
    Mpumelelo

  • Error Message: The syntax of the value for prompt 'p_phone_num' is incorrect. Please correct the syntax and try again.

    Post Author: helpwithcr
    CA Forum: General
    " The syntax of the value for prompt 'p_phone_number' is incorrect. Please correct the syntax and try again."
    I am getthing this error while I tried to pass the value from an oracle package to the web when the the crystal report viewer kicks in.
    I found the source of the error. Its just a paranthesis that I used with the phone number inside the function.... The function looks like this
    function phone_number
    return varchar2
    is
    begin
    return '(123) 456 - 789';
    end phone_number;
    I really dont want that paranthesis to go. Its the format that everyone wanted. But they dont want that to be static on the report also
    Please help
    Thanks
    helpWithCr

    Sir, you are a legend!!! 
    Many thanks for putting me on the right track... 
    Here's where I went wrong and how I fixed it.
    First I installed the Azure Pack: MySQL Extension on the MySQL server.
    This was wrong, it needs to be installed on the WAP server/s.
    So I installed the extension on the WAP server and it still didn't work.
    So I uninstalled the extension from the MySQL server and it still didn't work.
    So I also installed the MySQL Connector/Net on the WAP server and it worked.
    This eventually fixed it. 
    What I will say is that in the documentation it doesn't mention installing the MySQL Connector/Net from the web platform installer on the WAP server (unless I have completely missed this)?
    Thanks again :-)
    Microsoft Partner

  • Getting the value of the selected items of the shuttle

    Hi Steve,
    How to get the selected items of the shuttle in the backing Bean upon clicking submit button?
    Regards,
    Gareth

    Check the ADF Developer Guide and the SRDemo
    application for a sample of using the shuttle
    http://download.oracle.com/docs/html/B25947_01/web_com
    plex008.htm#CEGHACEDHow to get the values from leading list. I have a pop-up with selectManyShuttle. The leading list values are retreived from from emailTable and there is no default values in the trailing List. When I click ok in the popup, the selectedValues is null.
    here is my code:
    <af:form>
    <af:selectOneChoice label="" valuePassThru="true" valueChangeListener="#{backingpsEmailUserContact.refreshSelectedList}" id="usercontactid" autoSubmit="true">
    <af:selectItem label="User" value="user"/>
    <af:selectItem label="Contact" value="contact"/>
    </af:selectOneChoice>
    <af:panelHorizontal valign="bottom" partialTriggers="usercontactid">
    <af:selectManyShuttle
    trailingHeader="Chosen"
    leadingHeader="Email"
    trailingDescShown="true"
    leadingDescShown="true"
    size="10"
    value="#{backingpsEmailUserContact.selectedValues}" >
    <f:selectItems value="#{backingpsEmailUserContact.allItems}"/>
    </af:selectManyShuttle>
    <af:commandButton text="Ok" action="#{backingpsEmailUserContact.cmdOk}" id="cmdOkid" partialSubmit="true"/>
    </af:panelHorizontal>
    </af:form>
    backingBean method
    public void cmdOk(){
    Object selectedList = this.getSelectedValues();
    // for (int i = 0; i < selectedList.size();i++){
    // System.out.println((String)selectedList.get(i));
    }

  • Numbers application on Ipad, the 'VALUE' function doesn't seem to work correctly on the string/text I want to convert to a value.

    Hi, I would appreciate if someone could assist with the following.  On the Numbers application on my Ipad, the 'VALUE' function doesn't seem to work correctly on the string/text which I want to convert to a value.  It gives me an error (in my example: 'VALUE requires a string specifying a number, but found "-14308.65" instead.'
    The exact same document (if converted from Numbers to excel), displays the converted string/text correctly in MS Excel as a value though.

    click on the cell then in the formula bar and use the arrow keys to move the cursor to see if there are any other characters in the cell that could confuse the function.  Also make sure the localization for your country is correct in System Prefs.
    Maybe copy the EXACT contents of the cell and post here.

  • How to find out the selected item in the lsit

    Hi all,
    How to find out the selected item in the list,can any please post some examples which easy to understand,because iam not a good programmer

    This sample program uses a checkbox as selection,  you could also use a HOTSPOT.
    report zrich_0002 no standard page heading.
    data: imara type table of mara with header line.
    data: check_box(1) type c,  
       report_lines type i.
    start-of-selection.
    * Create the gui status with BACK button in standard place
    * and a READ button in the application toolbar
      set pf-status 'CHECK'. 
    select * into corresponding fields of table imara           from mara up to 100 rows.
    loop at imara.   
    write:/ check_box as checkbox, imara-matnr, imara-matkl.  
    hide imara-matnr. 
    endloop.
      report_lines  = sy-linno - 1.
    top-of-page. 
    write: 'List of materials'.  uline.
    top-of-page during line-selection.  write:  'Material.....'.  uline.
    at user-command. 
    case sy-ucomm.  
    when 'READ'.   
      check_box = space.    
    set pf-status 'CHECK' excluding 'READ'.
          do report_lines times.       
    read line sy-index field value check_box.    
       if check_box = 'X'.        
    write:/  'You have selected material',
    imara-matnr.       
    endif.   
      enddo. 
    endcase.
    Regards,
    Rich Heilman

  • Cannot backup my files / copy my files and folders due to error message " The operation can't be completed because an item with the name ".DS_Store" already exists. "

    Hi Apple community!
    I have a [rather worrying] problem.
    When I try to copy all my files from my documents on my mac [or the entire documents folder] into an external drive, I get this error message
    " The operation can’t be completed because an item with the name “.DS_Store” already exists. "
    I am not given an option to skip this file or anything else.
    But I simply cannot complete the operation!
    I have tried deleting a few of the .ds_store files, [both in the original and in the destinations]
    but no success.
    The same thing keeps happening.
    At first, this was just happening when I was trying to backup to my dropbox folder [the one on my mac's harddrive, which gets synced to the cloud],
    but then I tried to back up my documents to my external hard drive, and I realized it is giving me the same error message.
    So effectively, it seems I cannot backup my files anywhere!
    Any help or advice would be greatly appreciated.
    Thank you.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Error message "The operation can't be completed because an item with the name .DS_Store already exists"

    Major headaches with copying files and folders between drives. I constantly (and I mean constantly) have to resort to copying files across in small batches (fewer than 10 works best) because anytime I try to copy lots of files and folders from my mac to an external hard drive (or from one external HD to a second external HD), I ALWAYS get the error message  "The operation can't be completed because an item with the name .DS_Store already exists".
    The files and folders are all Mac-generated, so hint or trace of foreign OSs in the mix.
    All file types are susceptible
    the HDs are all Mac OS X formatted, no foreign file formats involved
    the HDs are all journal-enabled, OS X extended formats
    have looked on here for previous posts, past suggestion was to disable creation of DS_Store files - not really a solution and realistically, defeats the purpose of their creation
    any ideas anyone?
    would appreciate any thoughts or sugestions, this has got me beat
    the context is that I have a lot of image files that I am copying (trying to...) new external 3TB drives for backup and the job appears endless if I have to do this in batches of 10 or so..!
    many thanks for any suggestions

    This is definitively a nuisance. When copying large amounts of files between volumes  try opening a terminal window and use use ditto. You need to type the directory paths of the source and the destination volume. When it starts ditto just coupes and optionally overwrites anything on the destination. You can get a verbose mode where it lists all activities.
    gunnars-mac-mini-i7:Volumes gunnar$ man ditto
    NAME
         ditto -- copy directory hierarchies, create and extract archives
    SYNOPSIS
         ditto [-v] [-V] [-X] [<options>] src ... dst_directory
         ditto [-v] [-V] [<options>] src_file dst_file
         ditto -c [-z | -j | -k] [-v] [-V] [-X] [<options>] src dst_archive
         ditto -x [-z | -j | -k] [-v] [-V] [<options>] src_archive ... dst_directory
         ditto -h | --help

  • Problem with copying to external drives 10.8.3 "the operation can't be completed because an item with the name .ds_store exists"

    After upgrading from 10.7.5 to 10.8.3 I cannot copy certain folders to any external drive. the operation can't be completed because an item with the name .ds_store exists. I have seen this problem in discussions for many years with no real solution. Does anyone have a resolution? Please help. This is very frustrating as I work in two locations and copy folders back in forth all the time.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • My iphone / mac no longer recognize they are the same Itunes library.  When I try to sync my phone now, it wants to erase everything and replace it with the computers itunes library.  I have purchased items on the phone I don't want to erase

    My iphone / mac no longer recognize they are the same Itunes library.  When I try to sync my phone now, it wants to erase everything and replace it with the computers itunes library.  I have purchased items on the phone I don't want to erase them from the phone.  The phone backs up fine, but won't sync. 

    File>Devices>Transfer Purchases from "iPhone" and then sync.

  • The operation could not be completed because an item with the name xyz already exists

    I am trying to make a click and drag backup on an external FAT 32 drive to compliment my Time Machine backup (long story) and I've done this each time by dragging my critical folders into the drive. I get a message asking me to stop, replace or skip, and whether to apply to all items. i click replace, apply all, and let it go.
    however, one stubborn folder refuses to comply. every single time I click and drag a group of folder that includes that one, I get a message saying "the operation could not be completed because an item with the name xyz already exists" even after I selected the the "apply all" prompt. at which point, the Mac stops transferring ALL the other files.
    I figured, OK, i'll just transfer the other folders individually and then deal with this folder later. so I do that, and once I get to the offending folder, I try to transfer just that one folder into the drive. no good; I get the operation message again. I decide to just transfer the contents of the folder, rather than the folder itself. No good, I just get the operation message about one of the folders within the main folder.
    anyone know the cause, or at least a fix?

    If you've installed a system modification called "TotalFinder," remove it according to the developer's instructions after backing up all data. Log out, log back in, and try again.
    Otherwise, open the Info dialog on both the source and the destination volumes. What is the Format of each? For example, it might be "Mac OS Extended (Journaled)".
    For some other possible solutions, see:
    operation can't be completed because an...: Apple Support Communities

  • P6 Professional R8.3 - (Cannot move selected items because the result will exceed the limit of WBS tree maximum levels)

    Hi,
    Has anyone encountered this error "Cannot move selected items because the result will exceed the limit of WBS tree maximum levels"?
    Please advise if there's any way around / solution to this. http://s8.postimg.org/bj900spcl/1_error.jpg
    Thanks.

    Thank you so much MichaelRidino!

Maybe you are looking for