Automatic line of the dynamic table numbers

Hi, with your help I've almost finished my table. My table has 18 rows and there add line btn. Is it possible automate so that when I add lines they will have numbers of numbering of the lines automatically. I tried the indexing, but it does not work.

this.rawValue = this.parent.index

I am trying to improve also a calculation script and for some reason I get and error. Will you be able to let me know what is wrong. My script is:

Form1. SubTable.Table2.Row1 [0]. Total::calculate - (FormCalc, client)
If (AmountNet > 0) then
Total = AmountNet + VAT

else (AmountNet == 0) and (rate > 0)
Total = AmountForeign /ExchangeRate
endif

I checked with the check script syntax and it's ok, but I still get an error.

I have attached a picture of what I get a a final doc.

Thanks a lot for your help!

Hello

Looking at the form once again, I think that's what you're after:

if(AmountNet > 0) then
$ = AmountNet + VAT
else if ((AmountNet is null or AmountNet == 0) and rate of change > 0) then
$ = AmountForeign / exchange rate
endif

In the previous version, the test was "when AmountNet == 0; However this does not check if the field was empty. The code above in red AmountNet checks two conditions: If the field is empty OR if the user has put in £0.00. If one of them is true, then the first part of the test is satisfied. The script moves to focus on the value of the ExchangeRate separately.

Hope that helps,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Only of first line of the dynamic table records in pdf format

    Please help me with this.  I have a dynamic array in an xdp which can be transformed by adding lines (called the details).  It seems to work in the browser, when I edit.  However, when I save as pdf, saves only the top line.  No idea why the entire table is not save the PDF?  Thanks in advance.

    I compared files markup of the xdp to form that works and one that does not.  I found that there is a line named templateDesigner expand {BTW dough doesn't seem to work in this window here, which is irritating}.  In any case, the form that did not work, it was 0 and in those who worked it is 1, so I guess that's why.

    I wanted that are correlated with a checkbox in the hierarchy of the Adobe Livecycle Designer GUI, but I would not again and now I have other projects to work on.  However, I hope this will help others with this problem.

    If anyone knows where the checkbox for this is the hierarchy in Adobe Livecycle architects, thanks for posting here.

    I used the tool of comparison was SVN diff, which opens WinMerge if installed on your machine.  The two form of work in a * powerful * tool of comparison.

    Of course, the xdp editing can be very risky, so be careful if you go this route.

    Thank you!

  • Automatic line in the Table numbering format

    I use the following code to the AutoNumber from the dynamic table lines:

    this.rawValue = this.parent.parent.index +1;

    but I want the numbers to appear with a time - like this 1. or 2.

    How can I add this?

    this.rawValue = this.parent.parent.index +1 + ".";

    does not work

    You may have too many parents

    This.rawValue try: = this.parent.index + 1;

  • Obtaining error APP-FND-00874: Routine FDFBDF found no line in the FND_DESCRIPTIVE_FLEXS table

    I wrote a stored procedure in our custom schema.  I have granted rights of running APPS to it.   When put in a concurrent program I get this message and it will not even start running. I'm under the it the purchase of Super user


    APP-FND-00874: Routine FDFBDF found no line in the FND_DESCRIPTIVE_FLEXS table


    So I created 2 exactly stored procedures as below but different name.  I put one in our custom schema and the other in the scheme of the APPS and I still get the same error message.


    create or replace

    PROCEDURE TESTPROCEDURE1 (errbuf OUT VARCHAR2, OUT VARCHAR2 retcode) HAVE

    BEGIN

    NULL;

    END TESTPROCEDURE1;

    Was that there was a control on behalf of the simultaneous request character and, possibly, the short name.   It was not visible until I stuck in another application.

    Thank you for all your help.

  • How to add new features to the line in the nested table advace?

    Hello

    I want to create a new line in the nested table advance.

    Help, please.

    Thank you

    Hello

    Use the code below to add a line in the nested Table.

    If (PageContext.GetParameter ("addRows")! = null) {}

    OAAdvancedTableBean sectionsTable = (OAAdvancedTableBean) webBean.findChildRecursive ("AdvTblRN");

    OAInnerDataObjectEnumerator sectionsEnum = new OAInnerDataObjectEnumerator (pageContext, sectionsTable);

    {while (sectionsEnum.hasMoreElements ())}

    Set of rows sectionsRowSet = sectionsEnum.nextElement () (set of lines);

    for (int i = 0; i)< 1;="">

    NewRow = sectionsRowSet.createRow ((OARow)) OARow;

    sectionsRowSet.insertRowAtRangeIndex (sectionsRowSet.getRowCount (), newRow);

    }

    }

    Thank you

    Dilip

  • making line for the current line on the expansion table

    Hello

    I use JDeveloper 11.1.1.5.0

    I have a table with facet detailstamp enabled. Each line is to have an arrow icon to expand this line.

    My problem is that line expand action seem to work independently with the selection of rows in the table. When I develop a line, it does not only rank as current. I tried with the code below to make the line of the current table, but could not do.
        public void makeCurrentRow(RowDisclosureEvent rowDisclosureEvent) {
            usersTable = (RichTable)(rowDisclosureEvent.getSource());        //usersTable is the binding of the table on the page
            RowKeySet discloseRowKeySet = usersTable.getDisclosedRowKeys();
            usersTable.setSelectedRowKeys(discloseRowKeySet);
    
            AdfFacesContext.getCurrentInstance().addPartialTarget(usersTable);
        }
    Please let me how can know I do the table row under the current name on the expansion of this line.

    Kind regards
    Fox

    I implemented a sample here http://tompeez.wordpress.com/2013/04/12/make-disclosed-row-the-current-row-when-using-a-detail-facet-of-a-table/

    Timo

  • view multiple lines in the advanced table

    Hi all

    I have a requirement. I created advancedtable. When the page loads, to display 4 rows at a time. Can anyone please help how to achieve this req

    Kind regards
    Murali

    Hello

    Write the code below in AM that will create 5 blank lines in the advanced table.

    xxVOImpl voImpl = getxxLineVO1();
    voImpl.setWhereClause ("1 = 2");
    voImpl.executeQuery ();
    for (int i = 1; i)<=5>
    {
    Line = voImpl.createRow ();
    voImpl.insertRow (row);
    row.setNewRowState (Row.STATUS_INITIALIZED);
    row.setAttribute ("column1", i);
    row.setAttribute ("column2", "XYZ");
    }

    Kind regards
    Mary

  • Restore the value of the selected line in the editable Table.

    Hello, I use Jdeveloper 11.1.2.1.0.

    My problem is:
    1. Select a line in the editable table.
    2. change the value inside elements of the af:inputText of columns.
    3. tap on restore.
    4. the values of the selected line remains the same.

    If I select another line, before the restore, the restore will work as expected.

    I want to when you press the button cancel the values of the selected row to be rollback-ed as well.

    Set the immediate on all the inputTextFields in the table and it worked.

    Thank you.

  • Data does not save in the dynamic table

    My form has been active player and all the information can be recorded with the exception of the data entered by the user in the dynamic table.

    Should I change the binding of data?

    https://Acrobat.com/#d=SWkT2mrJBJbxk * QJGmN0Ng

    Appreciate any help!

    Tracy

    Hello

    OK, I found the root of all evil.

    To resolve this problem, you need to replace the script that caculates the dates in the dynamic table by another.

    Go to table calculate a remove the event script.

    Then, select the Date field in the first row of the table and add this script to its change event.

    var StartDate = $event.newText
    var DateFormat = "MM/DD/YY"
    
    if (StartDate ne $event.prevText) then
              var selectedDate = Date2Num(StartDate, DateFormat)
                var selectedDay = Num2Date(selectedDate, "DD")
              var selectedMonth = Num2Date(selectedDate, "MM")
              var selectedYear = Num2Date(selectedDate, "YY")
              var firstDay = Date2Num(Concat(selectedMonth, "/", "01/", selectedYear), DateFormat)
              var lastDay = 0
              var dayNumber = firstDay
    
              $event.change = Num2Date(firstDay, DateFormat)
    
              for i = 0 upto 30 step 1 do
                        if (Num2Date(firstDay, "MM") eq Num2Date(dayNumber, "MM")) then
                                  dayNumber = dayNumber + 1
                                  lastDay = dayNumber
                                  Table._Row.addInstance(1)
                                  Table.Row[i].Date = Num2Date(dayNumber - 1, DateFormat)
                                  Table.Row[i].Day = Num2Date(dayNumber - 1, "EEE")
                        endif
              endfor
              Table._Row.removeInstance(Table._Row.count - 1)
    endif
    

    https://Acrobat.com/#d=qEVfk * AbNz5qfmJqF * BovA

  • Line in the ADF Table color

    Is it possible to alternate the color of the lines of the ADF table? Do I have to use a skin?

    Code example would be much appreciated.

    Thank you, Mitch

    Read about the line of the bands here:
    http://download.Oracle.com/docs/CD/E12839_01/apirefs.1111/e12419/tagdoc/af_table.html
    Basically, you can use the rowBandingInterval attribute.

  • Add lines to the slot table with apex_item.checkbox form?

    Hello

    I created a data manipulation process to add a line in a tabular presentation. The problem is that I have a few boxes and when I click on the button to call the procedure for adding line is not
    create one of the only text fields. Is anyway for me to create the checkboxes in this way?

    Thanks in advance!

    Hello

    Take a look on Re: Add a line in the detail table when the checkbox is enabled on a table of master report clone an entire line so it should include check boxes. Just make sure that ypu run updateInputs() or something similar to make sure that all the boxes have unique attributes "name".

    Andy

  • Problem with the name of the dynamic Table

    Hi all

    I can't using a dynamic table name. I have the following code...
    declare l_cur sys_refcursor;
    l_ID int;
    l_tableName varchar(30);
    BEGIN
    
    open l_cur for
    select hkc.ColumnID, mapping from &HKAPPDB_Schema_Name..doctablemapping ddm
    inner join &HKDB_Schema_Name..HKColumns hkc on hkc.doctablemappingid = ddm.id
    where ddm.id > 0;
    LOOP
         FETCH l_cur into l_ID, l_tableName;
         EXIT WHEN l_cur%notfound;
                
         -- update missing VerbID in DocumentDocMapping table
         UPDATE &HKAPPDB_Schema_Name..IndexedDocument 
         SET VerbID = (SELECT t.VerbID 
                             FROM (SELECT DocRef, VerbID, DateUpdated 
                                  FROM &HKAPPDB_Schema_Name..l_tableName dd        - this is where the dynamic table name is used
                                  WHERE dd.VerbID is not NULL))
         WHERE HKColumnID = l_ID AND VerbID is NULL;
    
    END loop;
    end;
    /
    When I try to execute it I get an error

    ORA-00942: table or view does not exist

    What I am doing wrong?

    Kind regards
    Toby

    You cannot use a variable instead of a table name. You must build the dynamic SQL. Search for IMMEDIATE EXECUTION or DBMS_SQL in Document Oracle.

  • Search DR. for line of dashboard, dynamic table to retrieve the offices assigned table

    Hello


    I don't have information on the role of the user when running in the session variable.
    Not in the database.


    Now, to get office that manages a Manager I need to get the role, i.e. "areamanager".
    and the username "mike01" to recover the offices "mike01" manages (sql with two parameters?).

    It is possible that a local 'bob12' Office Manager uses the same table edge OBIEE but for him
    the role is 'localmanager' and he would see only the office works in, not all the other offices "mike01" also manages.


    If I had roles in an array of DB Oracle, it would be easy. I'd create just a view of the mapping.
    The problem is, I do not have this information in the DB, but I need
    to prefilter the dash prompt, so the "localmanager" can't select
    all offices but only his own. "mike01" on the other hand, all its functions.

    Now, how do I do that? I thought about the new .rpd 11g function lookup table to pass session variables to
    a SQL function or procedure. Which seems doable?

    Hi metalray,

    Not sure about the transmission session variables return from a procedure...

    But a simple way to do this is to have several guests, one for each role.  Filter them according to your requirements, place them on the dashboard and conditionally hide them based on the role of the user so that only the appropriate message appears.

    JB

  • name of the dynamic table in a view

    How can I create a view of a table whose name is dynamically determined?

    for example, I have tables for each month table_2010401, the table_201402, the 201403 table and so on. I need to extract the data from the last table. This is more or less what I want to do:

    CREATE OR REPLACE VIEW VW_TABLE

    AS

    SELECT * FROM

    (SELECT TRIM (MAX (TABLE_NAME)) FROM ALL_TABLES WHERE TABLE_NAME LIKE 'POL_LINK %' AND OWNER = 'ACTUARYD')

    );

    Can anyone help? Thank you in advance.

    Most approach simple and straight forward it would be to recreate every month a CURRENT_TABLE view or a synonym that points to a table 'current' - table_2010401 or table_20140301.

    You can recreate this view, or synonym every month just after creating the table current.

    Another approach would be to create a view based on a function of pipeline that derives from a necessary table name and uses dynamic SQL statements to get the lines of him to channel them in the view.

  • Accuracy of counties line in the MySQL Table

    I was just looking at the counts of row of the table for some of my MySQL tables listed in HQ... some of these tables should only increase in number of lines (never delete us rows), but table varies greatly as to how many lines is in the table.

    So I have two questions...
    (1) these figures are absolutely not accurate... his watch a table which always increases in length as having 100 lines, then 75 and 90 and 88, etc..  IT should show 100, 101, 104, 110.

    (2) I know that the MySQL "SELECT COUNT (*) FROM tablename" statement is VERY slow on my servers.  HQ runs this command on my database?  If so, I need to disable this "feature" because he's going to kill my database.  The COUNT command on a table over 1 million lines takes an incredible amount of resources on my MySQL server... and we try to avoid to execute commands to COUNT on these large tables...
    (a) if it executes a SELECT COUNT?
    (b) can I turn that off?

    Thank you!
    Stephen

    Hello

    It seems to me that hyperic is not a command select count(), but one
    display the State of the table. It is incorrect when you use innodb tables...

    "Some drivers of storage, such as MyISAM tables, store the exact number. For others
    engine storage, such as InnoDB, this value is an approximation and may
    changing the actual value by as much as 40-50%. In this case, use
    SELECT COUNT (*) to get an accurate count. »

    The advantage of this is that it is not processor intensive.

    Rgds

    Simon.
    >
    > I was just looking at the counts of row of the table for some of my MySQL tables
    > listed in HQ... some of these tables should only be more and more
    > lines (never delete us lines), but the picture varies greatly as to how much
    > rows are in the table.
    >
    > So I have two questions...
    > 1) these numbers are absolutely not accurate... its a table showing that
    > increasing in length as having 100 lines, then 75, then 90, then 88,.
    > etc.  IT should show 100, 101, 104, 110.
    >
    (> 2) I know that the MySQL "SELECT COUNT (*) FROM tablename" statement is
    > VERY slow on my servers.  HQ runs this command on my database?  If
    > then I have to disable this "feature" because he's going to kill my database.  The
    > Order of COUNTY on a table over 1 million lines takes an incredible amount
    > resources on my MySQL server... and we try to avoid running COUNT
    > orders on these large tables...
    (> a) if he executes a SELECT COUNT?
    (> b) can I turn that off?
    >
    > Thank you!
    > Stephen
    >
    > --
    > This message has been scanned for viruses and
    > dangerous by MailScanner and is content
    > supposed to be clean.

Maybe you are looking for