FILL A SINGLE COLUMN IN THE FORM OF A FIELD IN ANOTHER REGION.

Hello

I am using Oracle APEX 4.2. In one of my pages, I have two regions. One of them has a text field and a button, as well as the region, another with a tabular presentation.

http://Apex.Oracle.com/pls/Apex/f?p=41771:2:14057730603424:

I want to enter some data in the field of text and when I press the button called Estado, just checked lines change the value in the State column.

Help, please!

Thank you.

Eve

Dear Eve,

I did a PL/SQL process called updatePAGObyEstado executed when you press the button with the following code

BEGIN
   for i in 1..apex_application.g_f01.count loop
     update PAGO
     set PAGO_ESTADO = :P2_VALOR
     where PAGO_ID = apex_application.g_f01(i);
   end loop;
   COMMIT;
END;

Please, if this solves your problem, mark it as Correct.

Best regards
Mahmoud

Tags: Database

Similar Questions

  • How to take a column of duplicate names and fill a different column with the same names, excluding duplicates?

    How to take a column of duplicate names and fill a different column with the same names, excluding duplicates?

    I find easier to use this copy separate Automator Service (download Dropbox).

    To install in your numbers > Services, double-click menu just the package downloaded .workflow and if necessary give permissions in system preferences > security & privacy.

    To use, just:

    1. Select the cells in the column with duplicate names.
    2. Choose separate copy in numbers > Services menu.
    3. Click once in the upper cell where you want the deduplicated values appear.
    4. Command-v to paste.

    SG

  • How can I integrate a form on my site and to set up a button "submit" for when people fill out and click Submit, the form will be sent to me in the form of attached pdf file?

    How can I integrate a form on my site and to set up a button "submit" for when people fill out and click Submit, the form will be sent to me in the form of attached pdf file?

    Thank you!

    Salvation;

    This isn't a workflow that is supported by solutions of Adobe forms at this time.

    Thank you

    Josh

  • How to get the values of the shape of the object in the form of process field?

    Hello

    I created the resource object and it has the shape of the object that are associated with him. When the user self praying for this user RO add information in the form object field ho can I get these values as a process?

    How to get the values of the shape of the object in the form of process field?

    Hello

    If you want to map the form field Number in the form of process field go process definition - Data Flow Mapping tab you can add the field map.

    Thank you
    Patricia

  • Comparison of column in the form of table II

    Hello

    At the APEX 4.1 I am doing something similar to this thread: in table form: compare two fields in column where I need to do a validation on two columns in tabular form. It works for both columns are columns of text box, but I can't make it work when comparing to a single column to display. For validation, I have defined it as an "Expression of PL/SQL" and my expression is: CURRENT_VALUE >: PREV_VALUE where CURRENT_VALUE is a column of text box that accepts user input and PREV_VALUE is only one display column.

    Regardless of the absorbed power, the row is updated without any errors raised; He seems to treat the single display value in the vacuum and made the comparison with an empty value. The only solution I could find was to make the comparison in a update trigger on and will raise an error if validation fails; but the result is not as nice as the built in features of validation of the APEX.

    No indication on how to make it work using the validation of the APEX is greatly appreciated.

    Thank you!

    Only column display are for display only and are not saved in the session when you send, so that you can't access with pl/sql.

    So either do the validation in javascript/jQuery or, and it is best if you ask me, make a text field and set to read-only.

  • Remote column in the form of Bulletin Board on db update

    Hi all

    my need is to update the date and user modified folder. Nothing new.

    I use to work with trigger on a local database as in this example:

    CREATE OR REPLACE TRIGGER "MY_LOCAL_TABLE_T2"
    BEFORE
    insert or update on "MY_LOCAL_TABLE"
    for each row
    begin
    if (:new.CREATED is null)
    then
    :new.CREATED := sysdate;
    end if;
    if (:new.CREATED_BY is null)
    then
    :new.CREATED_BY := nvl(v('APP_USER'),user);
    end if;
    :new.UPDATED := sysdate;
    :new.UPDATED_BY := nvl(v('APP_USER'),user);
    end;
    

    I'm doing the same thing, but I use Apex with a tabular presentation based on a vision of a remote table.

    When I try to compile the trigger this error:

    PLS-00201: identifier 'V' must be declared.

    Another way to do the same thing directly in the Apex solution or suggestion will be appreciated.

    Thank you all.

    Request Express 4.1.1.00.23

    Self-funded, thanks

    trying to create the trigger with your suggestion the error PLS-00201: identifier ' APEX_UTIL. GET_SESSION_STATE' must be declared is triggered.

    I think because of the BD Remote where I have my tables "not see" apex db with func and procs.

    I found this solution which can be reused for different sub tabular form using jQuery:

    -in the form of tables, there are 2 columns I want to update the date of LAST_UPD and LAST_UPD_BY varchar

    -set LAST_UPD like this:

    - Number / Date Format : DD-MM-YYYY HH24:MI:SS

    - Attributes of the element : audit = "date".

    - Default : sysdate

    -set LAST_UPD_BY like this:

    - Attributes of the element : audit = "user".

    - Default : v ('APP_USER')

    -Page - JavaScript

    $( document ).ready(function() {
        $("input[id*='f0']").change(function() {
            idAuditDate = $("input[audit='date']").attr('id').substr(0,4) + $(this).attr('id').substr(4);
            idAuditUser = $("input[audit='user']").attr('id').substr(0,4) + $(this).attr('id').substr(4);
            var d = new Date,
            dformat = [d.getDate(),
                                    d.getMonth(),
                                    d.getFullYear()].join('-')+' '+
                                    [d.getHours(),
                                    d.getMinutes(),
                                    d.getSeconds()].join(':');
            $("input[id="+idAuditDate+"]").attr('value',dformat);
            $("input[id="+idAuditUser+"]").attr('value','&APP_USER.');
        });
    });
    

    Hope this helps.

    Thank you

  • Cannot configure the fields to fill in Mode "to prepare the form." Please help :)

    Hello Adobe community.

    Here is a video link to explain my problem, there is also some text below explaining my problem too:

    Questions of implementation of the fields to fill in Adobe Acrobat.webm - Google Drive

    Last week I published a PDF file in Acrobat and added to fill fields... everything worked very well.

    This week, I'm doing the same thing.

    -J' open the PDF file in Adobe Acrobat (CC)

    -I'm going to "prepare the form."

    -J' I 'add a text field.

    * Now at this stage, everything worked fine. But now... I add the text field and I can't change it at all. I can't resize the text box, select it, nothing. I can even add a default in its properties, and nothing will be displayed. What is going on? I tried troubleshooting this online and I can't find an answer. In addition, I just did this last week, so I know it's possible lol.

    Any help would be greatly appreciated

    Levi Koenig

    It is a strange...

    First of all, thanks for the video, it's so much easier to understand what is happening when I see how things do not work.

    From what I see, I guess that it is something that is specific to this particular document. Have you tried to add form fields to a whole new document? You can do by ensuring that no other document is open in Acrobat, then Cmd-Shift-T to create a new document with a blank page in it. Now select Tools > prepared form - because this is a new document that was never recorded, Acrobat invites you to save it. Once registered, try to add a form field. It work? The form field is the way that you expect it to behave?

    If this isn't the case, then it is very likely that there is something wrong with the installation of Acrobat. The first thing I would try is to select help > check updates, make sure that you are running the latest version of Acrobat DC. If this does not help, I uninstall Acrobat and install again a new download. You can download Acrobat here: download Pro or Standard versions of Acrobat DC, XI or X

    If the problem is specific to your document, we will know why this is. It is possible that the document is corrupt. There are several ways you can try to recover from some alterations: the first thing I would try is to do a "save under" to save a new file name. Does it work or you get an error message? If you can save as a new file, the new file shows the same problems? If so, then try to extract just one page in a new document. To do this, open the thumbnail on the left, then select the page, right-click and select Extract page. This sill to create a new document with just one page in there, save it and try again.

    If you are still not able to add form fields that behave properly, it gets a bit more complex. How was the file created? Application used to create the original file and what application was used to save the file as a PDF file? Would you be able to share this file?

  • Master-detail-shape; Hide/show columns in the form of details according to the column

    Hello

    I have a form master detail. In the long form, I have the columns:
    ID, MASTER_ID_FK, PC_SOURCE, A_C1, A_C2, A_C3, B_C1, B_C2, B_C3

    The PC_SOURCE of the column must be a LOV with values
    NULL VALUE
    A
    B

    So if I choose or enter a master record the detailed form appears and I can enter one or more detail records.

    PC_SOURCE is the first column.
    If I choose one, the columns B_C1, B_C2, B_C3 should disappear as there should be no possible entry.
    If I have B, A_C1, A_C3, A_C2 columsn should disappear as there should be no possible entry.

    Is this possible?

    I tried a bit of my own, but without success. I tried to put in the first column (lov SOURCE PC) in the attributes of the element a javascript call like onChange = "do_Refresh('#PC_SOURCE#'); »

    The javascript funktion do_Refresh tries to grab the value of the column and the value of a hidden item P1_SOURCE as document.getElementById('P1_SOURCE').value = v_source;

    But this does not work, because there is not the value of the recovered column.
    And probably can´t work because of more lines of a detail.

    Thank you and best regards,
    Matthias

    Hello

    The html code of your detailed form will be an array of the elements of entry with names f01, f02, etc.. The columns of the key of the fields are normally hidden, so your PC_SOURCE column will probably use the name f03. A_C1 column name will be f04 etc.

    Once you have the input names for your columns, you can create a dynamic action (DA) to hide the items you want.

    You want the DA to fire when any element PC_SOURCE is changed if you want when to be:
    Event: change
    Selection type: jQuery Selector
    jQuery Selector: input [name = "f03"]
    Condition: no strings attached

    The action is to hide an element in the same line, if the changed item is a value. The action must therefore:
    Action: Run the JavaScript Code
    Fires when the event is: true
    Code: if(this.triggeringElement.value=="A") {$x_Hide ('f04_' + this.triggeringElement.id.split ('_') [1])}

    You then need a lot of real actions for each item that you want to hide.

    Rod West

  • Only read the column in the form of planning

    Hi gurus,

    I want to do a red column in planning webform. How can I achieve this? If I give read access to this column for a user and assume that it is a computed column, the calculation is done for the user? To calculate a cell in the form, is that he needed centimeters to write to the user?

    Kind regards

    Hello

    Say you want to have Jan, Feb in your columns, but you want to make read-only Feb, that's what it takes

    In the columns/line under the column dimension tab

    Select period in the drop-down list, enter Jan as a member.

    Now click on add a column

    Enter Feb for the Member, click read-only.

    Ok?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to organize columns in the form

    Hello
    I want to see real-> FY09 configuration-> seven in a single column and forecasts FY09-> Oct in another column. I used to know how to do this, but forgot how. I can't find the button that will allow me to have different column groups. Someone can help me.

    Hello

    I consider you talk about asymmetric columns, have a read of:-http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/frameset.htm?ch06s03s14.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • sort a single column in the order the asc and desc

    How can I write a query to sort a column in the order the asc and desc?

    I tried with the following query, but it gives an error-

    Select ename, (select ename from emp by ename desc) to order the CSA ename emp;

    You try to do this?

    SQL > ed

    A written file afiedt.buf

    1 with t as (select ename

    2, row_number() (any order by ename): the nurse

    3, count (*)-(row_number () () (any order by ename)-1) as the rn2

    4 of PEM

    5            )

    6. Select e1.ename

    7, e2.ename

    8 t e1

    Join 9 t e2 on (e1.rn = e2.rn2)

    10 * order by e1.rn

    SQL > /.

    ENAME ENAME

    ---------- ----------

    ADAMS WARD

    ALLEN TURNER

    BLAKE SMITH

    CLARK SCOTT

    FORD MILLER

    JAMES MARTIN

    KING JONES

    KING JONES

    MARTIN JAMES

    MILLER FORD

    SCOTT CLARK

    BLAKE SMITH

    ALLEN TURNER

    DISTRICT ADAMS

    14 selected lines.

    But why you want to do this, I don't know.

    Edited: to correct error in the code

  • How to convert a single column in the primary key column

    Hi all

    I have a column that's unique cnstraint, this column contains the value as digital and also null.

    So how do you convert to primary key column

    Concerning
    Prashant

    Prashant wrote:
    Hi all

    I have a column that's unique cnstraint, this column contains the value as digital and also null.

    So how do you convert to primary key column

    Concerning
    Prashant

    Prashant,

    You must assign new values to null values. You can use a sequence to produce the figures in this column.

    Select max (your_unique_column) from your_table; -find the maximum value of this column, so you can start the sequence of this number.

    create sequence seq_for_your_table with XXXX - value max + 1 you have found

    Update your_table set your_unique_column = seq_for_your_table.nextval () where your_unique_column is null

    You can create a primary key on this column.

    Best regards

    Grosbois

    -------------------------------------------------------
    If you answer this question, please mark appropriate as correct/useful messages and the thread as closed. Thank you

  • IF THE FORM ALREADY EXISTS, CAN ADD ANOTHER ARTICLE? problems with this

    Hello everyone


    I have the application with the table and the data. I have the form to send the data. But now it turns out that I need more columns. While I could add these columns fortunately they could be NULL and I added elements of the form, it turns out that when I submit this form, these new elements don't send their content. I created the form initially with the wizzard in the table, but having to add these new elements to a 'mature' form gives me this problem. Does anyone know what needs to be done for items to send their content?

    you have much


    Al

    Al

    Do you want to Date fields to display the Date and time just for this form?
    What is the process that fills the form with the data?

    CITY

  • How to perform an addition of column values in an insert query that would insert in the 3rd column, and the values how to insert into another table.

    I have two tables (2) RESULT TAB (1)

    CREATE TABLE TAB

    (

    NUMBER OF SNO

    A NUMBER,

    B THE NUMBER.

    NUMBER OF THE SUM

    );

    CREATE AN ARRAY OF RESULT

    (

    NUMBER OF SNO

    NUMBER OF THE SUM

    )

    my doubt is:

    (1) I want to insert a table TAB, my question is how to insert a column to the SUM using the column A AND B... Here im adding two values of the column and store result in the AMOUNT column.

    SNO   A  SUM           

    1 100 150 250

    2 300 100 400

    I want to like this, it is possible with single insert query?


    (2) at the time of the insertion TAB of values that SNO, and the values of table TAB $ insert in the table of RESULTS... is it possible these two inserts at the same time?

    in fact, im using another this table.fro TAB and easy to understand I write like that, please solve this problem

    First, you post in the wrong forum as this one is only for Oracle's SQL developer tool. So you might ask your question in the general forum of SQL.

    Second, you might solve your problems with bind variable:

    Insert tab

    (sno, a, b, sum)

    values

    (: SNO,: A: B: A + B :))

    You should not use sum as column name because it is a reserved word.

    More you cannot insert into two different tables with a single SQL, but you can use PL/SQL to do this:

    Start

    insert into tab values (: SNO,: A: B: A + B :);)

    insert into result values (: SNO,: A + B :);)

    end;

    If you meet sno from a sequence, you could do something like this:

    Start

    insert into values tab (seq_sno.nextval,:,: B,: A +: B) return sno in: SNO.

    insert into result values (: SNO,: A + B :);)

    end;

    Hope that helps,

    dhalek

  • Migration of the customization of the form from one instance to another

    Dear all,

    I have a requirement to form customization in the form of orders. Form problems have already 99 customizations. After entering my new customization, I downloaded the ldt with the following commands:

    FNDLOAD apps / $ Y DOWNLOAD password 0 $FND_TOP/patch/115/import/affrmcus.lct XX_OEXOEORD.ldt FND_FORM_CUSTOM_RULES form_name = OEXOEORD

    I saw all the customizations are downloaed in the ldt, but when I try to download on another instance, it downloads only 5 / 100 customization. Download the command is:

    FNDLOAD apps / $password 0 DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct XX_OEXOEORD.ldt - WARNING = YES UPLOAD_MODE = REPLACE CUSTOM_MODE = FORCE

    Some random sequences (such as 9, 40, 80, 99 and 100) got downloaded.

    I found an old thread associated with the same question:

    Migration of the customization of the form of DEV TEST

    We have applied this hotfix and checked that patch versions are up-to-date, but always after re - download issue persisted.

    Thanks for your time to consider cela and really appreciate your help.

    Thank you.

    We have applied this hotfix and checked that patch versions are up-to-date, but always after re - download issue persisted.

    In addition the patch that you already applied (Patch 9446215 ) Please make sure you have (Patch 9975835) mentioned in (FNDLOAD download does not download all the forms customization (Doc ID 1340217.1)) applied.

    Thank you

    Hussein

Maybe you are looking for

  • Satellite A60: Is it possible for a boot from USB?

    It is so, seems there is no way to boot on USB or HD satellite (mine is an A60E). Do you have someone have the head or read that the next version of the bios might do?

  • Windows Installer crashes Office opening

    How to stop the installation program opens. The office program is already installed and works very well. It takes 5-7 minutes so he can go and I can start to work in Word.

  • When you try to format CD - RW, receive error message 'windows could not complete the format' Vista SP2

    Impossible to format CD Windows Vista Ultimate SP2 installed When you try to format CD - RW, error message "windows could not finish this format. Because the installed SP2 (which supposedly contains the fix for the problem) can not install the patch

  • Get a connection between the printer and router wireless

    I have a printer e-all-in-one HP Officejet 4630 I am trying to install wireless. I got when I first installed the printer a few months ago, but have since had to change my password for network security and am now unable to get the printer to accept/m

  • ASA 5510 with AIP SSM-10

    I'm new to network administration and our company has an ASA 5510 with and map AIP SSM-10. On the interface ASA when I try to load Intrusion detection, he said the following: "For IPS 5.1 (1) S205.0, use the link below to access the IPS Device Manage