Go_Item Built In Behaviour

Hello All,
In Forms 6i i am trying to push the control to a particular item which is not in canvas and the control goes to the next available item in the block sequence which is available in the sequence but doesnt gives/throws any error. But the same form when compiled in 11g and executed it throws a error frm-40112
How to get rid of this error, i did come across few threads with this environmental variable FORMS_REJECT_GO_DISABLED_ITEM but did not try it, please discuss how to overcome this issue.
Thanks in advance

Sounds like you have a Go_Item call that is referring to an item is not Enabled. Are you programmatically enabling and disabling items in your form?
Craig...

Similar Messages

  • Form Builder crashes when doing a compile all(ctrl+shift+k) after adding a go_item

    I am stumped. I have a procedure that is populating certain blocks based on where the cursor is in a tree. This procedure works great. My form compiles without any problems. If I then add a call to the go_item built-in and then try to compile my form, Form Builder crashes. I tried adding this go_item to the top of the procedure as well as the bottom of the procedure. This makes no sense to me. I can do a CTRL + T without any problems, but when I do a CTRL + SHIFT + K, it crashes with the following:
    IFBLD60 caused an invalid page fault in module NLSRTL33.DLL at 017f:60d2352c.
    Registers:
    EAX=00000000 CS=017f EIP=60d2352c EFLGS=00010246
    EBX=00000000 SS=0187 ESP=007e52e8 EBP=007e52ec
    ECX=007e532c DS=0187 ESI=00000000 FS=10ef
    EDX=00832554 ES=0187 EDI=050028e8 GS=0000
    Bytes at CS:EIP:
    8a 10 88 11 8a 10 41 40 84 d2 75 f4 8b 4d 14 2b
    Stack dump:
    00827af0 007e53b0 5da01008 007e532c 00000000 00832554 00832400 007e5814
    00833c20 007e5810 00000004 00000000 00000003 0508cd14 00000000 05002e88
    Any help would be greatly appreciated. Has anyone else every seen this problem.
    We have had crashes in the past that were with this same DLL.
    Whenever we try to do a Find and Replace PL/SQL..., we get the following:
    "IFBLD60 caused an invalid page fault in module NLSRTL33.DLL at 017f:60dld397." It then lists some register stuff." We had a TAR out on this problem and Oracle was unable reproduce our problem (TAR #1420237.996).
    We have version 3.3.3.0.0 of that DLL. Is it possible that we have a bad version?
    null

    Tina,
    My suggestion might work for you.
    I had similar issue. What I did was:
    1. Open the form after connecting to DB.
    2. Do a <Compile All> 2 times.
    3. ie., First time, do a <compile all>
    4. Immediately do another <Compile All>
    5. Now Save and then Generate.
    Just give a try, if u need,
    null

  • How do I strop thunderbird from using any email account other than my default one?

    I have a number of different email accounts all set up separately but identities are not set as they were too confusing for this autistic brain.
    How do I stop it choosing ANY other address in the "from" and "reply to" of replies or forwarded emails.

    You most likely don't need identities, at least not as Thunderbird uses the term.
    Most of us would reply to an email address by replying "from" the address it was sent "to". I wouldn't reply to business emails using my private email address, nor would I reply to private email messages using my work email address. Email software generally goes out of its way to maintain this consistency. So you want to override this built-in behaviour. ;-)
    You might find these add-ons useful:
    Folder Accounts lets you associate an email address ("identity" in the broader sense) with each folder, so this can force the use of a preferred address.
    Correct Identity reads through the message you're writing and picks out a relevant "identity" to use as "from:", depending on whom you are writing to. This helps me avoid using my personal email address to reply to business emails and vice versa. It can also flash up a warning if you try to use an "unapproved" email address in the "from:" field.
    I have used Folder Accounts to override the default identity for one or two accounts which are used in a very specific context, such as reporting spam, but it has clashed with newsgroups. Of course, this may not matter to you.
    Of the two, Folder Account may suit you best if you don't use Thunderbird to read newsgroups.
    https://addons.mozilla.org/en-US/thunderbird/addon/correct-identity/?src=api
    https://addons.mozilla.org/en-US/thunderbird/addon/folder-account/?src=api
    How to install: http://www.ramsden.org.uk/3_How_to_install_Add-ons_in_Thunderbird.html

  • How can i show multiple windows on start?

    Hi everybody:
    I have an application that need to show 5 windows at the same
    time when the application is started. The 5 windows are seen but
    the canvas is not shown, so, i see 5 windows with no elements. I
    have tried with SHOW_WINDOW built in, but it only shows the
    window, not the canvas. If i use the GO_ITEM built in, in one
    item from each block i can only see the last block visited.
    Is there any property that i must change in canvases? (the
    raise on entry is in "yes"); i have to do anything else?
    Thanks.

    Windows have a property called "Primary Canvas". This sets what
    canvas should be shown in a window by default.
    Typically Forms knows what to display because the cursor is in
    an item, the item is on a canvas, the canvas is required to set
    its Window...you see the window with everything in it.
    The window property primary canvas for when you do a show_window
    and do not navigate to anything in the window.
    Thanks,
    Candace Stover
    Forms Product Management

  • How to set the number of records displayed at run time

    Is it possible to set the number of records displayed block property at run time? The built-in 'GET_BLOCK_PROPERTY' can retrieve the number of RECORDS_DISPLAYED. But I can't find SET_BLOCK_PROPERTY to set this property. Is there anyway I can set this property programmatically? Thanks for any suggestions!

    Bookmark Go to End
    goal: How to vary the number of records displayed in a block
    programmatically
    fact: Oracle Forms Developer
    fix:
    Block property 'Number of Records Displayed' can not be changed during runtime
    using SET_BLOCK_PROPERTY. However, it is still possible programmatically change
    the visual appearance of the form so that it creates effect of changing this
    property. To achieve such an effect follow these steps:
    1. in Forms Builder, in the multirecord block define the new set of items.
    The simplest way is to copy/paste the original item and rename created item.
    2. set properties of these new items so that they are the same as the properties
    of the original items. If these new items were copied from original items
    then properties are already the same. Modify following properties
    'Database item' on new items to value 'No'
    'Synchronize with item' to the value of the original item
    'Number of Items Displayed' to desired value.
    'Visible' to 'No'
    In other words, these new items are mirrors of original items.
    3. code event, which is meant to trigger the change in block appearance.
    This code should use SET_ITEM_PROPERTY built-in to set properties
    like 'VISIBLE', 'ENABLED', 'NAVIGABLE', 'UPDATE_ALLOWED' and others
    to desired value for items which are about to be displayed, then
    move cursor to one of these just displayed items with GO_ITEM built-in
    and then hide the previously displayed items.
    Example:
    Assume that the block is built on SCOTT.DEPT schema. Following will
    change the set of displayed items
    set_item_property('dept.mdeptno',visible,property_true);
    set_item_property('dept.mdname',visible,property_true);
    set_item_property('dept.mloc',visible,property_true);
    set_item_property('dept.mdeptno',enabled,property_true);
    set_item_property('dept.mdname',enabled,property_true);
    set_item_property('dept.mloc',enabled,property_true);
    set_item_property('dept.mdeptno',update_allowed,property_true);
    set_item_property('dept.mdname',update_allowed,property_true);
    set_item_property('dept.mloc',update_allowed,property_true);
    set_item_property('dept.mdeptno',navigable,property_true);
    set_item_property('dept.mdname',navigable,property_true);
    set_item_property('dept.mloc',navigable,property_true);
    go_item('dept.mdeptno');
    set_item_property('dept.deptno',visible,property_false);
    set_item_property('dept.dname',visible,property_false);
    set_item_property('dept.loc',visible,property_false);
    Regards,
    Monica

  • Creating a photo gallery using behaviors?

    I am re-designing a website, and I'm a little stuck on how to re-create the photo gallery presentation of the original web site. Here is the original gallery:
    http://www.sarahegeller.com/photos
    What I'd specifically like to reproduce is the ability to click on a thumbnail, which would bring up the larger image, but with the original window remaining behind, greyed out. I assume this is something I can do with behaviors, but there doesn't seem to be a behavior that addresses this, at least among the behaviors dreamweaver CS 3 comes with. I assume a behavior that would give me the effect I want exists on the dreamweaver exchange, but I couldn't find one. Am I even correct in assuming I could achieve the effect I'm looking for using a behavior?
    I'm using dreamweaver CS 3, on a mac.
    Thanks for taking the time to read this query.
    Yours,
    Nick

    The effect you're aiming for is a currently popular one known as a Lightbox.
    There is no in built Dreamweaver behaviour for this. You'll need to look for 3rd party solutions such as jQuery.
    From the page code:
    <script type="text/javascript" src="/sites/all/modules/lightbox2/js/auto_image_handling.js"></script>
    <script type="text/javascript" src="/sites/all/modules/lightbox2/js/lightbox.js"></script>
    The effect on that particular site is created with a Drupal module: Lightbox2
    http://drupal.org/project/lightbox2
    You may be able to use:
    http://www.lokeshdhakar.com/projects/lightbox2/

  • Cannot have execute_query in post-change but can have it when-radio-changed

    why is it possible to put execute_query in a when-radio-changed trigger but one cannot put it in
    a post-change or post-text-item trigger? (11.1.1.4)
    For example I want to ask for a year, and a month. I don't much feel like creating radio items for all those years. Whenever a year
    or a month is changed I want it to reconstruct the where clause and execute the query. But the year not being a radio group
    is more problematic about how to get execute_query to run. What is thinking here? I think that a text item post-change deserves as much power as a radio_group change! It's unfair.

    Over the years, I have found that the people that complain about Oracle Forms the most are the people that refuse to learn how Oracle Forms works. You can't expect to develop in a any framework unless you learn the rules of the framework. I've seen numerous complaints about the lack of documentation on Forms and yet the single most important form of documentation is the Oracle Forms Help system. The answer to virtually every question you might have can be found in the Forms help system, but it helps to understand a little about how Forms functions so you can ask the right questions in the help system.
    I also find it hard to understand how an employer will throw someone, with little or no exposure to Oracle Forms, into a Forms project and expect them to "Pick it up" along the way rather than take the time and expense to send them to an Oracle Forms class. How can the employer expect the employee to be successful if they are unwilling to give them the resources they need to be successful. If you are one of the unfortunates that are in this situation, then you could at least perform a simple Google search on "Forms Tutorials" and you will find numerous on-line "Free" tutorials. Don't worry about the Forms version used by these tutorials as you are only going through the tutorial to learn how to create a Form and how the Forms tool interacts with the database; which is doesn't matter which Forms version you are using because this part hasn't changed all that much between the Forms versions.
    There are even some really good books (however, quite old) that you can purchase that teach you all the basics of Oracle Forms. Here are just a few:
    Developing Oracle Forms Applications by Albert Lulushi
    Oracle Forms Developer's Handbook by Albert Lulushi
    Oracle Developer: Advanced Forms and Reports by Peter Koletske
    Programming with Oracle Developer by Matthew BennettThese are just a few books and yes they are all for older versions of Oracle Forms. But the concepts you will learn apply to any Forms version.
    While I admit that it is inconvenient that I can't call a Restricted built-in from certain triggers once you understand the reasons why you can't call Restricted built-ins it make sense why Oracle built their event model the way they did. By calling certain restricted built-ins in a trigger, such as the When-Validate-Item trigger, you could very easily cause an an endless loop to occur in your application. For example, if you were allowed to call the GO_BLOCK or GO_ITEM built-ins from a When-Validate-Item trigger you could cause cascading validation events to occur. While this is not a bad thing in and of itself, but what would happen if I sent the Forms Navigation cursor to go to an item before I had completed my validation logic. The item I sent the cursor too also happens to have validation logic assigned to it that just so happens to send the navigation cursor to the item I just left. Understand, the first item has not yet completed it's validation process and the second item sends the cursor right back the first item - which triggers a new validation event on the first item. Now I've got compounding events in the execution stack and I've put my application into a loop that I will never get out of because I've got validation logic that never completes successfully so the validation event never exits - it just keeps running and running.
    At first, you might say that it is the developers responsibility to ensure this does not happen and the developer should be more careful with their code to prevent this from happening and you would be right. We (developers) are responsible for writing safe code. However, after a while, software manufacturers eventually put restrictions in place because there are enough irresponsible developers out there causing problems and the only way to fix the issue is through the use of framework restrictions.
    Having said that, Oracle Forms has certain restrictions for good reasons. Because you don't understand what those reasons are is not a good reason to complain about the restrictions. Rather, I would hope, that your lack of understanding of a particular framework/methodology would encourage you discover the "Why's" and "How come's" of the framework.
    The simple fact of the matter is you cannot be successful with Oracle Forms unless you learn how to program within the Forms Framework. You can't take C++, Java or any other programming language and apply the rules of programming these languages to Forms. You absolutely must learn how Oracle Forms operates and what the rules are for developing successful Forms applications.
    That's my two cents on the topic. I'm trying to start a flame war; I'm just tired of hearing people complain about Forms just because they don't understand or haven't taken the time to understand how Forms operations and what the rules are for developing within Oracle Forms.
    Sincerely,
    Craig...
    Edited by: CraigB on Aug 2, 2011 12:38 PM

  • :system.cursor_block value does not change when mouse click

    Form created with Forms version 6.0.8.8.0. Consists of a control block that has the toolbar buttons, a filter control block that contains item, and a data block. The filter control block and data block are on a tabbed canvas. There are 3 tabs with corresponding filter control block and data block on each.After the data block is queried, code sets the navigation to the control block with the go_item built-in. The user would use a mouse click on the filter control block on one of the tabs to activate an LOV, code is in a generic when-mouse-click trigger that will determine the item focus with the value in the system variable :system.cursor_block. Works for the first tab. Does not work for 2nd or 3rd tab. On-error trigger does not capture any error. Values for :system.cursor_block for tab 1 show that value before mouse click is 'control.detail' and after mouse click is 'filter.a'. For tabs 2 and 3 the value before mouse lick is 'control.detail' and after mouse click is 'control.detail' instead of 'fiter.b' or 'filter.c'. Verified that the 3 filter blocks are identical. Can anyone shed some light on this anomoly? I have been looking for this solution (many different iterations and changes to trap it) for too long.

    :System.Cursor_Block reports the name of a block, NOT a BlockName.ItemName.
    Use :System.Trigger_Item with your mouse click, or :System.Cursor_Item.

  • Link box do not have url parameters button

    I start learn Dreamweaver with this lessons How to Build a Content Management System Using Dreamweaver - YouTube, but have a problem.
    I do not have in the link box the parameters button for URL. Is it some extension?

    If you are using Dreamweaver CC or CC2014 they dropped the default support for server behaviours/database connection that's probably why you have no 'parameter' button because it uses the built in behaviours.
    It's now only available via an extension - see the thread below and read post number 1:
    OT: Bindings panel, Databases, and Server behaviors in Dreamweaver CC
    The real question is how is it that you have gotten that far in the tutorial if you have no server behaviours? Maybe you have installed the server behaviour extention for DW CC or CC2014 but the 'parameter' button was not restored.
    You can always hand code that part of the tutorial by adding the code to the end of the file - Update.php?ID=<?php echo $row_Results['ID']; ?>

  • Bug? Tab control breaks graph autoscale (+workarou​nd)

    I had this really annoying problem where two of my graphs did autoscale and the other two didn't... Although all the code and graph properties were exactly the same.
    I finally figured it out...  The graphs are in a tab control. And only the graphs that are on top get autoscaling.  Labview 'forgets' to autoscale the other graphs when you show those other tabs. Even when I use a property node, I can't force the graphs to autoscale, unless they are on the showing tab.
    Feels like a bug to me.... I can understand that graphs aren't updated/autoscaled when they're not shown for performance reasons... but I think the axis should then be updated/autoscaled as soon as the corresponding tab is shown.  And it certainly would be nice if the axis does autoscale when I explicitely ask for it using the property node...
    Now that I understood the problem, I could also make a work-around.   I made a 'value changed' event for the tab control, and put the property node autoscale code in it.  That way, I ask for an autoscale right after showing the new tab page.  (See attached vi for example of the problem and work-around.)
    The workaround works fine... but I think that this should be default built-in behaviour for graphs in tabs that have the autoscale enabled.
    Attachments:
    tabcontrol autoscale.vi ‏32 KB

    Hi Anthony,
    This is a known issue that was partially fixed in LabVIEW 8, which you appear to be using. By partially, I mean that the behavior only persists when you update the value of your graph using a property node (either Value or Value Signaling). If you update the value using a direct wire connection to the graph terminal, or using a local variable, then the problem goes away. I would recommend using either of these methods, because they will fix your issue. Also, in general a direct wire connection or a local variable will greatly improve LabVIEW's efficiency in terms of updating the front panel. The only situation where this fails is if you need to update your graphs from inside a subVI using control references.
    Because that last note is a very real situation, we will notify R&D of this matter so that they can investigate this further. Thanks for bringing this to our attention.
    Jarrod S.
    National Instruments

  • Cursor moving

    Hi gurus,
    I want that when ever my form will open the cursor will be in a perticular field.Can you please help me to tell which trigger i should user and what should i write within it.
    Regards
    Rajat

    Rajat,
    Write the GO_ITEM built-in in WHEN-NEW-FORM-INSTANCE trigger of the form. Or make that item as the first item in the first block.
    Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Solaris 10 syslogd question

    Is there possible disable syslogd "last message repeated" -rows and print content as it?

    I don't think you can disable that functionality in syslogd, i think its a part of its built-in behaviour as of how it buffers and flushes messages.
    You could however take a look at syslog-ng:
    http://www.balabit.com/products/syslog-ng/
    Its a bit more configurable and can probably be configured to display each message (in fact i think its the default of syslog-ng, but i might be wrong).
    7/M.

  • Showing forms and navigation

    Hi,
    I am using CALL_FORM to open up another form, how to disiplay it so i can see the other form in the background?
    also, if i have an exist button on a form, and it calls another form which is tabbed canvas, how do i navigate it to the particular tab, not the default tab of the tabbed canvas.
    thanks

    Hello,
    I am using CALL_FORM to open up another form, how to disiplay it so i can see the other form in the background?Can use the CALL_FORM built-in like this...
    CALL_FORM('FORM_NAME',NO_HIDE,DO_REPLACE);  -- See forms help also for this built-in for other parameters...Or if you want to navigate and want to perform some actions on the background form then use OPEN_FORM built-in.
    also, if i have an exist button on a form, and it calls another form which is tabbed canvas, how do i navigate it to the particular tab, not the default tab of the tabbed canvas.You can use GO_ITEM built-in for this purpose for the item which is located on the desired tab page. Like...
    GO_ITEM('BLOCK_NAME.ITEM_NAME');-Ammad

  • Calling a canvas

    hi guys, i currently have a form consisting of 2 cavas's (or pages if you wish) from my first canvas when a button is pressed i would like to call my second canvas but cannot figure the appropriate method to do so. I tried typing:
    go_item(PAGE_2'); <-page 2 is my canvas name
    into the when button pressed trigger but it didnt seem to work, anyone any suggestions? thanks.

    Hi,
    You can use GO_ITEM built-in for that. You have to give an item name which resides in the second canvas not the canvas name.
    GO_ITEM('<block_name>.<item_name>');Or you can use SHOW_VIEW built-in. In this you can use the canvas name.
    SHOW_VIEW('<canvas_name>');Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Revealing sprites dynamically

    Hi,
    I've adapted the built-in behaviour 'Turn towards mouse' so
    that a ruler appears on my stage when the 'r' key is down and the
    user clicks and holds the mouse button down. It rotates around the
    point at which it was placed, and follows the mouse as long as the
    'r' key (and mouse button) is down. What I want to add to this
    behaviour is revealing the ruler image dynamically as the pointer
    drags away from the point of origin. In other words, the finished
    effect will be to click anywhere on the stage and effectively
    'draw' a ruler in the direction and to the length desired. Can
    anyone point me in the right direction?
    Many thanks,
    TzK.

    it works now. - thank you. oh man. lingo is soo
    time-consuming if you don´t do it regularly... :(
    but at least i´m able to be pleased with the little
    successes....
    that´s the code that worked for me, if someone else
    should be searching for this:
    vFolder = the moviePath --startupFolder
    gFolderList = baFolderList(vFolder) -- list subfolders of
    startupFolder
    gFolderPosList = [point(100, 100),point(100, 200),
    point(100, 300), point(100, 300), point(100, 300), point(100, 300)]
    -- erase all fields on startUp to avoid thousands of fields
    later.. ;)
    repeat with vEraser = 1 to (the number of members of castlib
    "internal")
    if member(vEraser, castlib "internal").type = #field then
    member(vEraser).erase()
    end if
    end repeat
    repeat with vFolderName in gFolderList
    vFieldMember = new(#field) -- create new field
    vFieldMember.name = vFolderName & "member" -- give field
    same name as the folder has
    vString = ""
    put RETURN & vFolderName after vString
    delete char 1 of vString -- initial RETURN
    vFieldMember.text = vString -- put name of the field/folder
    into field
    vSprite = new(#sprite) -- create new sprite (necessary for
    displaying on stage)
    sprite(vSprite).member = member(vFieldMember) -- fill
    sprites with field-members
    actPos = gFolderList.getPos(vFolderName) -- temp. shortening
    of that listPos-thing
    channel(actPos).makeScriptedSprite(member(vFolderName &
    "member"), gFolderPosList.getAt(actPos))
    end repeat

Maybe you are looking for

  • I can't get to BIOS if internal HD is plugged in

    W520 running BIOS version 1.35 If I remove the hard drive, I can get into the BIOS just fine (I am talking about the internal HD, Intel 320).   I wanted to change the boot order.  However it makes no difference once I reconnect the hard drive, it wan

  • Trex error: No embedded object found in document (Errorcode 14037)

    Hi, we have following problem with our crawler: in the crawler 50 % of documents are returning the error "No embedded object found in document (Errorcode 14037)" and are not displayed in the trex monitor. All other documents are indexed correctly an

  • No-go on photo-editing and positioning of a hyperlink in IWeb template -

    Dear forum. I am currently building a little site on I Web - but have had some difficulties regarding - editing of pictures and the use of Hyperlinks in text. 1) I have made the specific page on a template called :My photos. When I have pulled pictur

  • Long single beep noise on startup.

    When I started up my MacBook Pro after a software update (EFI and Thunderbolt software), it made a long single beep noise, then showed the Apple logo with a progress bar below it, then flashed the screen, and went to the regular startup with the Appl

  • How do I get to the Object Definition Editor?

    I know this has got to be a beyond basic questions and I feel kind of stupid for asking, but how do I utilize the SDK? I am new to working in a Java environment and it's a bit confusing to me at times. So, I downloaded the SDK. I know how to add new