Added row/columns in navagation graphic

I have created a graphic with some buttons on it. I made some
simple rollover effects on the buttons. When I go to export it to
use on my web site, it creates an extra row with columns at the
very top and it wont display correctly on my site. I cant see the
space in FW, but it shows up in the browser? Any ideas?

Look at the Javadoc for TableModelEvent. It will return HEADER_ROW and other such constant values in special cases. Download the Java source code to actually see what int value these constants have.
I supect that the -1 you're getting is the ALL_COLUMNS constant, which tells you that all of the columns in a given row have changed.
Nick

Similar Messages

  • Auto-adjust references when adding rows/columns

    If I recall correctly, it was the behavior of Appleworks that if you added, say, column B, making the old column B into column C, all references to B throughout were automatically changed to C. This does not happen in Numbers. Is there any way to make this the default behavior or a different command to add rows/columns that causes references to automatically be adjusted accordingly?

    OK, this is going to make me sound really stupid, but I actually was so confused and tired that I meant the exact opposite of what I said. I was making a ledger-type spreadsheet keeping a running balance, and I wanted cells in the balance column to continue referring to the cell directly above them rather than to one absolute cell that used to be directly above them. That's how it works in Appleworks. I think.

  • Adding row/column in Web Analysis document

    Dears,
    I'm a beginner in Web Analysis. Is it possible to add a formula/text row/column in a document?
    I'm using version 11.1.2.3
    Regards,
    Ahmad.

    Hi,
    To insert a row or column in a freeform grid, right-click the freeform grid and select Insert Row or Insert Column
    HTH
    Regards,
    Nowshad.

  • Adding Rows and Columns to a table depending requirements

    Hi all,
    I have created a table with one row and 2 columns of a table. My client requested adding form one to 3 columns of the right table and rows as well, depending business requirements.
    I can add coding add columns on the right, but I cannot add rows because the columns dynamic.
    I tried to write the coding for adding rows but it is not successful.  Please help.
    event : click - add colum button
    for (var i = 0; i < form1.page1.Table1._Row1.count; i++){
    var newrow = form1.page1.Table1.resolveNode("Row1[" + i + "]");
    var newrow2 = form1.page1.Table1.resolveNode("HeaderRow[" + i + "]");
    newrow._Col3D.addInstance(0);
    newrow2._Col3D.addInstance(0);
    i also published my file for your reviewing.
    https://workspaces.acrobat.com/?d=xcgcfby89J-IHenn-8xeaQ
    Thank you very much,
    Cindy

    When you are adding instances it uses the default properties of the object...
    If its hidden as a default value in the form and you add an instance, the new instance will be hidden..
    So if you have 3 columns in your default row and trying to add an instance withthe 5 columns it will only add a row with 3 columns..
    If you want to add the columns to the table, you must add the column to each new row instance.
    E.g.:
    var intCount = xfa.resolveNode("page1.table1.Row1").instanceManager.count;
    form1.page1.table1._Row1.addInstance(1);
    xfa.resolveNode("page1.table1.Row1[" + intCount.toString() + "].Col3D").addInstance(1);

  • Disable users from adding-deleting row/columns

    we are running sharepoint 2010 and I would like to setup some type of persmission that will disable certain users from adding-deleting  rows/columns.
    any suggestions will be appreciated
    thank you

    Each list in sharepoint can be assigned certain roles.YOu can break the inheritance for that list and assign a group as a new role to the list.The users belonging to that group will only have access to that list depending to what permissions you give that
    group.The code goes something like this:
    SPWeb web = (SPWeb)properties.Feature.Parent;
    string ListName = "C";
    SPList list = web.Lists[ListName];           
                list.BreakRoleInheritance(true);           
    string GroupName = "Owners";
    SPGroup group = web.SiteGroups[GroupName];
    SPGroupCollection removeGroups = web.SiteGroups;
    foreach (SPGroup removeGroup
    in removeGroups)
    if(removeGroup.Name != GroupName)
    SPPrincipal principal = (SPPrincipal)removeGroup;               
                        list.RoleAssignments.Remove(principal);
    SPRoleDefinition rDefination = web.RoleDefinitions.GetByType(SPRoleType.Administrator);
    SPRoleAssignment rAssignment =
    new SPRoleAssignment(group);
                rAssignment.RoleDefinitionBindings.Add(rDefination);
                list.RoleAssignments.Add(rAssignment);
                list.Update();

  • Adding Rows Dynamically using AbstractTableModel

    I would do anything for some help on this one. I have a JTable that has 5 rows within 1 column. After the user gets to the 5th row I want them another row to be added so that they could add informatoin in there. When I do this with the following code below nothing happens and my column count ends up being -1 right after I do this. If anyone could help it this would be a great help. The output in my console when I end up putting information into all the rows up to the 4th one is the following.
    Vector size 0
    column count1
    column count1
    row 0column 0
    row 1column 0
    row 2column 0
    row 3column 0
    row 4column 0
    column count1
    row 4column -1
    /*********This is my AbstractTableModel Class *********/
    package com.ibm.esup.agent.dataqmonitor;
    * @author garbersb
    * This class sets up the Table Model for the Message Input Queue.
    import java.util.*;
    import javax.swing.table.*;
    import javax.swing.*;
    public class QueueTableModel extends DefaultTableModel
         /** Vector where the message information will be kept. */
         Vector data = null;
         /** Number of columns within the input queue table. */
         protected static int NUM_COLUMNS = 1;
         /** Number of rows within the input queue table. */
         protected static int START_NUM_ROWS = 5;
         /** Next row that could be empty. */
         protected int nextEmptyRow = 0;
         /** Number of rows we are at. */
         protected int numRows = 0;
         * @see java.lang.Object#Object()
         * This will end up creating a Vector when this gets created.
         public QueueTableModel()
              data = new Vector();
              System.out.println("Vector size " + data.size());
         * @see javax.swing.table.TableModel#getColumnName(int)
         * This will allow us to get the Column Name.
         public String getColumnName(int column)
              switch (column)
              return "";
         * @see javax.swing.table.TableModel#getColumnCount()
         public synchronized int getColumnCount()
              System.out.println("column count" + NUM_COLUMNS);
              return NUM_COLUMNS;
         * @see javax.swing.table.TableModel#getRowCount()
         public synchronized int getRowCount()
              if (numRows < START_NUM_ROWS)
                   return START_NUM_ROWS;
              else
                   return numRows;
         * @see javax.swing.table.TableModel#getValueAt(int, int)
         public synchronized Object getValueAt(int row, int column)
              try
                   String queue = (String) data.elementAt(row);
                   switch (column)
                        case 0 :
                             return queue;
              catch (Exception e)
              return "";
         * Don't need to implement this method unless your table's
         * editable.
         public boolean isCellEditable(int row, int col)
              return true;
         * Don't need to implement this method unless your table's
         * data can change.
         public void setValueAt(Object value, int row, int col)
              String queueValue = (String) value;
              data.addElement(queueValue);
              fireTableCellUpdated(row, col);
         * * inserts a row at the end of the table model */
         /*public void insertRow(){      
              int length = getRowCount();
              for (int i=0; i<length ; i++)
              //just add blank string values in this instance but your
              //code will initialise a default object no doubt
              data.addElement("");
              //baseData is the vector containing all your row vectors
              fireTableDataChanged();
         public void addRow()
              addRow(data);
              fireTableDataChanged();
         * Method updateQueue.
         * This method will allow us to update the queues with the latest
         * and greatest information of what messages got added or are
         * on the queue and what time the messages occurred.
         * @param monitorMsgObject
         public synchronized void updateQueue(MonitorMessageObject monitorMsgObject)
         public static void main(String[] args)
    /*********** THis is my main gui class that will has a TableListener and ActionHandler inner - classes within *************/
    package com.ibm.esup.agent.dataqmonitor;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.ItemEvent;
    import java.awt.event.ItemListener;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import java.io.IOException;
    import java.util.Vector;
    import javax.swing.JButton;
    import javax.swing.JCheckBox;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPasswordField;
    import javax.swing.JTextField;
    import javax.swing.*;
    import javax.swing.event.TableModelEvent;
    import javax.swing.event.TableModelListener;
    import javax.swing.table.DefaultTableModel;
    import com.ibm.as400.access.AS400;
    import com.ibm.as400.access.AS400Exception;
    import com.ibm.as400.access.AS400SecurityException;
    * @author garbersb *
    * This will allow the user to sign onto a particular system
    * with a valid user id and password.
    public class SignOn extends JFrame
         /** Label for the system name. */
         private JLabel labelSystemName;
         /** Label for the user name. */
         private JLabel labelUserName;
         /** Label for the password. */
         private JLabel labelPassword;
         /** Label for input queue. */
         private JLabel labelInputQueue;
         /** Label for output queue. */
         private JLabel labelOutputQueue;
         /** Text Field for the system name. */
         private JTextField textFieldSystemName;
         /** Text Field for the user name. */
         private JTextField textFieldUserName;
         /** Text Field for the password. */
         private JPasswordField textFieldPassword;
         /** Text Field for the input queue. */
         private JTextField textFieldInputQueue;
         /** Text Field for the output queue. */
         private JTextField textFieldOutputQueue;
         /** Button that will allow the user to submit. */
         private JButton buttonSubmit;
         /** String that will be used for the system name,
         * user name and password. */
         private String systemName, userName, password, inputQueue, outputQueue;
         /** Label for the input table where different queues
         * can be entered. */
         private JLabel labelQueueInput = null;
         /** One Column table where users can enter different
         * queues that they want to view. */
         private JTable tableQueueInput = null;
         /** Scroll pane that will be used to put the
         * table inside of it. */
         private JScrollPane scrollPaneQueueInput = null;
         /** Label for the interval time that they want to
         * check these different queues. */
         private JLabel labelIntervalCheck = null;
         /** Table panel */
         private JPanel panelTable = null;
         /** Text Field where users can enter a number
         * that will end up being the time that this application
         * will check thes queues. (This is in milli-seconds)
         * For example if a user wants to check the queue every 5 minutes
         * they would enter 60000 within this text field. */
         private JTextField textFieldIntveralCheck = null;
         /** Table Model Input Queue */
         private QueueTableModel tableModelInputQueue = null;
         /** AS400 system object that will be used to sign
         * onto an iSeries system. */
         private AS400 system;
         * Method loadGui.
         * This will load the Sign On Frame and will allow the
         * user to enter the information within the Text Field
         * or specify an xml file that has TCP information already
         * in it.
         public void loadGui()
              //Set the Title
              this.setTitle("Sign On to iSeries System");
              Container contentPane = this.getContentPane();
              GridBagLayout gbl = new GridBagLayout();
              GridBagConstraints gbc = new GridBagConstraints();
              gbc.insets = new Insets(10, 10, 10, 10);
              gbc.fill = GridBagConstraints.EAST;
              contentPane.setLayout(gbl);
              labelSystemName = new JLabel("System Name");
              gbc.gridx = 0;
              gbc.gridy = 1;
              gbl.setConstraints(labelSystemName, gbc);
              contentPane.add(labelSystemName);
              textFieldSystemName = new JTextField();
              textFieldSystemName.setColumns(20);
              gbc.gridx = 1;
              gbc.gridy = 1;
              gbc.gridwidth = 4;
              gbl.setConstraints(textFieldSystemName, gbc);
              contentPane.add(textFieldSystemName);
              labelUserName = new JLabel("User Name");
              gbc.gridx = 0;
              gbc.gridy = 2;
              gbl.setConstraints(labelUserName, gbc);
              contentPane.add(labelUserName);
              textFieldUserName = new JTextField();
              textFieldUserName.setColumns(20);
              gbc.gridx = 1;
              gbc.gridy = 2;
              gbc.gridwidth = 4;
              gbl.setConstraints(textFieldUserName, gbc);
              contentPane.add(textFieldUserName);
              labelPassword = new JLabel("Password");
              gbc.gridx = 0;
              gbc.gridy = 3;
              gbl.setConstraints(labelPassword, gbc);
              contentPane.add(labelPassword);
              textFieldPassword = new JPasswordField();
              textFieldPassword.setColumns(20);
              gbc.gridx = 1;
              gbc.gridy = 3;
              gbc.gridwidth = 4;
              gbl.setConstraints(textFieldPassword, gbc);
              contentPane.add(textFieldPassword);
    /*          labelInputQueue = new JLabel("Interval Check");
              gbc.gridx = 0;
              gbc.gridy = 4;
              gbl.setConstraints(labelInputQueue, gbc);
              contentPane.add(labelInputQueue);
              textFieldInputQueue = new JTextField();
              textFieldInputQueue.setColumns(20);
              gbc.gridx = 1;
              gbc.gridy = 4;
              gbc.gridwidth = 4;
              gbl.setConstraints(textFieldInputQueue, gbc);
              contentPane.add(textFieldInputQueue);
              labelInputQueue = new JLabel("Input Queue");
              gbc.gridx = 0;
              gbc.gridy = 4;
              gbl.setConstraints(labelInputQueue, gbc);
              contentPane.add(labelInputQueue);
              textFieldInputQueue = new JTextField();
              textFieldInputQueue.setColumns(20);
              gbc.gridx = 1;
              gbc.gridy = 4;
              gbc.gridwidth = 4;
              gbl.setConstraints(textFieldInputQueue, gbc);
              contentPane.add(textFieldInputQueue);
              labelOutputQueue = new JLabel("Output Queue");
              gbc.gridx = 0;
              gbc.gridy = 5;
              gbl.setConstraints(labelOutputQueue, gbc);
              contentPane.add(labelOutputQueue);
              textFieldOutputQueue = new JTextField();
              textFieldOutputQueue.setColumns(20);
              gbc.gridx = 1;
              gbc.gridy = 5;
              gbc.gridwidth = 4;
              gbl.setConstraints(textFieldOutputQueue, gbc);
              contentPane.add(textFieldOutputQueue);
              labelQueueInput = new JLabel("Input Queues");
              gbc.gridx = 0;
              gbc.gridy = 6;
              gbl.setConstraints(labelQueueInput, gbc);
              contentPane.add(labelQueueInput);
              tableQueueInput= new JTable();
              scrollPaneQueueInput = new JScrollPane(tableQueueInput);
              Dimension tableQueueInputDimension = new Dimension(220, 100);
              scrollPaneQueueInput.setPreferredSize(tableQueueInputDimension);
              gbc.gridx = 1;
              gbc.gridy = 6;
              gbc.gridwidth = 4;
              gbl.setConstraints(scrollPaneQueueInput, gbc);
              contentPane.add(scrollPaneQueueInput);
              //Setting up the table model input queue.
              tableModelInputQueue = new QueueTableModel();
              tableQueueInput.setModel(tableModelInputQueue);
              TableListener tableListener = new TableListener();
              tableModelInputQueue.addTableModelListener(tableListener);          
              buttonSubmit = new JButton("Submit");
              gbc.gridx = 0;
              gbc.gridy = 7;
              gbl.setConstraints(buttonSubmit, gbc);
              contentPane.add(buttonSubmit);
              RunHandler handler = new RunHandler();
              buttonSubmit.addActionListener(handler);
              //For now we will set the text in the
              //input and output queue for the Analyzer
              //Agent.
              textFieldInputQueue.setText("/qsys.lib/qesp.lib/anz_input.dtaq");
              textFieldOutputQueue.setText("/qsys.lib/qesp.lib/anz_output.dtaq");
         private class TableListener implements TableModelListener {
    public TableListener() {
    public void tableChanged(TableModelEvent e) {
    int row = e.getFirstRow();
    int column = e.getColumn();
    String columnName = tableModelInputQueue.getColumnName(column);
    Object data = tableModelInputQueue.getValueAt(row, column);
    System.out.println("row " + row + "column " + column);
    if (row == 4) {
         tableModelInputQueue.addRow();
              * @author garbersb
              * This will end up creating the System object
         * by getting the system name, user id and
         * password from the Text Field values.
         private class RunHandler implements ActionListener
              * @see java.awt.event.ActionListener#actionPerformed(ActionEvent)
              * When the submit button is selected it will cause the
              * action event to do something.
              public void actionPerformed(ActionEvent e)
                   if (e.getSource() == buttonSubmit)
                        //here we will get the system name, user name
                        //and password.
                        systemName = textFieldSystemName.getText().trim();
                        userName = textFieldUserName.getText().trim();
                        char[] passwordCharArray = textFieldPassword.getPassword();
                        String password = new String(passwordCharArray);
                        inputQueue = textFieldInputQueue.getText().trim();
                        outputQueue = textFieldOutputQueue.getText().trim();
                        //here we will create an AS400 Object.
                        try {
                             system = new AS400(systemName, userName, password);
                             system.connectService(AS400.SIGNON);
                        catch (AS400SecurityException as400e) {
                             as400e.toString();
                        catch (IOException ioe) {
                             ioe.toString();
                        //Going to hide the Sign On window now.
                        setVisible(false);
                        //Now we will load the class that monitors
                        //the input and output queues.
                        MonitorDataQueueGui monitorGui = new MonitorDataQueueGui(system, inputQueue, outputQueue);
                        monitorGui.addGui();
                        monitorGui.show();
                        monitorGui.pack();
         public static void main(String[] args)
              SignOn signOn = new SignOn();
              signOn.loadGui();
              signOn.setSize(400, 400);
              signOn.show();
              signOn.pack();
              signOn.setVisible(true);
              signOn.addWindowListener(new WindowAdapter()
                   public void windowClosing(WindowEvent e)
                        System.exit(0);
    }

    Well....I ended up using insertRow with the following code within the method.
         public void insertRow(){      
              numRows += 1;
              fireTableDataChanged();
    I changed my method for the getRowCount to the following;
         * @see javax.swing.table.TableModel#getRowCount()
         public synchronized int getRowCount()
              if (numRows < START_NUM_ROWS)
                   numRows = START_NUM_ROWS;
                   return START_NUM_ROWS;
              else
                   return numRows;
    Since I am not scared of deleting rows I think this is fine....After I did this within my SignOn class I have the following within my TableListener inner class.
         private class TableListener implements TableModelListener {
    public TableListener() {
    public void tableChanged(TableModelEvent e) {
    int row = e.getFirstRow();
    int column = e.getColumn();
    String columnName = tableModelInputQueue.getColumnName(column);
    Object data = tableModelInputQueue.getValueAt(row, column);
    System.out.println("row " + row + "column " + column);
    if (row > 4) {
         tableModelInputQueue.insertRow();
    I am wondering if this is the best way to do it. It seems to work now without a problem but like I said...I am wondering if this is the best thing to do. Any advise would be greatly appreciated and I really do appreciate the advise that has already been given to me.

  • Layout issue: separation row / column

    Hello,
    We have a reasonably big report that we show using a web application.
    I would like to add rows and columns to separate data in order to make the report better readable.
    What I have done right now is, I added a column/row with a forumla which says "=0". Then in the query properties I have the setting "Show zeros as" set so a zero is shown as a blanc.
    This shows columns and rows withour a value, so they work reasonably good as a separator.
    However, this also results in blanc cells for values that have a zero value, that should be shown as a proper 0 or 0,00!
    Does any of you have a solution for this? For example:
    a way to add columns and rows with a blanc value.
    a way to show a row or column only as a space when the complete row or column contains zeros.
    another idea???
    Thanks a lot!
    Stefan Beekman

    True,
    but using this solution I will have to make a lot of cell references. There are about 5 columns and 5 rows that I would like to add as "separator".
    I would expect that there is an easier way, that is also better from an administration point of view.

  • How do i set the background of the table( not of cell / row / column).

    How do i set the background of the table( not of cell / row / column).
    What happens when i load the applet the table is blank and displays the background color is gray which we want to be white.
    We tried using the setBackGround but it is not working maybe we are not using it properly. Any help would be gr8.
    Thanks in advance.

    I don't understand very well, but i guess that the background is gray when the table content's empty, isn't it?
    When the table model is empty, the JTable doesn't paint, so its container displays its background (often gray).
    In this case, what you must do is force the table to paint, even if the model is empty. So, you have to create your own table and override three methods :
    public class MyTable extends JTable
    //specify the preferred and minum size when empty
    myPreferredWidth = 200;
    myPreferredHeigth =200;
    myMinimunWidth = ...;
    myMinimunHeigth = ...;
    public Dimension getPreferredSize()
    if(getModel().getRowCount() < 1)
    return new Dimension(myPreferredWidth, myPreferredHeigth);
    else
    return super.getPreferredSize();
    public Dimension getMinimumSize()
    if( getModel().getRowCount() > 0)
    return new Dimension(myMinimunWidth, myMinimunHeigth);
    else
    return super.getMinimumSize();
    protected void paintComponent(Graphics g)
    if (getModel().getRowCount<1 && isOpaque()) { //paint background
    g.setColor(Color.white);
    g.fillRect(0, 0, getWidth(), getHeight());
    else super.paintComponent(g);
    }

  • ADF 11g Partial Triggers Row Column Update By Column in the Same Row

    Hi.
    I have a situation whereby I have a checkbox in a table row, which has an eventchangelistener, which upon activation, trys to update another column in the same row. I can not get this to work through partial triggers, even though I have set up my ids up correctly. The row though can be updated by a command button outside of the table using the same coding techniques, but I need it updated via the checkbox.
    Is there a limitation in updating a column within a row, from another row column's event change listener.
    Thanks.

    Updating the other rows from the checkbox works fine for me. Here is what I did.
    I DnD Emp table with a new column that says if the emp is new hire. If the checkbox is checked, I set Firstname and Lastname for that row as NewHire. I have partial triggers on Firstname and Lastname columns to update whenever checkbox is checked/unchecked and autosubmit on checkbox to true. Hope this helps.
    Try adding column selection property to single and see if it helps.
    Edited by: asatyana on Jan 16, 2012 12:48 AM
    Edited by: asatyana on Jan 16, 2012 12:49 AM

  • Adding new column to production database

    I have to add a new timestamp column, that defaults to the current date/time, to an existing production database. The table is large - 150M records. I am trying to understand the ramifications of adding a new column to a table this large that gets hit often, mostly with inserts and reads. The column does allow null values and I am not going back and populating existing records with a value. Basically, I am looking for some best practice guidelines - how to prepare, what to expect, what other processes should be followed along with this schema update.

    Radiators wrote:
    Thanks, I have not found any %TYPE or %ROWTYPE dependencies on the table I am altering. But at the same time I do not understand how these types of dependencies would invalidate packages. I wouldn't be breaking any %TYPE dependency because I am not dropping columns, only adding a new one. And according to documentation for %ROWTYPE - "If columns are later added to or dropped from the table, your code can keep working without changes." Can you point me to Oracle documentation that describes your concern in detail? Thanks.you can test it yourself
    SQL> CREATE TABLE abc (c1 NUMBER);
    Table created.
    SQL> INSERT INTO abc
      2       VALUES (99);
    1 row created.
    SQL> CREATE OR REPLACE PROCEDURE test_proc
      2  AS
      3     v   abc%ROWTYPE;
      4  BEGIN
      5     SELECT c1
      6       INTO v
      7       FROM abc
      8       WHERE ROWNUM = 1;
      9  END;
    10  /
    Procedure created.
    SQL> SELECT object_name, status
      2    FROM user_objects
      3   WHERE object_name = 'TEST_PROC';
    OBJECT_NAME                STATUS
    TEST_PROC                    VALID
    SQL> ALTER TABLE abc ADD (c2 VARCHAR2(10));
    Table altered.
    SQL> SELECT object_name, status
      2    FROM user_objects
      3   WHERE object_name = 'TEST_PROC';
    OBJECT_NAME                 STATUS
    TEST_PROC                     INVALID
    SQL> you should also consider the chance that some where if people are using "select * into" using this table, which will fail since you added new column. i don't see any unusual performance bottlenecks by adding a new column. in case of the backups, yes the earlier backups will not have the column. if you restore it, you will see earlier table structure itself. i have one specific question. why are you not attempting this in development/test environment first? even if it is a simple insert, it's always important to do it in test environments before attempting on production db. one thing for sure i know is, after adding column, you will have to recompile all the invalid dependencies. i think, it's better if you attempt it in test db and come up with any issues you see rather than asking a general question where problematic scenarios are plenty and rarely unknown before hand.

  • Dynamic add row/columns to data forms(11.1.1.3) v/s (11.1.2.1)

    Hello All,,
    There used to be an option in Hyperion planning 11.1.1.3 to Dynamic add rows in data form. I don't see this option in planning 11.1.2.1 ?
    Could you please suggest how we can grant right users to add dynamic add rows and columns in data forms? or it is possible in 11.1.2.1 ?
    out user want to have a feature of adding row in data forms (planning forms)
    Thank you
    Edited by: 842804 on Aug 17, 2011 12:49 PM

    Do you mean 11.1.2, if so then adhoc web forms really take over from adding rows as they add much more functionality.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Numbers missing reference after adding rows

    Hi,
    I came into a strange situation (which I did not have before).
    I have a sheet summary contaning formulas that uses cells from a different sheet. The source sheet contains more than 100 rows containing different numbers which are used in more than 50 formulas in the summary sheet.
    When adding rows inbetween the existing data sheet rows, I see that the summary sheet furmulas, in some cases, do not reference to the correct row number (they all should shift to the new row number) any more (out of 50 references only four got currapted).
    Any ideas are appriciated (is this a known bug).
    Thanks,
    Ziv

    Ziv,
    First, I want to thank you for asking a question that got me thinking about something I hadn't really considered before.
    I am not entirely sure I understand your question or the test you proposed in the second post, but if I am reading it correctly, what you are expecting is the way Numbers is designed to work (and the way I have seen it work) and when I try the test from your second post I get the results I expect.
    That is, a cell reference points to a cell, not a location; if you move that cell (for example, by adding a row above it, which moves it down one row) the reference in the formula is updated to reflect the new location, but the result of the calculation doesn't change.
    But this got me wondering about how Numbers dealt with references to ranges of cells. For example, the formula =SUM(C3:C6) is equivalent to =SUM(C3, C4, C5, C6), but what happens when you add a row after row 4? Apparently, the second expression remains a sum of the values in four cells, but the values of C5 and C6 are changed to reflect the fact that they have moved to C6 and C7. However, in the first expression, the new cell is added to the range, so that it is now the sum of five values. Actually, if you add a row (or column) to one that passes through a range, in the middle, or on the outside, the formula updates to add the new cell to the range, even if you are adding cells immediately below the bottom row in the range (so none of the cells in the original range actually move).
    I'm not sure any of this has much to do with your problem, unless possibly one (or four) of your expressions is referring to a range that happens to be one cell, which would update differently from one referencing a simple cell. As Jerry has said, it's pretty hard to know anything without knowing what expressions your formulas are using.
    At any rate, thanks for making me think about something I hadn't explored before.

  • Numbers 09 continuing formulas when adding rows

    Numbers 09 - I have a checkbook template but when adding rows at the bottom the formulas do not continue. I have tried adding rows from the last row "Add row below" and also while in the last cell hitting return. Neither of these work. Any suggestions?

    Hi jc,
    The rule is quite explicit: "If all the body cells in a column above the new row contain the same formula or cell
    control, the formula or cell control is repeated in the new row."
    So far there's been some information necessary to solving the problem missing from your posts. Please do the following, and supply the requested information:
    Unhide ALL rows. There are two ways to do this, depending on what was done to hid them.
    a. Click on the Reorganize button. If the checkbox beside "Show rows that match..." is checked, uncheck it.
    b. If the checkbox is unchecked, or if there are still rows hidden after unchecking it, go to the Table menu and choose Unhide all Rows.
    Click on any cell on the table to activate the table and show the Column and Row reference tabs. Hover the mouse over the tab for Row 1, then click the triangle that appears to open the local row menu. Repeat with rows 2, 3, 4, 5 and 6 until you find the first row whose menu starts with the item shown below. Which row has this menu item on your table?:
    Now click on cell G2 (the first cell containing a balance).
    Select and Copy the whole formula from this cell. Paste it into your reply to this message.
    Repeat step 3 with the formula from cell G3. Paste it directly below the formula from G2, using the example below as a guide:
    G2: (paste formula)
    G3: (paste formula)
    Regards,
    Barry

  • Problems with Adding Fields/Columns to Crosstab in XI

    Post Author: ph03nix
    CA Forum: General
    I am having problems with formatting a crosstab report in CRXI and am hoping that someone has a solution. 
    The crosstab report is a subreport, and requires the following columns, grouped by Firm (also not working optimally, but at least working):
    Evaluator,   Factor1Rate,&#91;Factor2Rate, .., FactorNRate&#93;, Summary, UpdateDate, UpdatedBy
    Where:
    Evaluator is the person that did the evaluation that resulted in each rating (formula field)
    Factor1Rate, etc, may have one, many, or all of these be applicable - there can be up to 15 of these.  Each FactorRate column is to  display the "rating" given by the Evaluator in the corresponding row/column (this much works).  The table heading is a formula, but the corresponding rate is not.
    Summary should display "Complete"  if and only if there is a Comment field (not displayed) filled out for each FactorNRate that has a value of 0, 1 or 5 - otherwise it is blank
    DateEntered is one of 2 fields ("last_updated" , or "creation_date" if  last_updated is null - a formula field)
    UpdatedBy is the last name of the person who last touched the ratings (formula field)
    I have gotten the FactorRates to display in the headers, and gotten the corresponding rates to display underneath them, but I cannot seem to add any other columns to the report - they are either added as headers with the factor_rating columns repeated as subgroups (with incorrect data), or are added under existing headers with duplicates of the ratings.  I just want to add one column for each field as if it were a normal (non-crosstab) table. 
    TIA!

    the 3 last files
    Attachments:
    Z1&Z2.vi ‏19 KB
    tau_inn (SubVI).vi ‏16 KB
    tau_ut (SubVI).vi ‏10 KB

  • Adding a column to a DB table with CMP entities

    Morning all.
    I've been asked whether adding a column to a database table will break the CMP entity bean (EJB2) associated with the table. I suspect that it won't and that the new field will be ignored. Another developer here says that it will no longer compile (I can't see how this could be the case but still...) and I can find no evidence to either refute or corroborate either position.
    Can anyone tell me for definite - if we add a column to a database table mapped to a CMP entity bean, will we HAVE to update the bean, or can we leave it ignorant of the new column?
    (For the purposes of the question, please assume that the column has no constraints i.e. can be null etc.)
    Thanks in advance
    -- kaideejee
    Message was edited by kaideejee : CMB entities? What are they? Typo fix.

    Well alterations(adding / removing a column) to the
    table should be made available to the bean
    irrespective of the persistance(CMP OR BMP) or normal
    bean with your own methods that depicts the
    behaviour.
    reason is simple: probably bean may/may not contain
    the corresponding setter or getter or finder methods
    related to the ALTERED TABLE(NEW COLUMN)The reason for what is simple? Sorry I may have missed your point there. Are you saying that it's correct practice to make it available to the bean, or that it will be made available behind the scenes, subject to getters/setters being created?
    Assuming we choose not to create these getters and setters (we have a horrible hybrid monster which uses stored procedures for some things and EJB for others, so it's feasible that the EJB end may not need to see some fields used by other parts) would the entity beans continue to play nicely with the database rows, or would the additional columns throw it completely?
    Cheers
    -- kaideejee

Maybe you are looking for