Populating textfield based on entry of another textfield

Hi Guys,
I have a problem.
I have a textfield and entry information in it which should be populated in antother textfield. It sounds easy, but the trick is. For every new entry a new textfield should appear with this information. My problem is, that it creates a textfield, but for every single letter which I type in and not for a string when I push enter.
see attached example.
I hope you can help me!!!
Thanks,
Diana
This is the code: (I cant attach the example for some reason)
Table_SF._Repeat_SF.addInstance(1);
xfa.resolveNode("Table_SF.Repeat_SF[" + (Table_SF._Repeat_SF.count - 1) + "]").TextField1.rawValue = xfa.event.newText;

Hi Srini,
Thank you very much, it works!!
I just have another question.
the information which i enter in the textfield should be also populated in a listbox. i have a delete button with this code:
var 
selIndex = SOLlist.selectedIndex;
if 
(selIndex != -1){SOLlist.deleteItem(selIndex);
Table_SF._Repeat_SF.removeInstance(selIndex);
else {app.alert("You must select an entry from the List!");
it works, but when i export the data with xml, the informatation which i have deleted from  the listbox still remains. this is a problem.
Do you know how to solve this problem?
Thank you in advance!!
Diana

Similar Messages

  • Validate list column based on entry from another column

    Hi there
    I would like to ensure that a value is entered in list column B, if there is a value of 'Yes' in list column A.
    I assume this formula is entered in the Validation settings of the list, but cannot work out what is required.
    Is it something like?     =IF([Col-A]="Yes",IF(LEN([Col-B]<1,TRUE,FALSE),TRUE)
    Thanks
    Asher
    Fast, Cheap, Good. Choose any Two!

    Ahh, found a solution:
    =IF([Col-A]="Yes",IF([Col-B]<>"",TRUE,FALSE),TRUE)
    Now i need to do the same for other fields in the list, and these formulas must go together in the validation settings of the list, which is going to look messy.
    If i want to do the same with columns C and D, how would i append this to the formula?
    =IF([Col-C]="Yes",IF([Col-D]<>"",TRUE,FALSE),TRUE)
    Thanks
    Asher
    Fast, Cheap, Good. Choose any Two!

  • Form Guide - Populating a drop down with entries from another field(s)

    Greetings all!
    Here is what I am trying to accomplish:
    1. Build a repeating panel that has a field for the entry of a Name. (I can do this)
    2. Build a drop down field on another panel that will be populated with the Name entries from one or more of the repeating panel Name fields in 1. above. I would like this to happen while the user is in the same render of the form guide.
    3. Setup:
         LC ES2
         Workbench 9.5
         Would utilize Workspace to complete the form guide
         Want to use a .fml data model
    Any help would be appreciated.
    Best Regards,
    Rick Kuhlmann

    pguerett,
    Many thanks for that lca. I have been able to move forward with development of a POC Form Guide.
    However, I have one other issue that if solved will push my POC to the point of demo status for the business.
    Here it is:
    The business needs to be able to add the names of children to a Children Info panel on the form guide. - No problems with that.
    Then they need to be able to go to another panel in the form guide and select a child name from a drop down to associate that child with the name of a father. - The previous post with the lca solved that.
    Now what I need to do is to be able to take the selected child in the father panel and place that value into the data model.
    Why? because the final part of this form guide is to populate a pdf form that is really a legal petition to the court. The child(ren) names form the Children Info panel are listed at the beginning of the petition. Then the selected child in the father panel is displayed in the father section.
    So what I am looking to do is to populate that selected child in the father panel to a property in the data model.
    However, based on the lca you sent it does not seem that when I add a Data Object to the Data Model in the Guide Builder that I am not able to push that data back into the original Data Model. I thought that using a Binding might work but I have struck out so far.
    Clear as mud? Any help you or anyone else can provide would be wonderful.
    Thanks a ton!
    Rick Kuhlmann

  • Summarize or filter entries to another table

    Hello,
    please forgive my bad english but I am not a native speaker!
    I have a table:
    A..........B..............C..........D............E
    Name.......CalendarWeek...Date.......Amount 1.....Amount 2
    Tom........1..............05.01.09....100,00......20,00
    Susan......1..............05.01.09.....50,00......00,00
    Rob........1..............05.01.09....120,00......40,00
    Tom........2..............13.01.09....140,00......30,00
    Steve......2..............13.01.09....110,00......20,00
    Tom........3..............22.01.09.....80,00......00,00
    Susan......3..............22.01.09.....70,00......20,00
    Tom........4..............29.01.09....100,00......20,00
    Rob........4..............29.01.09....200,00......20,00
    I would like to filter out one certain name and put all corresponding entries in another table, i.e. like this:
    A..........B..............C..........D............E
    Name.......CalendarWeek...Date.......Amount 1.....Amount 2
    Tom........1..............05.01.09....100,00......20,00
    Tom........2..............13.01.09....140,00......30,00
    Tom........3..............22.01.09.....80,00......00,00
    Tom........4..............29.01.09....100,00......20,00
    I guess if I am able to do this I can figure out how to i.e. get certain weeks as well?
    A..........B..............C..........D............E
    Name.......CalendarWeek...Date.......Amount 1.....Amount 2
    Tom........3..............22.01.09.....80,00......00,00
    Susan......3..............22.01.09.....70,00......20,00
    I don´t wanna reorganize or filter in the orginal table since I need the results saved on a new table for printing and archiving.
    Thanks in advance
    Tom

    Tom,
    Another approach you may explore is to use the new Category feature of Numbers '09. Using your sample with a few more data rows, three identical tables were created.
    The Employee Table is categorized first by name and sub-categorized by week number while the Weekly table is categorized in reverse. Both are sorted by date, but the rows jump into place based on the categories as they are added. The category rows have been filled in with a darker green while a lighter green was used to fill the sub-categories in order to follow the content of the table visually.
    Adding rows to these tables can be somewhat unnerving because the completion of a cell will immediately move the new row to its proper category, so a third table, identical to the other two except that no categories are defined, is created. Data on these rows is copied to the bottom of the other two tables which become properly updated immediately.
    Formatting category rows is quite limited, but you are able to put subtotals in appropriate cells and add a fill color to make them stand out. Whatever formatting you apply to one category row is automatically carried to the other category rows of that level. More information is, of course, found under "Help".
    Also illustrated below is the capability of collapsing the categories so that only subtotals by week are shown.
    pw

  • How to display data from a recordset based on data from another recordset

    How to display data from a recordset based on data from
    another recordset.
    What I would like to do is as follows:
    I have a fantasy hockey league website. For each team I have
    a team page (clubhouse) which is generated using PHP/MySQL. The one
    area I would like to clean up is the displaying of the divisional
    standings on the right side. As of right now, I use a URL variable
    (division = id2) to grab the needed data, which works ok. What I
    want to do is clean up the url abit.
    So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end all
    I want is clubhouse.php?team=Wings.
    I have a separate table, that has the teams entire
    information (full team name, short team, abbreviation, conference,
    division, etc. so I was thinking if I could somehow do this:
    Recordset Team Info is filtered using URL variable team
    (short team). Based on what team equals, it would then insert this
    variable into the Divisional Standings recordset.
    So example: If I type in clubhouse.php?team=Wings, the Team
    Info recordset would bring up the Pacific division. Then 'Pacific'
    would be inserted into the Divisional Standings recordset to
    display the Pacific Division Standings.
    Basically I want this
    SELECT *
    FROM standings
    WHERE division = <teaminfo.division>
    ORDER BY pts DESC
    Could someone help me, thank you.

    Assuming two tables- teamtable and standings:
    teamtable - which has entire info about the team and has a
    field called
    "div" which has the division name say "pacific" and you want
    to use this
    name to get corresponding details from the other table.
    standings - which has a field called "division" which you
    want to use to
    give the standings
    SELECT * FROM standings AS st, teamtable AS t
    WHERE st.division = t.div
    ORDER BY pts DESC
    Instead of * you could be specific on what fields you want to
    select ..
    something like
    SELECT st.id AS id, st.position AS position, st.teamname AS
    team
    You cannot lose until you give up !!!
    "Leburn98" <[email protected]> wrote in
    message
    news:[email protected]...
    > How to display data from a recordset based on data from
    another recordset.
    >
    > What I would like to do is as follows:
    >
    > I have a fantasy hockey league website. For each team I
    have a team page
    > (clubhouse) which is generated using PHP/MySQL. The one
    area I would like
    > to
    > clean up is the displaying of the divisional standings
    on the right side.
    > As of
    > right now, I use a URL variable (division = id2) to grab
    the needed data,
    > which
    > works ok. What I want to do is clean up the url abit.
    >
    > So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end
    > all
    > I want is clubhouse.php?team=Wings.
    >
    > I have a separate table, that has the teams entire
    information (full team
    > name, short team, abbreviation, conference, division,
    etc. so I was
    > thinking if
    > I could somehow do this:
    >
    > Recordset Team Info is filtered using URL variable team
    (short team).
    > Based on
    > what team equals, it would then insert this variable
    into the Divisional
    > Standings recordset.
    >
    > So example: If I type in clubhouse.php?team=Wings, the
    Team Info recordset
    > would bring up the Pacific division. Then 'Pacific'
    would be inserted into
    > the
    > Divisional Standings recordset to display the Pacific
    Division Standings.
    >
    > Basically I want this
    >
    > SELECT *
    > FROM standings
    > WHERE division = <teaminfo.division>
    > ORDER BY pts DESC
    >
    > Could someone help me, thank you.
    >

  • How to create a new row for a VO based on values from another VO?

    Hi, experts.
    in jdev 11.1.2.3,
    How to create a new row for VO1 based on values from another VO2 in the same page?
    and in my use case it's preferable to do this from the UI rather than from business logic layer(EO).
    Also I have read Frank Nimphius' following blog,but in his example the source VO and the destination VO are the same.
    How-to declaratively create new table rows based on existing row content (20-NOV-2008)
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/13-create-with-params-169140.pdf
    I have tried:
    1.VO1(id,amount,remark1) and VO2(id,amount,remark2) are based on different EO,but render in same page,
    2.Drag and drop a Createwithparams button for VO1(id,amount,remark),
    3.add: Create insertinside Createwithparams->Nameddata(amount),
    4.set NDName:amount, NDValue:#{bindings.VO2.children.Amount}, NDtype:oracle.jbo.domain.Number.
    On running,when press button Createwithparams, cannot create a new row for VO1, and get error msg:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: For input string: "Amount"
    java.lang.NumberFormatException: For input string: "Amount"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    Can anyone give some suggestions?
    Thanks in advance.
    bao
    Edited by: user6715237 on 2013-4-19 下午9:29

    Hi,CM,
    I'm really very appreciated for your quick reply! You know, today is Saturday, it's not a day for everyone at work.
    My principal requirement is as follows:
    1.select/check some rows from VO2, and for each selection create a new row with some attributes from VO2 as default values for VO1's corresponding attributes, and during this process the user may be cancel/uncheck or redo some of the selections.
    --so it's better to implement it in UI rather than in EO.
    2.it's better to implement this function with declarative way as in Frank Nimphius' blog.
    --little Jave/JS coding, the better. I only have experience in ORACLE FORMS, little experience in JAVA/JS.
    In order to get full information for the requirements of my use case, can take a check at:
    How to set default value for a VO query bind variable in a jspx page?
    (the end half of the thread: I have a more realworld requirement similar to the above requirement is:
    Manage bank transactions for clients. and give invoices to clients according to their transaction records. One invoice can contain one or many transactions records. and one transaction records can be split into many invoices.
    Regards
    bao
    Edited by: user6715237 on 2013-4-19 下午11:18
    JAVE->JAVA

  • Can I assign a task based on information from another column?

    For example:
    Let's say I have a column called "Question Type" and this column has multiple checkbox choice, those being:
         Math
         Science
         History
         English
         Other
    I want to allow users to be able to select multpile catagories for the question, like making one both math and science (which right now is completely possible)
    I then want another column that says who the problem is assigned to. Bob is good at math, Joe at science, Jill at histroy, Jenn at English, and Billy handles everything else.
    1) Is there a way that the task can be automatically assigned to my math expert Bob when I specify that the item I am adding is a math problem?
    2) If I make a problem both math and science, can the task be assigned to both Bob and Joe?
    Thanks in advance!

    Hi,
    According to your post, my understanding is that you wanted to assign a task based on information from another column.
    To assign task to multiple users, you need to:
    Create a workflow and add action: Start Approval Process.
    Click these user, select the Group, change One or a time(serial) to
    All at onec(paralle).
    Right click the action, select Properties, click ExpandGroups, change No to
    Yes.
    Then you can assign task to each member of the group.
    I recommend to follow the steps as below to achieve what you want:
    Create a custom list, add columns: Question Type(Choice); Assigned to(Person or Group).
    Create a workflow associated the list.
    Add conditions and action as below:
    Then the task can be automatically assigned to 123 when the item is a math problem.
    In addition, if you make a problem both math and science, the task can be assigned to both 456 and 789.
    You can add other conditions to satisfy all the requirements.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Filter based upon results of another request

    How do I troubleshoot a Filter based upon results of another request issue?
    I have a report that lists every account that purchased a product in May.
    I have a report that lists every account that purchased a product between Jan - April.
    I have a report that lists every account that purchased a product in May and also between Jan-apr. The problem is it's returning Account Names that are valid for May but not for Jan-apr and I dont' know why. It filters some but not others, interestingly enough it seems to split it down the middle.
    Report A = 222 customers
    Report B = 673
    Report C = 111???
    When I compare A to B manually I get 94.
    Any ideas as to how I troubleshoot this?

    Worked it out ;-D

  • Adding a blog entry from another computer

    Is it possible to add a blog entry from another computer? Say all my iWeb sites are on my desktop computer and I want to add a blog entry from my laptop.

    You can do this if you transfer your Domain File to the laptop. An easy way to do this is outlined in these notes.
    Mark

  • Calendar shows entries from another day

    Hi. My wife has an issue with her Z10 calendar after the last OS upgrade (now using the last official SW version 10.2.0.424). Her Z10 is configured with one Gmail account (with 2 calendars in it) and with one Facebook calendar. If she looks in the calendar (f.e. month view) and when switching between the days to look at the entries overview in this days, the calendar stars suddenly to show in a day entries from another day. Its very annoying. She has to close the calendar, start it again, than its correct again. But after a moment it starts again to do the same problem. We tried to restore the factory settings and restore the backup, but it didnt help. Do you have the same problem or do you know how to solve this issue, please?

    RobertP wrote:
    Hi. My wife has an issue with her Z10 calendar after the last OS upgrade (now using the last official SW version 10.2.0.424). Her Z10 is configured with one Gmail account (with 2 calendars in it) and with one Facebook calendar. If she looks in the calendar (f.e. month view) and when switching between the days to look at the entries overview in this days, the calendar stars suddenly to show in a day entries from another day. Its very annoying. She has to close the calendar, start it again, than its correct again. But after a moment it starts again to do the same problem. We tried to restore the factory settings and restore the backup, but it didnt help. Do you have the same problem or do you know how to solve this issue, please?
    I would to do the factory reset, but before restoring the backup, try the calendar(s) to see if the behaviour still there. It maybe some corruption in the setting that is the cause, and when you restored the settings it may have restores the corrupt one as well.
    Using the Playbook and the Z10 and the Z30 and loving them
    Martin

  • Auto-populating fields based on another field (must access dif record type)

    This is a long one. I basically want to know if it's possible to have several fields auto-populated based on the data in another. It gets a little tricky here, because the information I want to auto-populate will have to be searched for in another record type. An example will hopefully make my request clear:
    I have 10's of thousands of records of the "Product" record type that each have a product number. Well, let's say I have several fields to enter into an "Opportunity" record type, based on the information for this product number in the "Products" record type. I want to know if I can enter the product number on the "Opportunity" record, and have OnDemand go look up this product number in the "Product" record type, pull information from that record, and auto-populate that additional information in certain fields back on the "Opportunity" record that I am entering information for.
    I know a workflow can do this on simple things where you have a few different part numbers and can create a workflow for each, but I literally have 40k part numbers, and I can't very well create that many workflows. If there was a way to dynamically script the workflow to use the part number in the field on the "Opportunity" record and go fetch the data to auto-populate, that would be nice.
    I also can't use a cascading picklist because, again, there are around 40k products records and picklists have a limit to how many choices you can have.
    My think tank has run empty, and I am out of ideas. I was wondering if there is any other way to get this done, or if it's even possible?
    Thanks,
    B
    Edited by: user10885599 on Feb 5, 2009 11:54 AM

    As I read this, I am wondering if you would be able to use the new JoinFieldValue() function to update the fields. The problem is that the Opportunity record does not have a direct link to products. The Revenue table does however, so you should be able to do this from Revenue, if that is how you are using the application.
    The process would be to create a workflow that watches for new Revenue records, and updates the new fields in the Revenue object using the JoinFieldValue function to pull the data.

  • Problem populating textfields from sql query

    As seen in the code below I pass a String and a database connection to the constructor of this class. If I use the query commented out in the code the connection works fine and the values text fields get populated with the data. However if I use the uncommented query, the connection fails and so the query is not executed.(Connection code included as well)
    Anyone have any ideas why???
    public invInfoPanel(String name, DBConnection db)
              try
                   this.setBorder(
                        BorderFactory.createCompoundBorder(
                             BorderFactory.createCompoundBorder(
                                                 BorderFactory.createEtchedBorder(),
                                                 BorderFactory.createEmptyBorder(2,2,2,2)),
                             this.getBorder()));
                   panel1 = new JPanel();
                   panel1.setLayout(new GridLayout(0,2,10,10));
                   nameLabel = new JLabel("Name ");
                   panel1.add(nameLabel);
                   nameText = new JTextField(15);
                   panel1.add(nameText);
                   deptLabel = new JLabel("Dept ");
                   panel1.add(deptLabel);
                   deptList = new JComboBox(deptStrings);
                   deptList.setBackground(Color.white);
                   panel1.add(deptList);
                   extLabel = new JLabel("Ext ");
                   panel1.add(extLabel);
                   extText = new JTextField(15);
                   panel1.add(extText);
                   panel2 = new JPanel();
                   panel2.setLayout(new GridLayout(0,1,2,10));
                   saveButton = new JButton("Save");
                   panel2.add(saveButton);     
                   printButton = new JButton("Print ");
                   panel2.add(printButton);
                   cancelButton = new JButton("Cancel");
                   panel2.add(cancelButton);
                   panel3 = new JPanel();
                   blankLabela = new JLabel(" ");
                   panel3.add(blankLabela);
                   panel3.setLayout(new GridLayout(0,4,2,10));
                   searchButton = new JButton("Search by");
                   panel3.add(searchButton);
                   searchList = new JComboBox(searchStrings);
                   searchList.setBackground(Color.white);
                   panel3.add(searchList);
                   blankLabel = new JLabel(" ");
                   panel3.add(blankLabel);
                   this.add(panel1, BorderLayout.WEST);
                   this.add(panel3, BorderLayout.CENTER);
                   this.add(panel2, BorderLayout.EAST);
                   query = ("select STAFF_NAME, DEPT, EXT from INV_DETAILS where STAFF_NAME = " + name);
    //query = ("select STAFF_NAME, DEPT, EXT from INV_DETAILS where EXT = 320);
                   rs = db.runQuery(query);
                   display(rs);
              catch(java.sql.SQLException e)
                   System.out.println("Could not connect");
         public void display(ResultSet rs)
    try
              if(rs != null)
                   if(rs.next())
                        nameText.setText(rs.getString("STAFF_NAME"));
                        deptList.setSelectedItem(rs.getString("DEPT"));
                        extText.setText(rs.getString("EXT"));
              else
                   System.out.println("No record found");
         catch ( SQLException sqlex )
              System.out.println("*** Details Not In Database ***" );
    //----------------DBConnection.java----------------------//
    import java.sql.*;
    import java.util.*;
    public class DBConnection
    static String url =
    "jdbc:oracle:thin:@kiwi.isg.computing.dcu.ie:1521:kiwi";
    String username = getUser();
    String password = getPass();
    static String driver = "oracle.jdbc.OracleDriver";
    Connection connection;
    String status = "Not Connected";
    public DBConnection()
    try
    Class.forName(driver);
    status = "Found Oracle driver, starting to connect...";
    catch (java.lang.ClassNotFoundException e)
    status = "Driver not found";
    return;
    try
    connection = DriverManager.getConnection(url,username,password);
    status = "Connected to Oracle";
    catch(java.sql.SQLException e)
    status = "Could not connect";
    public String getStatus()
    return status;
         public static String getPass()
              String a;
              ResourceBundle myResources1 = ResourceBundle.getBundle("info");
              a = myResources1.getString("password");
              return a;
    public static String getUser()
              String b;
              ResourceBundle myResources1 = ResourceBundle.getBundle("info");
              b = myResources1.getString("username");     
              return b;     
    public ResultSet runQuery(String s) throws java.sql.SQLException
    Statement stmt = connection.createStatement();
    System.out.println(s);
    return stmt.executeQuery(s);
    }

    Actually...got it sorted out. Thanks anyway

  • Populating fields based on list box values

    I have created an application based off of a table and so the 1st page is the actual report and the 2nd page is the data entry form. I have changed the form elements (like text box to select list) etc.
    I need to have (2) text box fields populated based on the value from the 2nd select list box. I created a pl/sql page process that will check the value of the select list and assign values to the text boxes. This is triggered when a POPULATE button is pressed.
    When I select a truck number in the select list - nothing happens and the original select list values get reset back to original. There is another button used in order to insert the data so that's why I figured I needed to add another button to trigger the population of the text boxes from a table. Here is my pl/sql page process used to populate:
    BEGIN
    SELECT dr1_name, dr2_name
    INTO
    :P2_DRIVER_1, :P2_DRIVER_2
    FROM
    active_drivers a
    WHERE
    :P2_DRIVER_CODE = a.code;
    END;
    It is set to fire on submit - before computations and validations.
    Regards,
    Jeff

    Not sure if this is the best way but it works for me……
    Make P2_DRIVER_CODE be a form element of Select List with Submit
    Create 2 items, P2_DRVR1 and P2_DRVR2, of form element Hidden
    Edit the P2_DRIVER_1 item. In the source region enter :P2_DRVR1 in Post Calculation Computation.
    Edit the P2_DRIVER_2 item. In the source region enter :P2_DRVR2 in Post Calculation Computation.
    Create a page rendering computation for item: P2_DRVR1.
    Type: SQL Query
    Computation Point: Before Header
    Computation: SELECT dr1_name FROM active_drivers a WHERE a.code = :P2_DRIVER_CODE
    Create a page rendering computation for item: P2_DRVR2.
    Type: SQL Query
    Computation Point: Before Header
    Computation: SELECT dr2_name FROM active_drivers a WHERE a.code = :P2_DRIVER_CODE
    When an item is selected in P2_DRIVER_CODE the page will submit/refresh, causing the computations to be fired. P2_DRIVER_1 and P2_DRIVER_2 will be populated by the return of the queries in the computations respectively.
    P2_DRIVER_1 and P2_DRIVER_2 are still editable by the user (unless you define them as read only) but if you have another select list with submit on the form, if used, the page will refresh and the computation will run again overwriting what the user has entered.
    Suppose I want the user to be able to change the defaults and keep from losing them (changed back to default) in case another item submits/refreshes the page.
    Create a hidden item P2_DRIVER_CODE_CHANGE with the source of: Static Text. For the Default Value enter &P2_DRIVER_CODE. (include the period after &P2_DRIVER_CODE)
    Edit the P2_DRVR1 and P2_DRVR2 computations and in the Conditional Computations region set:
    Condition Type: Text in Expression 1 != Expression 2 (include &ITEM substitutions)
    Expression1: &P2_DRIVER_CODE.
    Expression2: &P2_DRIVER_CODE_CHANGE.
    Hope this works for you,
    Jeff

  • Conditional inclusion of column cells based on value in another column?

    I was wondering if something like the following is possible -- I've looked through the forums and Numbers user guide but can't figure it out:
    Suppose I have a column A of sales figures, and columns B and C which basically have different attributes (say, color (yellow or green), size (small or large), and material (cotton or polyester)).
    I want to run basic statistics on various combinations: e.g. all yellow items regardless of size, all green cotton items regardless of size, all large yellow items regardless of material, etc.
    I want to be able to specify something like this:
    'Compute the average of every cell in column A where column B=="green" and column C=="large"'
    Is there a good way to go about doing this? Would I want to attack the problem using categories, sorting, and multiple tables? Or is there a way to conditionally include cell values from a range based on the value of that row's cell in another column?
    Thanks for any help.

    All I can think of to solve the quartile and median functions is to have another table of the same size as your original table that gets populated with just the items that match. Then you can do the quartile and median (and average) on that table. It's a one-at-a-time affair; you can only do one selection of size, color, and/or material at a time but you can get the median, mean, and quartiles of it. Of course, you could have multiple copies of this second table if you want to do more than one comparison at a time.
    In the attached file, unhide the hidden rows in Table 2 to see the formulas that do all the work.
    [files.me.com/pwb3/6hobt0.numbers.zip]
    Message was edited by: Badunit
    Message was edited by: Badunit

  • Populate text in field 1 based on calculation in another field

    Hello,
    Currently, I have a calculated field that is the sum of 7 numeric fields. I then have a text field that I would like to populate based on the calculation.
    For example, if the value in the calculated field (Total) is "27", textfield should read "Great Job". If Total is >27, the textfield should read "Keep Trying".
    I have two questions... What script should I try? and Where should the script reside?
    I have tried to add script in the 'change' section of the Total field, but since the user is not changing this field (it is calculated), the script is not being triggered. I have tried the script in the 'change' section of each of the 7 numeric fields, but am having trouble referencing the Total field value.
    Any help would be appreciated.
    Thanks
    E

    Eric,
    I added 8 Numeric Fields named MonTotal, TueTotal, WedTotal, ThurTotal, FriTotal, SatTotal, SunTotal and WeekTotal.
    I added a FormCalc script to the calculate event of the WeekTotal Numeric Field shown below:
    form1.#subform[0].MonTotal + form1.#subform[0].TueTotal + form1.#subform[0].WedTotal + form1.#subform[0].ThuTotal
    + form1.#subform[0].FriTotal + form1.#subform[0].SatTotal + form1.#subform[0].SunTotal
    Once I saw the calculation was working I inserted a new text field named "Comment" and a standard button (Labeled "Click on Completion" and added a FormCalc script to the click event of the standard button shown below:
    if (form1.#subform[0].WeekTotal == 27) then
    form1.#subform[0].Comment = "Great Job!!!"
    elseif (form1.#subform[0].WeekTotal > 27) then
    form1.#subform[0].Comment = "Keep Trying!!!"
    endif
    Hopefully this is helpful.
    Have a great day!
    Pam

Maybe you are looking for

  • Can't get keynote to stay connected to icloud

    After updating my ipad 3 to ios 7, I can't get Keynote or Numbers to connect to iCloud. Pages works just fine. I move the slider to use Icloud but it wont stick. Any suggestions.

  • Site search will not work in Firefox but works with Chrome

    I run three websites. One is personal (www.rossolson.org) and two are for non-profit organizations (www.outpostministries.org and www.tccsa.tc). All have site search through Google, my own site is paid to be ad-free, the non profits are free and with

  • JTextArea wordwrap according to the window size

    Hi All, I have a problem with JTextArea. I am constructing my UI as explained below: 1. Panel with GridBagLayout. 2. This panel have a grid of component. Each row will have a text area as a description and a text field to enter the value [ Text Area

  • Help! iPhoto card and book themes dissapeared

    There were no themes located. Until at least one theme has been installed, this feature will be unavailable. I get this message when I try to create a card or book in iLife '11 I am fully updated

  • Failed Executive Escalation

    I escalated my cash only status only to find they had no solutions for my issues either. Not being satisfied with the service I received from (removed) Fields, Executive relations, he had promised to send a letter to my address, so I would be able to