Is is possible to make several updates with the text box

How to enter an area and have it update several records in a field, I can do this with sql?
Thank you
Doug

you want to update multiple fields in the same folder? If so, you could do something like:

UPDATE emp
   SET comments = :P150_text
       extra_comments = :P150_text
 WHERE emp_id = :P150_emp_ID
{code}

this will set the comments and extra_comments fields both equal to the :P150_text apex item. you would put this into a procedure on your page.

If you were updating the comments field for multiple records you would have to make a cursor for X records and loop through X records and make the comments := :P150_text

good luck...

Edited by: Tyson Jouglet on Sep 17, 2008 9:53 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

Tags: Database

Similar Questions

  • Update of dynamic Action with the text box

    This goes along with: update records with the text box

    APEX: 4.0.2

    THEME: SAND

    SERVER: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server

    I created an example with more comments on the page:

    workspace: stevendooley34

    username: dev01

    password: dev01

    application: examples of Forum

    page: update example

    I've implemented just as I think it should be put in place, but records only updates by clicking on my Refresh"" button.

    Keep in mind that the example is found in the apex 4.2.5 but I will implement this in 4.0.2.

    Thank you

    Steven



    Hi Steven,

    I think the main thing that was missing was adding the elements used in the PL/SQL "Page to go".

    The reason this is necessary is so APEX know what values of point on the browser should be sent (as part of the AJAX call) to the browser.

    IF you had all the elements that must be returned to the screen, then you will use the 'Page field items to return.

    I've also corrected a few things, P6 instead of P6 and P6_SEARCH_TYPE instead of SEARCH_TYPE, but they were just small "bugs" in the example.

    I also added another real action to refresh the report after the update.

    Thank you

    -Jorge

    PS. I do not validate that your code works for multiple, but the first glance entries and a quick test, it seems to work fine.  I focused only on the DA.

  • You can change the font size using the form in the preview (not with the text box). Having also arrow drawing trouble in preview.

    You can change the font size using the form in the preview (not with the text box). Having also arrow drawing trouble in preview.

    What problems are you having with the arrow? You go to Tools-> annotate-> arrow and an arrow appears. Then you can drag around the head and tail to make it to the desired location.

  • Update records with the text box

    APEX: 4.0.2

    THEME: SAND

    SERVER: Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server

    I'm just letting my user paste values in a text box, click a button and then update some fields for this record.

    I created an example with more comments on the page:

    workspace: stevendooley34

    username: dev01

    password: dev01

    application: examples of Forum

    page: update example

    Keep in mind: the apex, theme, and Server version are different where I created the example. The above version, theme and the server are the stats of my workplace.

    Thank you

    Steven

    -changes

    Or if the modification of the code below would be easier I can go that route.

    Update oef_itv_ndn

    Set cancelled_cd =: MMR_CANCELLED_CD.

    closed_date =: MMR_CLOSED_DATE.

    admin_remarks =: MMR_ADMIN_REMARKS

    where abc = '12345';

    I created a dynamic Action with the above code works correctly.

    but instead of "abc = '12345' 'I need it to be" where abc in: SEARCH_INPUT "

    : SEARCH_INPUT is the text box that users can paste values in this format:

    12345

    67890

    98765

    so, when it comes to the clause "where" I need to maintain all records that are in the text box.

    Post edited by: StevenD609

    The "WHERE" clause is in the wrong position.

    It should be part of the "USING" clause)

    (the nickname table 'data' is defined in the scope of this subquery)

    In addition, it seems to me good.

    If you're still having problems, you can go to the forum 'SQL and PL/SQL '.

    MK

  • Enter several values in the text box, separated by commas and spaces

    Hello

    I have the following syntax as my request to report to the opening of user_names in the area of text separated by commas, but the user sometimes come with a space between commas, could someone please let me know
    How this can be controlled, both when the user uses the space or not use space as well as the comma recording several user names in the text box?
    select 
    *
    from   DW_RFA_JOBDATA
    where  FINISH_TIME >= :P1_START_DATE 
    and FINISH_TIME < :P1_END_DATE
         AND  instr(',' || :P1_USER || ',', ',' || USER_NAME || ',') > 0
     OR (USER_NAME = USER_NAME AND :P1_USER is null)
    Thank you

    Select
    *
    of DW_RFA_JOBDATA
    where FINISH_TIME > =: P1_START_DATE
    and FINISH_TIME<>
    AND instr ("," |) REPLACE (translate (: P1_USER, '! @# $% ^ & * () _-+= {[]}] |------:; ~ ',' '),' ', "). ',', ',' || USER_NAME | ',') > 0
    OR (USER_NAME = USER_NAME AND: P1_USER is null)

  • I can't do anything with the text boxes in my InDesign file.

    I consider myself fairly well with InDesign. But now, I'm quite a. I just spent two hours designing a newsletter before and inside the cover. I filled two text boxes with the text that I stole from a Word file. But now, I can't do anything in the text boxes. I click and nothing happens. Nothing does highlight. The framework is not locked. I don't know what to do. I am little freaked out that InDesign can do this to me.

    Look for the locked layers

    (Menu) object > unlock all on the spread

    Check the Live Page vs Master Page (you could have worked on the master (?)

  • Hello. Is it possible to make a backup of the Pandoras Box Cd rom copy.?

    I have the original and the copy is for me.

    I made a copy sometimes, back, which I thought was right but now at mid-way through the game it stops working and I have tried the disk copy on my home and work PC so I guess that the error is on the copy.

    I really love this game and use the original for more than 12 years so it's to be!

    Please can you tell me if it is possible to make a copy that is feasible and, if so, how? I think I used the last Roxio cd Copier attempt but after watching im going online account that maybe the game is protected? and so I need to do a bit more that just a basic "copy CD". ? Any assistance received with gratitude and thanks for reading this.

    PS. I tried to buy an original, but finds him not available online to the United Kingdom!

    Thanks again

    I don't know if this particular game CD is protected against copying. According to the balance of probabilities, it is. And I don't know which particular method or methods has been or have been used.

    Take a look on

    http://www.SlySoft.com/en/

    and see if one of their products, alone or in combination with others, will allow you to make a backup copy of the game.

    Note that if the original disk is very readable, the copy cannot correct errors; However, the result may be usable.

    Tom Ferguson

    The foregoing it whole, is intended to answer the technical questions raised. A lawyer for legal advice upon which you intend to rely.

    TF

  • update with the instruction box

    Hello

    I need to do something like this:

    update my_table set (prelucrat, err) = (select case
                                                             when r.id is not null then
                                                               ('D', null)
                                                             else
                                                               ('N', 'Nu exista persoana cu marca '||r.marca)
                                                           )
    where marca = r.marca and ctiserver = r.ctiserver
    

    But I got an error 'missing right parenthesis.

    'r' is a cursor variable, so this update is nested in one 'for r in (...) ". loop. "

    What I am doing wrong? Is it possible to update both the two columns, then select in this use case?

    Thank you.

    for r in loop (select...)

    Update my_table

    Set prelucrat = nvl2(r.id,'D','N')

    , err = nvl2 (r.id, null, 'Nu exista person cu marca' | r.marca)

    where marca = r.marca

    and ctiserver = r.ctiserver;

    end loop;

    ----

    Ramin Hashimzade

  • interactive PDF with the text box replace Chinese simsun font

    Hi all

    We have designed an interactive pdf with text fields. We need the text fields in a Chinese font. I understand that this cant be done in Indesign (change the police seized in Chinese), I moved the file to Acrobat Pro and used the text property to change the font Simsun but when we try the police is always in English. Any ideas on how to fix this problem?

    Thanks in advance

    Paul

    It will take the user to install the Asian language pack and or traditional Chinese:

    Adobe - Adobe Reader: for Windows: Adobe Reader 11.0.09 - Pack of Asian and extended language font Packs

    When the user attempts to enter Chinese characters, it will invite the user to download if is not already installed. Large unicode fonts get not include for the use of form fields as other fonts are.

  • Can I do so that the text shrinks to make this fit in the text box?

    In a text field if the text entered in the field is longer that the space, can I do so that the text shrinks so that it fits in the box?

    If you want to shrink, you can set the point size to 0 in the palette of fonts, make sure that it is set to the value only and not of value and the legend. While the user fills out the field, the text will be reduced to a smaller size.

    Paul

  • Is Portege R600 - possible to make a call with the SIM card?

    Hello

    I wonder if its possible to use 5 wireless connections Manager and to make or receive a call?

    Hello

    I m not very good but in my opinion, you can use the internal 3G modem for data transfer only. The 3G modem supports UMTS frequency band and allows you to use your mobile phone card and connect to internet with higher speed.
    But I doubt that you can use your R600 like mobile phone

  • Is it possible to a floating voltage with the output box usb-6009?

    Hello

    I was wondering if anyone knows how to a difference in voltage output 0 to 1 AO on the box USB-6009 DAQmx AO without reference to the ground.  Any help would be greatly appreciated.

    Thank you

    Bryan

    Hello

    Page 19 of the manual USB-6009:

    http://www.NI.com/PDF/manuals/371303l.PDF

    Shows the internal circuits of the DAC are referenced to ground so there is no way to internally isolate it / provide any reference.

    Maybe there is another way to make the desired effect? I don't know the details of your request to suggest everything.

    Please do not hesitate to ask questions

  • Try to make a knockout with the text.

    Admittedly, I am an amature illustrator user. I only used it for a week now. I have experience in photoshop, so the learning curve was ok.

    I want to create a vector logo, so I can't use photoshop. I know how to do what I want to do in photoshop, but not in illustrator.  I do a KB on a letter text combine together among all objects so I have a single vector file with transparency at the appropriate places.

    logo.jpg

    There are 6 items in this chart: clean, green, text on text in bottom right, left, down the arrow on the 'g' and an another 'g' (in white behind the Green, making it appear like a knockout).

    Visually, it works as long as you have a white background since the rear 'g' is white. There is a white line around this 'g', creating the effect of masking. What I tried to do for the last 2 days, is to combine all these elements into a single object with transparent white. I'm frustrated.

    Type-> vectorize your g and your n, (if you haven't already done so)

    Select the 'g' and the object-> Path-> Outline Stroke.  This will leave you with a group that contains your line (now a composite path) and your filling.

    Separating them.

    Put your race described above your N in the layers panel. (not necessary, but if this isn't the next step is different)

    Choose your race stated and your n and the palette of Pathfinder, "exclude" (top row, far right)

    This will give you a group that contains your cut shapes.  Disassociate.  Remove the indicated time. Profits.

  • show/hide the object with the text box

    Hello world

    has obtained a display code and masking of an object with a button and it does not work well. This is the code

    function show_hide_image1(evt:MouseEvent):void {}

    Image1.visible =! Image1.visible;

    }

    Enterbtn.addEventListener (MouseEvent.CLICK, show_hide_image1);

    Now, got another code with a box of password who send me on different Label based on what is in it. There is the code.

    Enter.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_4);

    function fl_ClickToGoToAndStopAtFrame_4(event:MouseEvent):void

    {

    If (Passwordbox.text == "cryocath") {}

    gotoAndStop ("cryocath");

    } Else if (Passwordbox.text == "54321") {}

    gotoAndStop ("A54321");

    } Else if (Passwordbox.text == "123456789") {}

    gotoAndStop ("A123456789");

    } else {}

    Stop ('error')

    }

    }

    Now, my question is, I want to introduce my hide/show code this code but do not understand how to do it. What I want is that if I enter my Passwordbox, my "image1" show/hide object "image1". If I get "image2", my "image2" show/hide object. Can someone help me with this? TNX

    :

    Enter.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_4);

    function fl_ClickToGoToAndStopAtFrame_4(event:MouseEvent):void

    {

    {if (this [PasswordBox.Text])}

    This [PasswordBox.Text] .visible =! this [PasswordBox.Text] .visible;

    }

    If (Passwordbox.text == "cryocath") {}

    gotoAndStop ("cryocath");

    } Else if (Passwordbox.text == "54321") {}

    gotoAndStop ("A54321");

    } Else if (Passwordbox.text == "123456789") {}

    gotoAndStop ("A123456789");

    } else {}

    Stop ('error')

    }

    }

  • I have problems with the text... Help

    Hey

    I have problems with the text box in indesign cs4...

    When I do a text frame and write a short text and want to make a new line and press ENTER, my cursor goes to the next page and the small red cross in the corner of my document apears.

    someone knows what to do here?

    I realle need your help

    Thank you

    This has been covered a lot. A BIOS update may be an option to solve the problem of keyboard mapping, you can change your keyboard shortcuts to reassign the digital keypad input to be a paragraph return or you can try simply by changing the State of the numlock - if it is on, turn it off and vice versa. Withthis problem most of the systems that seems to change the function of the two keys back and forth between the enter alpha and entry number.

Maybe you are looking for