Created the form based on the table - created new line - how to retrieve line editing?

Hello

Sorry for such a stupid question, but being new in APEX, I don't know much about how the end user on a form.

I have created a new form (not in a table), based on a table.

I ran the form and created a new line.

After the line was created, the form comes back ready to create another line (all the values in the fields).

How can I go on the recovery of the line, I added just to make a few changes?

Again, please forgive my ignorance.

Mason

Masong says:

Sorry for such a stupid question, but being new in APEX, I don't know much about how the end user on a form.

Or about how best to use this forum. Always include all the details of your environment and your application when you post a question so that we can provide a solution version - and context, case-specific: How to get the answers from the forum

I have created a new form (not in a table), based on a table.

I ran the form and created a new line.

After the line was created, the form comes back ready to create another line (all the values in the fields).

How can I go on the recovery of the line, I added just to make a few changes?

Ensure that the attribute key back to point in the line process of... The ARP process is defined to return the value of PK of records inserted in the element of key primary page and delete any Reset Page clearly session state process created by the wizard page.

Tags: Database

Similar Questions

  • I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    Mr President.

    I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?

    formdoubletables.png

    the page source is

    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
                    xmlns:f="http://java.sun.com/jsf/core">
      <af:panelFormLayout id="pfl1">
        <af:group id="Group">
          <af:inputText value="#{bindings.VoucherId.inputValue}" label="#{bindings.VoucherId.hints.label}"
                        required="#{bindings.VoucherId.hints.mandatory}" columns="#{bindings.VoucherId.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId.hints.precision}"
                        shortDesc="#{bindings.VoucherId.hints.tooltip}" id="it1">
            <f:validator binding="#{bindings.VoucherId.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId.format}"/>
          </af:inputText>
          <af:inputDate value="#{bindings.VoucherDate.inputValue}" label="#{bindings.VoucherDate.hints.label}"
                        required="#{bindings.VoucherDate.hints.mandatory}"
                        columns="#{bindings.VoucherDate.hints.displayWidth}"
                        shortDesc="#{bindings.VoucherDate.hints.tooltip}" id="id1">
            <f:validator binding="#{bindings.VoucherDate.validator}"/>
            <af:convertDateTime pattern="#{bindings.VoucherDate.format}"/>
          </af:inputDate>
          <af:inputText value="#{bindings.Credit.inputValue}" label="#{bindings.Credit.hints.label}"
                        required="#{bindings.Credit.hints.mandatory}" columns="#{bindings.Credit.hints.displayWidth}"
                        maximumLength="#{bindings.Credit.hints.precision}" shortDesc="#{bindings.Credit.hints.tooltip}"
                        id="it2">
            <f:validator binding="#{bindings.Credit.validator}"/>
          </af:inputText>
        </af:group>
        <af:group id="g1">
          <af:inputText value="#{bindings.Lineitem.inputValue}" label="#{bindings.Lineitem.hints.label}"
                        required="#{bindings.Lineitem.hints.mandatory}" columns="#{bindings.Lineitem.hints.displayWidth}"
                        maximumLength="#{bindings.Lineitem.hints.precision}" shortDesc="#{bindings.Lineitem.hints.tooltip}"
                        id="it3">
            <f:validator binding="#{bindings.Lineitem.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Lineitem.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.VoucherId1.inputValue}" label="#{bindings.VoucherId1.hints.label}"
                        required="#{bindings.VoucherId1.hints.mandatory}"
                        columns="#{bindings.VoucherId1.hints.displayWidth}"
                        maximumLength="#{bindings.VoucherId1.hints.precision}"
                        shortDesc="#{bindings.VoucherId1.hints.tooltip}" id="it4">
            <f:validator binding="#{bindings.VoucherId1.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId1.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Debit.inputValue}" label="#{bindings.Debit.hints.label}"
                        required="#{bindings.Debit.hints.mandatory}" columns="#{bindings.Debit.hints.displayWidth}"
                        maximumLength="#{bindings.Debit.hints.precision}" shortDesc="#{bindings.Debit.hints.tooltip}"
                        id="it5">
            <f:validator binding="#{bindings.Debit.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Credit1.inputValue}" label="#{bindings.Credit1.hints.label}"
                        required="#{bindings.Credit1.hints.mandatory}" columns="#{bindings.Credit1.hints.displayWidth}"
                        maximumLength="#{bindings.Credit1.hints.precision}" shortDesc="#{bindings.Credit1.hints.tooltip}"
                        id="it6">
            <f:validator binding="#{bindings.Credit1.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Particulars.inputValue}" label="#{bindings.Particulars.hints.label}"
                        required="#{bindings.Particulars.hints.mandatory}"
                        columns="#{bindings.Particulars.hints.displayWidth}"
                        maximumLength="#{bindings.Particulars.hints.precision}"
                        shortDesc="#{bindings.Particulars.hints.tooltip}" id="it7">
            <f:validator binding="#{bindings.Particulars.validator}"/>
          </af:inputText>
          <af:inputText value="#{bindings.Amount.inputValue}" label="#{bindings.Amount.hints.label}"
                        required="#{bindings.Amount.hints.mandatory}" columns="#{bindings.Amount.hints.displayWidth}"
                        maximumLength="#{bindings.Amount.hints.precision}" shortDesc="#{bindings.Amount.hints.tooltip}"
                        id="it8">
            <f:validator binding="#{bindings.Amount.validator}"/>
            <af:convertNumber groupingUsed="false" pattern="#{bindings.Amount.format}"/>
          </af:inputText>
        </af:group>
        <f:facet name="footer">
          <af:button text="Submit" id="b1"/>
          <af:button actionListener="#{bindings.CreateInsert.execute}" text="CreateInsert"
                     disabled="#{!bindings.CreateInsert.enabled}" id="b2"/>     
          <af:button actionListener="#{bindings.Commit.execute}" text="Commit" disabled="#{!bindings.Commit.enabled}"
                     id="b3"/>
          <af:button actionListener="#{bindings.Rollback.execute}" text="Rollback" disabled="#{!bindings.Rollback.enabled}"
                     immediate="true" id="b4">
            <af:resetActionListener/>
          </af:button>
        </f:facet>
      </af:panelFormLayout>
    </ui:composition>
    
    
    
    

    Concerning

    Go to your VO Wizard, select the tab of the entity and to check if both the EO is editable or not.

    See you soon

    AJ

  • Form based on a Table, only updated authorized, form does not display the data

    Hello

    I created a form based on a Table by the corresponding wizzard. The table has only one line. The shape didn't create or delete buttons, only update & Cancel is allowed. The PK (id field) is hidden and it takes the value of a database trigger when insert (in fact never is apllied because there is no Create).

    When the form is called it is already displayed in update mode, with cancel button allowed but not data in the fields. Line seems ok, session data available null to variables/positions. No idea why this is happenning? I expect to HAV the data in the form fields.

    TIA

    Hello

    Your primary key item have no value, I guess.
    Create calculations to set the value of the item that is in this single line in your table

    BR, Jari

  • Can we create an APEX form based on a Table that has no primary key

    Hello

    I have a requirement.
    I need to create a FORM based on a table with no primary key, but is having a Unique key. I can use as a replacement for primary key Unique key.

    but when I tried to create a form, I received the following message.
    --------------------------------------------------------------------------------------------
    Tables from the source forms and forms in a table must have a primary key
    -------------------------------------------------------------------------------------------


    Thank you
    Deepak

    Hi Deepak,

    Because the form create on a table includes Wizard steps additional, more complex that we did not want to add to the wizard create a new Application.

    Joel

  • dynamically change the value of a selection list in the form based on a table

    Hi friends,

    I use a form based on a table. I want to display two fields in the form of lists of selection instead of text boxes and when a value

    in a select list is selected, the corresponding values will be included in the next list of selection. For example if Department

    value is selected in a selection list that employees in this Department will be included in the employee selection list. I saw a

    even using ajax to achieve this as a table in the Dene example application [click here | http://apex.oracle.com/pls/otn/f?p=31517:176:462842537250908:NO].

    Is it possible to achieve the same for a form based on a table.

    Thank you
    TJ

    Hi TJ.

    Take a look on: [http://apex.oracle.com/pls/otn/f?p=56976:4] - instructions are on the page

    Andy

  • Master detail form based on single Table

    Hi all.
    I have a table like

    daily_transaction
    (
    TRANSACTION_DATE DATE,
    LINE_ID NUMBER,
    ITEM_CODE VARCHAR2 (10),
    NUMBER OF BALANCE,
    DESCRIPTION VARCHAR2 (500)
    )

    Now, I want to build form master detail

    master form have only transaction Date all in the form of retail have row id, item, balance, date of transaction, description code

    I join date of the main transaction with the date of the transaction in detail

    now the problem is when I enter two archives in the form and save it, it save 3 record in the table, an empty line except transaction date
    Please guide me how to save two archives:

    Secondly when I update / edit date of master on the date of the operation blank line change, how do I update details form

    In order to perform an update on a view - it must be a "editable view. You try to update the MASTER block (based on the view)? Otherwise, make sure that you change the property update block allowed to 'No' as it is default to 'yes '. If you do not update the MASTER block, make sure that your point of view is "can". Read this article from Tom ask article on editable views. http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:5226026422731.

    Craig...

  • pop up a new page of a form based on a table

    Hi friends,

    I use a region of form based on a table in my page. I want to show an icon next to some of the text boxes in this

    form and when clicking this icon opens another page in the application. Is there a way to do this?

    Help, please.


    Thank you
    TJ

    Change the text element

    Go to the tab label .

    Enter the text of item class post

    
    

    Kind regards
    Shijesh

  • creating new lines of different queries

    Hello

    I use obiee answers to create a view of pivot for my report, I am new to this tool and that's my problem.

    I have 5 columns and 5 rows where measures the number of srkey for a certain object that has been filtered.

    To create (new line) in total for these filtered measures, I add a calculated point new and sum row1, row2, row3 + row4 ++ row5

    Now my problem is, it is possible to add a new line to calculate a total of unfiltered measures.

    Thank you

    Azzad

    I made an example for you:
    http://gerardnico.com/weblog/2009/04/10/OBIEE-how-to-suppress-detail-rows-of-a-master-group-in-a-pivot-view/

    Success
    Nico

  • analyze the table &amp; dbms_stats (chained lines)

    Hi guys,.

    Understand that dbms_stats collect statistics on (chained rows).
    To get chained lines, we can use one of the below:
    1. analyze the < table_name > table list chained rows;
    2 analyze the table < table_name > statistical calculation;

    the first lists the information chained rows in the CHAINED_ROWS table.
    the 2nd is best so that the information of chain_cnt are fulfilled in dba_tables. I can easily get the percentage of channel count by diviiding with the num_rows (for example if you need to list tables with 10 > string cnt percentage it would be easy).

    Right now, I'm leaving the need to collect statistics for night work by default oracle (who gather for table with variation in percentage of stale or > 10)... However, come together to string cnts.
    Can advise how can I get the string cnt without risking my existing services?

    And also will analyze statistics of table < table_name > estimate; replace my existing histograms?

    Thank you

    Published by: Chewy on March 4, 2013 02:35

    Can advise how can I get the string cnt without risking my existing services?

    analyze the table list chained rows in ;

    Select owner_name, table_name, count (*) from the group by owner_name, table_name;

    CHAINED_ROWS_TABLE must be created with UTLCHAIN. SQL script

  • How to update a field date in a form based on a table

    I created a form (FOO). This form has a column called LAST_UPDATE_DATE. I want to update the value of the column with the date and time when the user makes a change to the line. I'm running into some difficulties doing this work.

    I updated the source of the default database column type this field. The value of the source or the expression has the value "LAST_UPDATE_DATE". I also set the default value (TO_CHAR (SYSTIMESTAMP, "DD-MON-YYYY HH24"); The first time, this line is being updated field is updated correctly the current date/time. However, on later changes to the line, the field does not have the most recent date/time value.

    Any recommendations on what I am doing wrong or what might be the right way to address the issue?

    Thank you
    John

    John,

    You can also just do a process that fires after the automatic line, which defines the update_by and the update_date of check processing.

    or conversely, you might have a process just before you automatic line treatment for set the update_time systimestamp element fire. in this way the actual insertion/update is managed by the transformation of the auto line.

    In addition, if you are worried about forgetting the trigger, I always do an installation script and add new items to it because they are necessary. Then, you add the installation script in your support items if she lives with the application.

    See you soon,.

    Janet Tyson

  • expand the table "static" or line

    I have a form in a format "table" with columns in subforms. One of the columns contains text fields that are set to develop to adapt because they are filled with text. Other subforms have simple text but with a color background. I want these to do, is extend according to the column of text expanding field, so the 'row' seems OK in all of the page. I also want the color backgrounds to expand.

    Not sure if this is possible (or if I make sense). Thanks for any help.

    Hello

    If you use the Table object, each cell would expand to match the row height automatically.

    If you are usign subforms, can you apply the color for filling of subform and not filling of individual objects?

    Otherwise, you will need a script to the output of each field event, making the height of the other fields in the subform the same height as the largest field. I thought I had a script, but can't find it at the moment.

    Niall

  • Separating the sections of the table with black lines

    I am trying to add black lines to separate groups of cells in a table. I am using CSS, but know little things about it.

    The table is here: form

    And that's what I do: form.jpg

    Does anyone know how to go about it? I tried to add border-bottom-color in the CSS panel, but it applies the line to the top of the "total" fields

    Thanks, Dren.

    On Tuesday, July 8, 2008 12:00:08 + 0000 (UTC), "drennan_uk".
    wrote:

    > in fact, there is a problem. As soon as I insert the line, the table stops calculation. no idea how I can get around this problem? Thank you

    You don't quite have it right--you have this:

    at the top of the file, you have this:


    He's not going there: remove the

    line 192

    replace it with

    --

    ~ Malcolm ~ *...
    ~*

  • Automatic text of lines-placement of the table from one line to the other

    Hello

    can someone help me with a problem of formatting with tables;

    I would like to set up a table with multiple lines and the text automatically flow to the next line when you type once we're full... any help would be greatly appreciated

    Hey there,

    I just do the 1st rank.

    During the ENTIRE event, I changed the Javascript and insert the following code:

    xfa.host.setFocus(xfa.resolveNode("form1.#subform.Table1.Row3[1].Cell1"));
    
    Now it's working. You can do the rest.
    Tip: when coding, if you hold down Ctrl + Shift and click on any field, you get the name of the field instantly.
    Diego
  • Update the table, exclude NULL lines...

    Hi all

    I have 2 tables.

    TABLE_A
    SRNO VARCHAR2 (10)
    FLAG VARCHAR2 (20)

    TABLE_B
    SNO VARCHAR2 (10)
    VARCHAR2 (20) IND

    I wan to update the INDICATOR in the IND of TABLE_B TABLE_A where SRNO both table games.

    Here I wrote
    UPDATE TABLE_A HAS
    SET A.FLAG = (SELECT B.IND FROM TABLE_B B WHERE B.SNO = A.SRNO)

    Here, the problem is, I don't want to update SRNO in TABLE_A where IND is set to null to TABLE_B. (or exclude the ONS of innerquery where IND is null)
    How can I change this query to do this?

    I tried to use
    UPDATE TABLE_A HAS
    SET A.FLAG = (SELECT B.IND FROM TABLE_B B WHERE B.SNO = A.SRNO AND B.IND IS NOT NULL)

    When I run this query, yet it updates all lines and updates to null FLAG where IND is set to null in the table B for SRNO even.

    Hello

    Try

    UPDATE TABLE_A A
    SET A.FLAG = (SELECT B.IND FROM TABLE_B B WHERE B.SNO = A.SRNO AND B.IND IS NOT NULL)
    WHERE EXISTS (SELECT B.IND FROM TABLE_B B WHERE B.SNO = A.SRNO AND B.IND IS NOT NULL)
    

    * 009 *.

  • Read the only attribute to make the new line edit tabular

    Hello

    I have a tabular layout with dynamic action to set some fields read only after refreshing the page... His work, well, if I insert a record without any validation...


    I've included a validation for a particular column not null, if the validation is successful its insert the record and become read only what is correct... to another validation is not successful then the fields are should be in editable mode... but it becomes readonly due to the updating of the page... How to avoid in this case?

    I created the dynamic action following this thread...

    In, click Add line readonly = false in a table...

    Thank you

    Infantraj

    Hi Infantraj,

    If you disable the datepicker and the field selection list, don't forget to activate before submitting the page.

    $('input[name="fcud"]').each(function() {
      var val = $(this).val();
      if (val === 'U') {
      var row_id = this.id.substr(5);
        $("#f03_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f04_" + row_id).attr("readonly", true).addClass('row_item_disabled');
        $("#f06_" + row_id).datepicker('disable'); //datepicker field
      }
    });
    

    Activate the date picker field before sending the page

    Create dynamic action

    Event: Before the Page is sent

    Action: Run the JavaScript Code

    Fire on loading the Page: No.

    Code:

    $('input[name="f06"]').datepicker('enable');
    

    Hope this helps you,

    Kind regards

    Jitendra

Maybe you are looking for