How to input several queries at once in a text field, query from it?

Hi ,
I am starting out in oracle development and am currently attempting to develop a tool which uses a text item which can be updated by cut and paste (~ie from a spreadsheet) and then can query several tables(each as blocks joined by relations with the primary key of the first block being that of each item in the text feild) pulling back one row for each item entered in the original text item and displaying all the results as usual in the joined data fields. The problem i am having is attempting to 1. inserting multiple data items into the query box (text item), as the focus stays in the first item and i want to insert say 20 for the query by cut and paste. Secondly when populated i want to be able to use all these items to query the database when i press a button , however it shall only query the first row in the text item . Is it possible to loop in a when button pressed trigger? If not then i thought about inserting the rows in the original text item into a database table then joining it to the other tables by relation for query, however how do i loop through the text time and insert into a table( in a trigger or in a called procedure? any help would be much appreciated.

Hi
I am not sure if I understood completely what you want to do,
but if you want to query a block using a list of values,
you can modify dinamically the block where clause and use
the operator "in".
For example, loop through the values in the text item and
build a list of values - at the end you'll get in a varchar2
variable the following:
'10, 12, 17, 22'
Let's say the variable is called vList. Then you can use:
set_block_property('myblock', default_where, 'thecolumn in ('||vList||')');
So the block will retrieve all and only the records in the list.
By the way, I suggest you break such long posts with blank lines
between the paragraphs, it's easier to read!

Similar Messages

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • How to store text field data from web dynpro application in pcd ?

    Hi Forum,
    I am new to web Dynpro.
    I want to store user specific data (a text field value) from a wd application in PCD and access it every time the user runs the application.How can I achieve this?
    Thanks,
    Mickey.

    Hi
    I created the "read" and "update" methods in my application service. How can I call them? I created and implemented the methods just like here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/340fc0ea-0c01-0010-74bf-965b11031e77
    Operations:
    - readMyEntityService:
    - updateMyEntityService
    Implementation:
    retValue = getMyEntityService().read(key);
    getMyEntityService().update(dS0);
    In Web Dynpro there is this update method with the code above (in my original post).
    How can I call the update-method????????
    Kind regards
    Bettina

  • How to email several people at once

    I do education for several physicians and use my mac.com account and cannot send an email to more than 75 recipients.  I have to send two separate emails to encompass all recipients.  How can I send one email to several recipients at once?

    What you're seeing is a preventavtive measure in place by the server to prevent spamming.  Sending email to large amounts of recipients at once is a tell tale sign of a spam bot.
    Use a listserv or similar service to acheive what you want.

  • How does one change a "rollover" value in a text field of a fillable PDF?

    I have a fillable PDF, and the values displayed when rolling the pointer over a fillable text field are showing some strange values.  I inherited this form from someone who is no longer with the company.  I need to be able to change the values but can't figure out how.  I'm new to LiveCycle so any help is greatly appreciated.

    When you click on the field, right click to properties.  If the tab isn't there then go to the top toolbar, click on Window and it should appear in the list there.  Once you click on it in the Window menu it will appear as a tab on your properties box.

  • How to submit page by hitting "enter" in a text field - Solution

    Hi,
    I had this problem yesterday and thought it may come in handy for others who run into the same issue.
    My page had 2 text fields. Upon hitting enter in either of the boxes I wanted the page to submit. When only 1 text field was present it worked, however once the second field was added this stopped working.
    After reading a bit (http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html) I fount that "When there is only one single-line text input field in a form, the user agent should accept Enter in that field as a request to submit the form.". This would explain why it worked with only 1 field, but not with 2.
    After doing some testing I found that to make it work with 2 or more text fields, I needed to add a submit button. This is not the same as a button in APEX. In APEX "button" just has a onClick call to a submit function. You need a native HTML submit button.
    In order to do that I created text field. Deleted the label, and set the static value to "Search" (this was for my search application). In the page attributes I added the following:
    < script language="JavaScript1.1" type="text/javascript">
    document.getElementById("P1_SEARCH_SUBMIT").type="submit";
    < / script >
    Note: I added extra spaces in the tags so they would display properly.
    This function changes the button type to submit.
    Now when I have 2 or more text forms it submits when I hit enter in either one.
    Martin

    Hi,
    Set the Source Used: Only when current value in session state is null in Edit Page Item.
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • How to type symbols, accents and tilde in LR text fields?

    As a photog in an area with a huge Hispanic population, I need to type accent marks, tildes,etc in caption and other text fields. Does LR support this? If not now, when? Would appreciate immediately response since my Cuban client will think I am culturally ignorant to a staggering degree if I get his name wrong -- and remember, without the correct accents or tildes, non-English words are considered egregiously misspelled. many thanks.

    Here the MS kb article: http://support.microsoft.com/kb/306560
    How to Use the United States-International Keyboard
    Adding the United States-International Keyboard Layout
    To add the United States-International keyboard layout, follow these steps:
    1. Click Start, and then click Control Panel.
    2. Under Pick a category, click Date, Time, Language, and Regional Options.
    3. Under or pick a Control Panel icon, click Regional and Language Options.
    The Regional and Language Options dialog box appears.
    4. On the Languages tab, click Details.
    The Text Services and Input Languages dialog box appears.
    5. Under Installed services, click Add.
    The Add Input language dialog box appears.
    6. In the Input language list, click the language that you want. For example, English (United States).
    NOTE: When you use the United States-International keyboard layout, you should also use an English language setting.
    7. In the Keyboard layout/IME list, click United States-International, and then click OK.
    8. In the Select one of the installed input languages to use when you start your computer list, click Language name - United States-International (where Language name is the language that you selected in step 6), and then click OK.
    9. In the Regional and Language Options dialog box, click OK.
    Notice that the Language bar appears on the taskbar. When you position the mouse pointer over it, a ToolTip appears that describes the active keyboard layout. For example, United States-International.
    10. Click the Language bar, and then click United States-International on the shortcut menu that appears.
    The United States-International keyboard layout is selected.
    Creating Extended Characters
    The United States-International keyboard layout assigns new functions to the right ALT key (the ALT key on the right side of the keyboard). Use the right ALT key in combination with other keys to create extended characters.
    The following table illustrates characters that you can create by using the combination of the right ALT key plus another key, as well as those that you can create by using the right ALT key plus the SHIFT key plus another key:
    Key on United States keyboard Character Made with Right ALT+Key SHIFT+Right ALT+Key
    1 i ¹
    2 ² N/A
    Creating International Characters
    When you press the APOSTROPHE (') key, QUOTATION MARK (") key, ACCENT GRAVE (`) key, TILDE (~) key, ACCENT CIRCUMFLEX key, or CARET (^) key, nothing appears on the screen until you press a second key. If you press one of the letters designated as eligible to receive an accent mark, the accented version of the letter appears. If you press the key of a character that is not eligible to receive an accent mark, two separate characters appear.
    In other words, when you use the US-International keyboard layout, Windows automatically accents letters that customarily receive an accent but does not automatically accent letters that do not customarily receive an accent.
    The following table illustrates the accented characters that you can create:
    Press this key Then press this key Resultant character
    ' (APOSTROPHE) C Ç
    '(APOSTROPHE) e, y, u, i, o, a é, ý, ú, í, ó, á
    "(QUOTATION MARK) e, u, i, o, a ë, ü, ï, ö, ä
    `(ACCENT GRAVE) e, u, i, o è, ù, ì, ò
    ~(TILDE) o, n õ, ñ
    ^(CARET) e, u, i, o, a ê, û, î, ô, â

  • Cannot input data into Text Field on from Adobe Acrobat  Reader

    I created a form in Acrobat 5 that has check boxes and text fields. Using reader I can open the doc and use check boxes and input text into fields. Once this doc is loaded to our web server and a user opens or downloads the file they can check the boxes but cannot enter any text into the text fields. Am I missing something?
    Thanks in advance

    And so.. what is invalid?
    I've uploaded the pdf files as example:
    My generated pdf
    http://compuhelp.free.fr/adobe/before.pdf
    The modified version by Adobe Acrobat Reader:
    http://compuhelp.free.fr/adobe/after.pdf
    (I can generate a more complexe pdf file with fonts, images,... it will be displayed correctly, but Adobe always want to modifiy it).
    So perhaps I missed somthing into the pdf file format specification ?

  • How do I embed multiple font outlines in dynamic text field

    Can anyone tell me how I can embed multiple font outlines in
    Flash MX so I can get smooth text in a dynamic
    text frame? I want to use Regular, bold and italic in various
    parts of the text.
    I was using the Character button in the properties manager
    and tried to include all Characters. That does not work.
    In the Properties manager I can choose Bold and/or Italic.
    But it becomes a universal setting that overrides my HTML tags in
    my external txt file that I am importing. I dont want all my text
    to be bold.
    If I dont select them in the properties, however, Flash will
    not embed the font that it needs.
    Is there a different way to embed fonts other than under the
    Character Tab?
    I tried to import fonts to the library, but can not select
    them.
    Your help would really be appreciated.
    Sincerely,
    ggaarde

    ggaarde wrote:
    > Thanks Urami
    > Tried your method and it does not work for me.
    > I put 3 dynamic text fields in the first frame of the
    movie. Set them up to
    > where one is regular, one is bold and one is italic
    Helvetica.
    Weird, it works for me on first go, always had in fact :)
    Show you an example, try to compare to your file see if you
    missed anything accidentally.
    http://flashfugitive.com/stuff/font/text.swf
    text file
    http://flashfugitive.com/stuff/font/text.txt
    fla
    http://flashfugitive.com/stuff/font/text.fla
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How do I change font inside the Form's text fields

    I went through tutorials on lynda.com and succesfuly layed out my form.
    However I can not figure out how to make a change from a default Times Roman in the forms fields to a different typeface.
    I assigned object styles, followed by paragraph styles but nothing happens. I also can not change font color inside the text fields.
    Anyone knows how to change these attributes?

    There are literally hundreds and thousands of improvements or changes that could be made to InDesign.
    Your comments here won't get to the product manager who decides which of those to implement in the next version. This is a forum of users like you, but if you post at the link below and make a good case, you'll have a better chance of getting what you want:
    Adobe - Feature Request/Bug Report Form

  • How to show Special Characters like (∠) in an Embedded text field

    I want to show some special characters like (∠). It is working fine if we don't embed the text field. But I want to use superscript and subscript font, so I have to embed that dynamic text field. When I embedd the texfield it does not show me the (∠) symbol. Instead it shows me a square symbol. Please let me know how can I solve this problem. My project is nearly finish except for this part.
    Thanks in advance
    Salim

    Yes, I know we need to include the symbols. But  I am unable to include it. Whenever I click on embed option and paste the symbol (∠) in the include these characters box, it appears as a square symbol. This is driving me nuts.
    I even tried to embed All (54665 glyphs). But this is not working either.
    Has anyone faced this problem before?

  • How to click several buttons at once on Popup Message

    hello
    I have been creating 5boutons on Popup Message [ "Can1", "Can2" .....] and that we can click once to execute the programm eg Can1Sequence or Can2Sequence.
      I 'like to know if it is possible to click on two buttons at a time that is to say can click the same button twice or clicking two different buttons and can execute both programs in parallel.

    Dennis_Knutson a écrit :
    Why aren't you using either the batch or parallel model? The gui for either allows you start one or more threads. There are some examples that come with TestStand. There is even one called OverrideSerialNumForBatchModel where the PreBatch callback is used. This can be modified to pop up your own dialog.
    how was that during the execution of the test we have the opportunity to press two buttons below there is a picture. For 5 buttons I have used Popup Message at this time and can not be as pressing a button (so when I press a button the image disappears below and choose Test to execute).
    at this time I ask myself if this is possible with Message Popup.
    if possible I'd like as after the second stage with two "Sequence Call" to call the respective functions (that is to say if it was based on CH1 and CanX, then Can1Sequence functions and Can2Sequence be delivered). I will like to use Parallel execution.
      "OverrideSerialNumForBatchModel" is difficult for me, because I do not know if it will be possible with what I have just described, and I do not understand how its function
    Attachments:
    Select Can.PNG ‏11 KB

  • How to open several regions at once??

    Surely there must be a way to edit the contents of one region while refering to the contents of another, but I can't find a way to open more than one region at a time. I talking about editing in the matrix window, BTW.
    Can anyone help??
    Many thanks in advance.
    C9

    Thanks for the suggestions, but I'm still not getting the result.
    It's obviously no problem to have the Arrange Window open and then click on a region to open the Matrix Editor for that region, but I'd like to be able to open the Matrix Editor for a SECOND region without losing the Matrix Editor for the first region and preferably leaving the Arrange page visible too.
    I checked out the links etc on page 29, but it didn't seem to explain what I'm after. Have I missed something??
    Anyone still able to help??
    It would be fab if you could!!
    Cheers,
    C9

  • How can I get the tab key to select text fields only?

    Since upgrading to Firefox 4 on Windows, the tab key functions differently. How do I change it so that it only selects text input fields?

    The answer is:  The bug is in the UI.  Speech recognition was enabled, by default it uses the bare escape key as a "mic on" indicator, and it does not leave any trace in the keybord configuration.  So that is the bug.  It needs to leave a trace there, a la: "X Listen-for-voice-command  ^" under Mission Control.

  • How do I limit the character count in a text field?

    I'm creating a form for co-workers to use when creating web content. I need to restrict their character count for items like headlines, titles, subtitles, etc. Any suggestions on a ready-made form to use out there? And how can I limit those fields so they don't generate content that will then need to be edited down?
    Thanks,
    EAW

    Check out this post:
    http://forums.adobe.com/message/4364378
    Randy

Maybe you are looking for