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

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.

  • 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 (?)

  • 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.

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
    
  • 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')

    }

    }

  • Have a graphic with text running around it, when I put the text box on chart type will not appear - tried text running around him also - but still nothing

    @

    mimik82405642 wrote: when I put the text box on chart type will not be displayed.

    With the text box selected, choose: object > text frame Options...

    Check the checkbox ignore text dressed near the bottom of the text frame Options dialog box, and then click OK.

  • 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.

  • When I print a table (multiple pages) the text box under the table seems to be moving under the table and prints with the table of this overlap. My only solution is to push the text box further down the page before printing... Any advice?

    Im having problems shaped a text box so that my table does not print right on top of it. I want it inside of my table (it's 'tems and conditions' budget)

    Any advice would be great.

    I face the same problem as well. Would like to know if there is a better way to get the text box to move with the table instead of the effect that overlap. Have to manually adjust the layout, whenever I want to get a reasonable print of a document (or export it to PDF) seems counterintuitive, especially when it causes the document seem ill-disposed on screen.

    I am running version 3.6.2 of the numbers in the case where that matters.

  • Replace the text box with Image through breakpoints

    Hello

    I'm looking to replace the text boxes and icons with images and want to know if I can do this on several break points at the same time without having to go and manually change each breakpoint.

    My site is here: Movement of Boulder

    In the Services section of the wider breakpoint, you can see the images that I want, but if you minimize the browser window, you will see the images and the text that he was supposed to replace. Is it possible to replace all the text boxes with the images you want?

    Hello griffinb,

    If you delete a breakpoint text areas, they will be removed from all.

    After you have placed your image just right-click on it and select the option ' copy the style and position > to other breakpoints.

    Let me know if you have any problems getting there.

    Kind regards

    Ankush

  • How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    Ashley,

    What about window > show the rectangle enclosing (Ctrl / Cmd + Shift + B to toggle)?

  • I need to create a curved with type text box that heal and return to the next line in the form of curved text. How do I do that?

    I need to create a curved with type text box that heal and return to the next line in the form of curved text. How do I do that?

    1. Draw a set of concentric half circles also spaced, stacked so that the outermost is the most remote.
    2. Use the text tool to add text to the outermost path, thus creating a PathType object.
    3. Select all the paths. Type > threaded text > create.
    4. Text tool: click at the end of the text in the object of PathType. Continue typing.

    > If I do that it will not type more.

    A Warp effect is a direct effect. When it is applied to the type of objects, they are still editable text. The chain will deform, however, the text also, not only the paths to which it is attached. Sometimes you want that, sometimes you don't have.

    JET

  • LiveCycle ES4. I am trying to move a picture online with a text box to create a header.  I had to create a subform that flows to generate multiple pages of text.  After changing the settings, it seems that I can't place images and text where

    LiveCycle ES4. I am trying to move a picture online with a text box to create a header.  I had to create a subform that flows to generate multiple pages of text.  After changing the settings, it seems that I can't place the images and the text I would like.  I tried moving them to the bottom, but does not work.  Is there a way to encapsulate the images so that they can be places as much as I want?

    Select your photo and text inside the subform flowed. Right-click and select wrap in subform do the positioned Subform subform. This will allow you to move objects in this subform positioned the way you like them.

  • CS6 inDesign when the text box is set it is not adapt the text with it

    Hi Adobe community.

    In the past, I have been using Adobe CS5.5 and when you use Indesign I would like to make a text box, text entry and when I need the text box to be narrower, as I'm adjusting the box with the text selection tool would be admissible and move and adjust to fit within the box like you were changing the text box. So, you could see the text as you did the box around it more small.

    Now, I just went to do the same in InDesign CS6 but when move the text box, it simply moves the text and the text moves with it (do not meet with setting the text box), so I'm left guessing where the text will be sitting and it provides a few going until she I understand...

    So what I am asking, is there a box I need check preferences or something in CS6 so that text moves I adjust its bounding box, as it moves in CS5.5?

    Please help because it really bugs me!

    Thank you

    Try to screen Live Edit/Preferences/Interface/design/immediate

Maybe you are looking for