How to move one text item to other in form conditionaly

I am working in form 9i
Please some one can help me
when I am trying to move my one form field to other conditionally what will be my triger
I was using when vilidate item
the error comes
ora-40105
regard
s k swain

user591475 wrote:
I am trying to move this wasy
but the error is ora-40105
BEGIN
     IF :ACCTRANDET.CRdr = 'Cr' then
          go_item(':ACCTRANDET.camt');
     else
          go_item(':ACCTRANDET.amt');
     end if;
end;change with this
BEGIN
     IF :ACCTRANDET.CRdr = 'Cr' then
          go_item('ACCTRANDET.camt');
     else
          go_item('ACCTRANDET.amt');
     end if;
end;

Similar Messages

  • How to create a text item dynamically

    Greetings to All Expert,
    Could anyone please tell me how i create a text item with code.The scenario is like this....
    Suppose there is a text item corresponding to department_id=10 and i dont know how many employees r there in this department.Now if the query returns 10 employee then how do i display these 10 employees name.....it may be 20 employees also...i dont know the actual number before executing the query..
    Regards,
    Wel
    Edited by: 787312 on Aug 15, 2010 1:03 AM
    Edited by: 787312 on Aug 15, 2010 4:19 AM

    Hi,
    You can create two blocks for this. One is an unbound block which consist of a text box with a command button. Other block is a bound block from your table(multiple rows block). In hierarchical, unbound block should above above bound block, which makes the focus control goes first to the text box. When the user type the dept code and click on the button it goes to bound block and execute the query.
    you can write code in the command block as below
    set_block_property('<boundblockname>',default_where,'deptno = '||:ti_DEPTNO);
    go_block('<boundblockname>');
    execute_query;Best Regards
    MP

  • How i can make text item as read only

    hi
    im trying to make a text item as read only so no one can write on it i tried to make it as display item but i neeed also to call lov when i double click on the text item in display item case u can not double click
    so please how i can make text item as read only
    and another thing
    how i can change an item properties by code i mean when i click in one button the text item become visibile how i can change its property by code
    thank u

    You can set a text item's property to be non-updateable
    You can change this programmatically with set_item_property()
    :)

  • How to change a text item to have a link that opens a different page?

    Hi,
    How to change a text item to have a link that opens a different page?
    Thanks,
    Guy

    Hi Denes,
    I understood what the code will do. But it did not work.
    ...a href="f?p=&APP_ID.:2:&SESSION.">LINK</a...
    By default, P5_TASK_NAME displays Task Name which is passed from Page 3.
    So I changed your code as follows so that P5_TASK_NAME value may be displayed with a link.
    ...a href="f?p=&APP_ID.:3:&SESSION.">:P5_TASK_NAME</a...
    But P5_TASK_NAME value appears without any link and does not open page 3.
    Then I created a new text item (display only) in the same HTML region in page 5 and entered the following code in the default box:
    ...a href="f?p=&APP_ID.:3:&SESSION.">LINK</a...
    When I ran the application, it displayed the whole code as text.
    How can I display P5_TASK_NAME value with a link to open page 3?
    Would appreciate your help.
    ... to be replaced with < or >
    Could you please let me know how to display link code correctly?
    Thanks,
    Guy
    Edited by: GUY3 on Mar 11, 2009 4:20 PM

  • How can I find text-item description and content in database?

    I make "Actual news" region with text and simple image items.
    With "Custom Search" autoquery I make news portlet with 10 latest news.
    But I will make with PDK-Java discussion portlet, in which users can read and write about last published (last created text item display name and content) news.
    My questions:
    - How can I find text-item description and content in database?
    - How I can sort text-items to find latest created in my region?
    I have Portal R2
    Thanks in advance.
    Cheslav

    I am sorry. The following are the related tables.
    WWV_TEXT
    WWV_TEXT_BLOCKS
    WWV_TEXT_BLOCK_USAGES
    WWV_USER_TEXT_BLOCKS
    WWV_USER_TEXT_BLOCKS$
    WWV_USER_TEXT_BLOCK_USAGES
    WWV_USER_TEXT_BLOCK_USAGES$
    May be you want to browse WWV_TEXT which is the core table.

  • Is there a way to move a group of tabs to a new window? I know how to move one tab to a new window, but is there a way to mark a group of tabs and move them to a new window?

    Is there a way to move a group of tabs to a new window? I know how to move one tab to a new window, but is there a way to mark a group of tabs and move them to a new window?

    * Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • How to overlay one pdf page onto other page?

    Hi,
        I don't know how to overlay one pdf page onto other. Remember, i am not looking to merge them. Please let me know which software will help me in doing that.
    Thanks
    Sami

    Hi samik79976082,
    You can use the Background tool in Acrobat to overlay one PDF page over another. Please see this thread for details:
    Can you overlay two PDF documents, but use second PDF as watermark to first?
    If you don't have Acrobat, feel free to give it a try. You can download the 30-day trial from http://www.adobe.com/products/acrobat.html.
    Please let us know how it goes.
    Best,
    Sara
    [Discussion moved from Acrobat.com Online Services forum to Creating, Editing & Exporting PDFs forum]

  • How do I edit text in a fill-in form?

    How do I edit text in a fill-in form?  I am using Adobe Acrobat Pro version 10.1.8 in Mac OSX.  The document was created in Word, saved as a pdf, opened in Acrobat, and form fields added.  Now I need to change some of the text on the original form (mostly just dates).  Ideally, I wish there were a way to edit the forms overall - add or delete lines, edit text, etc.  I've done this before, but I always seem to need to go back to Word, edit the original document, and then re-create the form fields... it takes me a huge amount of time, making sure each field is formatted correctly (font, size, wrapping, text resizing, etc) so it looks ok when the user enters their data and prints it.  Please, tell me there is a better way!
    If the solution is upgrading to a higher version of Acrobat, I'm listening... but ideally I can get this batch done in the software I have, then worry about learning the newest version.

    Fonts are Licensed asset's subject to single user use. They are not intended to be exchanged, redistributed, etc.
    As part of the PDF standard they included in a document so that the document can be viewed reliably without the font be installed on the viewing station.
    To edit you must have the font installed on your computer. The ability for second parties to use the font would violate font licenses.

  • How to move one table to other schema

    Hi;
    imagine i have one schema A and i create table in this schema as test. Now i have one other schema,name is B. I wanna move my A.test table to B.test2
    How i can do it?
    thanks

    Following discussion might help How to move the table to the another schema?

  • Sales order Userexit to copy item text from one line item to other

    Hi Gurus,
                 I have an urgent issue. Based on item category in sales order, for one line item, I am getting item text. Now I have to copy same item text to other line item.
    Till now I tried save_document_prep & save_document to
    build object tdname & fetch all tdid from table stxh for object 'VBBP'.
    After that READ_TEXT and SAVE_TEXT function module.
    But during creation of sales order I am not able to get any value in STXH table for created sales order. Now I want to know from which internal table I can get item text ?  (some internal table should be there like xvbap to get text per line item)
    Or is there any other way to do this... Please help.
    Points will be rewarded.
    Thanks,

    Hi ,
    try something like this .
            l_name = ls_vbap-vbeln.
            IF l_name IS INITIAL.
              l_name = 'XXXXXXXXXX'.
            ENDIF.
            CONCATENATE l_name ls_vbap-posnr INTO l_name.
            CALL FUNCTION 'READ_TEXT'
                name            = l_name
    Regards
    Prabhu

  • How can Irezise objects(text item or tree, etc)?

    dear friens
    I have Oracle form (10g) and I'd like make a table of text items like excel gride, because I'd like resize the width of columns and move columns. Please tell me how can I do that.
    thanks

    Hi,
    you can't move and resize them with drag and drop, but you can do this programmatically using the next and previos navigation item property, as well as the positional and size properties of the items. Its a bit like shuffling cards, but it works great.
    Frank

  • How to move one screen to another screen Webdynpro ?

    Hi,
    How to move from one screen to another screen Webdypro ?
    Best Regards,
    Kishore

    Hi,
    for this you have to declare in and outbound plugs to your views,
    bind them into the window area of your component and fire the
    outbound plug in your action handler in view one, view2 will be called
    automatically.
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/1f/464941db42f423e10000000a155106/frameset.htm">documentation</a>
    grtz
    Koen

  • How to validate a text item/display item in Oracle forms 9i?

    Hello Everyone,
    I have a form in which we have to type in a product_id as shown below in the screenshot. And when we type in, it has to get validated.
    If it is valid then ok, else display a message saying not valid.
    How do we achieve it on a text box/diaply item in the form shown below.
    Any kind of help would be really appreciated.
    Thanks in advance,
    Vishal

    Just create a when-validate-item trigger for that text item and write the code inside to validate it.
    Hope it helps.
    Navnit

  • How to move over text in a sub-menu --

    Hi - I hope someone can help me because I'm stumped.  In my previous post:
    https://forums.adobe.com/thread/1669049?sr=stream
    ...the forum team helped me figure out how to fix bullets in a list.  But now someone else brought it to my attention and I tried to fix it but cannot figure it out.  Now the sub-menu words are way too close to the left edge of the main navigation:
    So I'm not sure what to do to leave the bullet lists, which work great, alone but how to fix those sub-menu words to move them over to the right away from the left edge.  Here's the main CSS file and the change I made from the previous post starts at line 432:
    https://dev3.orr.noaa.gov/sites/all/themes/creative-responsive-theme/style.css
    Any ideas?  Any help is greatly appreciated and thanks.

    Hi Ken,
    The reason why the -11 is there is because in a previous post:
    Bullets in list aren't displaying - can't figure out why
    I added it to fix the bullet lists so that the text wraps and the bullet lists line up like they should.  When I added it, though, it's now affecting the navigation.
    UPDATE - I was able to pinpoint the exact code that affects the sub-menu text.  The code is the CSS file is:
    #main-menu li li a {
      color: #C5C5C5;
      min-width: 150px;
      margin: 0;
      background: #1e272e;
      border-top: 1px solid #333;
      font-size: 11px;
      text-align: left;
      overflow: hidden;
      padding: 3% 5%;
      font-weight: normal;
    The way I confirmed that the above code is what I need to fix is I changed the font size to 16, just to see what would happen and here is the result I got:
    So that above code seems to be the code that will affect the layout of the sub-menu words that I'm trying to move over a little bit from the left margin.  Then I tried to tweak the margin and padding.  I first added 10px to the left margin like this (margin: 0 0 0 10px) and that did not work.  I then tried to add 1% to the padding and that did not work either.  So I'm really stumped about how to move those sub-menu words over from the left a little bit.  Any ideas?

  • How can I change TEXT ITEM to DISPLAY ITEM in my form.....

    Hello;
    There are 2 users in my form,when fırst one is connect to my form,I want to change "the Text item" to Display ıtem..

    Better try the Forms forum:
    Forms

Maybe you are looking for

  • Connecting ipod to computer causes itunes library to disappear

    I manage my music on my ipods manually. I have all my music and videos stored on an external hard drive. When I connect an ipod (we have 3) to add music or video files itunes looses my library (? show up saying itunes cannot locate the file, when loo

  • CFL in matrix columns for A/R Invoice

    Hi experts, This my xml form code. Can someone show me where i have done an error. I have 2 CFL on 2 columns Regards. Edited by: Olivier KPOLO on Apr 1, 2010 12:51 PM

  • Slide "ON" button for I Phone 4S

    When I slide the button to turn on the phone; it goes to the end but does not turn on the phone .  I can hear a delayed teletale "click" but the phone does not come on.  If I try to shut it off; that doesn't work either.  After a whille it comes back

  • HT1688 Is there any hope for my Iphone 4 after being dropped in the toilet on Christmas

    After getting my phone out of the toliet and drying it off..it appeared to be ok...three hours later, I tried to use it and it was off. I put it in rice immediately a few days later it hasn't made a difference. Yesterday, I bought a bag that is for c

  • App says "Waiting..."

    App says "Waiting" Am getting super annoyed with this... iPad 2, wifi only. Was doing an upgrade of apps from my computer to my iPad. A couple Apps obviously failed to sync despite being attached to my laptop for 15 hours. Both "Garage band" and "Num