Forms bug??

I am on 10g 10.1.2.0.2 forms. This form works fine in 6i.
I am getting this error
ERROR: FRM-40735: WHEN-NEW-FORM-INSTANCE trigger raised unhandled exception ORA-04067This procedure is called from WHEN-NEW-FORM-INSTANCE
PROCEDURE get_preference IS
      r_mv_userprefs  mv_userprefs%ROWTYPE;
      v_user               VARCHAR2(100);         
      po_msg    VARCHAR2(200);
BEGIN
      v_user := get_application_property(USER_INTERFACE);
      r_mv_userprefs := pk_userprefs.fu_select(v_user,'NE_TYPE');
END;The procedure "pk_userprefs" is in the database. Function "fu_select" is also correct. I am able to execute a sample PL/SQL from sqlplus without any errors.
Is this a forms bug?
thanks

Not sure of this, but try it:
In your package spec, create a TYPE that defines the rowtype you are returning:
TYPE userprefs_type  mv_userprefs%ROWTYPE;Use the type in your function declaration in the package spec:
Function fu_select(Parm1 in varchar2, Parm2 in varchar2) return userprefs_type;In your form, use the package type:
PROCEDURE get_preference IS
      r_mv_userprefs  pk_userprefs.userprefs_type;
      v_user               VARCHAR2(100);         
      po_msg    VARCHAR2(200);
BEGIN
      v_user := get_application_property(USER_INTERFACE);
      r_mv_userprefs := pk_userprefs.fu_select(v_user,'NE_TYPE');
END;

Similar Messages

  • [svn:fx-trunk] 16331: Form Bug Fixes

    Revision: 16331
    Revision: 16331
    Author:   [email protected]
    Date:     2010-05-26 17:20:51 -0700 (Wed, 26 May 2010)
    Log Message:
    Form Bug Fixes
    SDK-26517 - Form should take into account includeInLayout property when calculating baselineElementPosition
    Added logic into Group to find the first element that has includeInLayout == true.
    SDK-26509 - Spark Form shows dual error strings in non-stacked layout
    Removed error string from FormSkin. Created a StackedFormSKin skin which includes the error string.
    SDK-26499 - Spark Form skin should use errorStringDisplay skin part instead of errorStringText
    Changed name to errorTextDisplay
    SDK-26498 - Spark Form needs more padding around error strings
    Added padding to the entire Form
    SDK-26503 - Difficult to create custom Spark FormItem skin due to embedded required/error icon assets
    Added new requiredIndicatorSource and errorIndicatorSource styles to FormItem. FormItem skins now grab the icons from these styles. Custom skin also have access to these icons.
    QE notes: Form layout has changed
    Doc notes: none
    Bugs: SDK-26517, SDK-26509, SDK-26499, SDK-26498, SDK-26503
    Reviewer: Kevin
    Tests run: checkintests
    Is noteworthy for integration: no
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-26517
        http://bugs.adobe.com/jira/browse/SDK-26509
        http://bugs.adobe.com/jira/browse/SDK-26499
        http://bugs.adobe.com/jira/browse/SDK-26498
        http://bugs.adobe.com/jira/browse/SDK-26503
        http://bugs.adobe.com/jira/browse/SDK-26517
        http://bugs.adobe.com/jira/browse/SDK-26509
        http://bugs.adobe.com/jira/browse/SDK-26499
        http://bugs.adobe.com/jira/browse/SDK-26498
        http://bugs.adobe.com/jira/browse/SDK-26503
    Modified Paths:
        flex/sdk/trunk/frameworks/build_framework.xml
        flex/sdk/trunk/frameworks/projects/spark/build.xml
        flex/sdk/trunk/frameworks/projects/spark/defaults.css
        flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/FormItem.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FormHeadingSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FormItemSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/FormSkin.mxml
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/StackedFormHeadingSkin.mxm l
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/StackedFormItemSkin.mxml
        flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/FormTestScript.mxml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/spark/assets/
        flex/sdk/trunk/frameworks/projects/spark/assets/ErrorIndicator.png
        flex/sdk/trunk/frameworks/projects/spark/assets/RequiredIndicator.png
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/StackedFormSkin.mxml
    Removed Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/assets/ErrorIndicator.png
        flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/assets/RequiredIndicator.p ng

    This bug figures out also when creating a custom spark ComboBox, then trying to programatically update the userProposedSelectedIndex property. The proposed selected index is selected, but does not apply the same skin as when mouse is on rollover or item is selected due to up and down keys.
    The issue seems like updating the status of the item renderer to rollover or selected to get the same skin applied.
    Please could you attach DropDow nList.as that you edited ?
    Thank you so much.

  • Unable to move scrollbar due to forms bug

    We use Headstart for Designer 6.i.
    I have spreadtable in the form with verticall an horizontall scrollbars.
    In PRE-FORM trigger I used procedure qms$config.set_spreadtables_resizable('TRUE').
    In the running form when the window is resized the error message is displayed:
    'Unable to move scrollbar due to forms bug' and verticall scrollbar is lost.
    But in Headstart demo this utility works OK. I can't find solution for this problem in oracle Helpdesk.
    Thanks for reply.

    Martina,
    There is a bug in forms that won't allow you to change the 'x-pos' of a scrollbar to a value bigger than the width defined for the canvas at design time. So, if you stretch the canvas and set the 'x-pos' to a bigger value, you get a runtime error from designer. If you look in the Headstart User Guide under re-sizable spreadtables, you will see that we recommend that you put the vertical scrollbar on the left side of the screen instead of on the right side when using a resizable spread-table. That's what we did in the demo application.
    Regards,
    Lauri

  • Forms bug, Frm-92101

    Hi all
    I found that the error frm-92101 always occures in all triggers that is also executed before the form is displayed, if any message -(whether you display it using an alert or it comes implicity from forms like error messages)- is displayed before the form start displaying, then the form stuck and get frm-92101 error.
    An instance of this erro is, if we used the execute_query built-in in the
    when-new-form-instance trigger and the data table does not have any rows.
    I solved the problem as follows
    I put the line
    :System.Message_Level := '10';
    just before execute_query line, so no message will display and the error no more comes.
    Does this means that we should not use any alerts in any of the triggers that could be executed before the form display, like :
    when-validate-record
    when-new-form-instance
    post-change
    and others ?
    Dear colleagues
    Please share me this bug
    Regards
    Mostafa Abolaynain

    :System.Message_Level := '10';
    just before execute_query line, so no message will display and the error no more comes.This is not fixing the problem. The error will still occur whether you choose to display the error or not.
    Try recompiling the form as follows:
    Step 1. Ctrl + K (Compile Incremental)
    Step 2. Ctrl + Shift + K (Compile All)
    Step 3. Ctrl + T (Compile Module)

  • Adobe Muse Contact form BUG!

    The Phone Number field takes Alph-Numeric value where it SHOULD be only Number. When I am using the form in Mobile handset/ browser, and I click this field only NUMERIC keypad should open. But in this case Alpha Numeric Keypad opens up.
    Please fix.
    Thanks
    -Tridib Ghosh
    http://www.tridibghosh.com

    I think this forum is bogus... No moderator follow these threads... Atleast there should be some level of acceptance that a bug is registered.

  • Strange Hyperion Planning data form bug...

    Hi all,
    I'm having a very strange problem on a data form in Hyperion planning. When trying to input a number against a percentage type member, after pressing enter it sometimes displays as the number I put in - 0.00000000000000001 !!
    So, for example, I input 0.47%, hit enter, and it changes to 0.469999999999999999 in the form. Even after I save the form, it continues to display this way. This only seems to happen for specific numbers - i.e. if I input 0.46%, press enter, it displays correctly as 0.46%. But I have this problem with 0.47% and other specific numbers, across all data forms, regardless of the member intersection where they're entered.
    A retrieve in smartview shows it correctly as 0.0047, so I suspect it is not a problem with how the data in being input, but rather how it is being displayed by Planning.
    Has anyone ever come across this or anything similar before? Any solutions that come to mind?
    I'm using EPM 11.1.2.2. Have tested with Mozilla and IE - problem occurs with both.
    Thanks.

    Essbase represents numbers as double.
    Go through this document to understand data precision (even though it is for 6.5, i think it is still valid)
    Document TitleThe Limits of Data Precision in Essbase (Doc ID 1311188.1)
    Regards
    Celvin
    http://www.orahyplabs.com

  • Livecycle ES Form bug with Adobe Reader 9

    My firm is currently upgrading certain people to Adobe Reader 9.  I have created fillabe forms using Livecycle ES (Adobe Professional 8) and distribute these forms using the "distribute" function in Adobe Professional 8.  The forms are sent back using a submit button with a "mailto" script.  When the users send the form back to me using this submit button (and using Adobe Reader 8), the form was submitted automatically without opening new email message box.  Now, the updraded users (adobe 9) are hitting the submit button and it is opening up a new email message box instead of sending the form automatically through the email server (outlook). What can I do to make the submit button work correctly with Adobe 9?  or is there a default setting in Adobe 9 that needs to be changed? I have already tried extending user rights and that did not change the way the form was sent back to me. Thanks, Jen

    Actually, this was an upgrade when the users were upgraded to Adobe Reader 8.  I distribute the form via Adobe 8 Professional.  I have 2 submit buttons on my form.  The 1st submit button is visible and the users click.  If all required fields are filled out, then the 2nd submit button (which is invisible) sends the form back to me via email (using the script mailto:[email protected]).  This is done so that the form cannot be sent without filling out the required fields.  Also, I distribute the form via the distribution function in Adobe Professional 8, so that a Dataset file is set up for returned forms. I really like this function, but now Adobe Reader 9 doesn't allow it.
    If anyone has a fix for this, please help.
    Thanks,
    Jen

  • Motherload Contest Form Bugged

    Upon entering my 4th contest registration, I received the following error message:
    "You have entered to many times today" (sic)
    The official rules say 25 entries per day, but I've limited to three.

    Apparently, and I had to look this up, iTunes are offering a free something or other to do with Motherload. We're getting old, Bee

  • Captcha bug in Muse contact form

    Hi there!
    It is almost impossible not to enter the right captcha code the first time, but yes, I've received a message from my client there was no way to enter a new captcha after filling out the wrong code the first time. A refresh button is missing for the captcha code. The only way to solve this is to refresh the page in the browser. What happens then? You'll have to fill the form (including the carefully written message) again! Not too friendly for a visitor who wants to contact you :-)
    Seems this is a bug. Will this be solved in the next update?

    This form bug is much worse than I first thought.
    In order to get to this new line I've just naturally hit the return key.
    In Muse forms if you hit the return key in any field that isn't allocated as a multiple line field
    like say the "Address Field" of a form then the form is submitted instead of you naturally going to the next line as you thought you would.
    Every address in my 14,000 + contacts database has more than one line to their address so will hit return.
    You can then not submit the form at all, even if you correct the mistake it stops you saying:
    ERROR: An error occurred. Image verification failed. If you believe this is incorrect, please contact your system administrator or go back and re-submit the form.
    This is an
    unbelievable bug or a master lesson in how to upset your clients.
    I'd deliberately taken out the Capatcha because that failed most of the time and would not let you re-enter, now this!

  • Report launch form (qms0012f)

    Dear Headstart Team,
    when using the LOV query (through Headstart Foundation Application) the user is forced to use the LOV
    and is not able to fill in the parameter field (field protected against update).
    If I use the LOV, Value or Description width fields they generate an On Off behaviour. The values you specify are not important.
    When specified the LOV becomes screen wide, disregarding the specified widths. When cleared the LOV returns to it's
    initial behaviour.
    Are both points as intended ?
    With kind regards,
    Gerard.

    Gerard,
    "when using the LOV query (through Headstart Foundation Application) the user is forced to use the LOV
    and is not able to fill in the parameter field (field protected against update). "
    This behavior is intentional. The reason for this is that with Hsd6i, we added a display value that is different from
    the actual value of the parameters. However, in order not to break applications developed with older releases
    of Headstart, the LOV still lists the actual value is still listed first in the lov query. Since the first field in the LOV
    is not the field displayed on the screen, you cannot set Validate in LOV to true. So, the only option is to force
    users to use the LOV to enter data. If you do not have compatibility issues with older applications, you can
    set Validate in LOV to true and change all your LOV queries to put Description first and then value.
    "If I use the LOV, Value or Description width fields they generate an On Off behaviour. The values you
    specify are not important. When specified the LOV becomes screen wide, disregarding the specified
    widths. When cleared the LOV returns to it's initial behaviour. "
    I suspect this might be a new forms bug. I've logged a Headstart bug, just in case we can find a workaround.
    "The manual describes the use of GLOBAL variables for Default Value and Description.
    So far :
    the code for the default value will never work
    name_in(l_default_value)
    should be
    name_in(substr(l_default_value,2))
    in order to remove the colon.
    The code for the Default Description is totally absent."
    I have also logged a Headstart bug for this. We will need to investigate it. Certainly, the mechanism is working
    correctly, so I'm not sure what is going on here.
    Regards,
    Lauri

  • Filling out a form demo

    What is the best way in Adobe Captivate to demonstrate filling out a form with Narration? I have several pdf forms that are interactive and I want to be able to narrate as I record live action movements. I used the software simulation setting and it ended up looking choppy and confusing. I'm in the process of a trial download of Captivate and I'd like to have this some what figured out before I decide to purchase it. I bought a subscription to Lynda.com to try and understand a little more but it wasn't too much help. Any suggestions are greatly appreciated. Thanks

    Hi there
    Typically those are done by narrating at the same time as you use the software. (I recently created some of these for a different company. A Lynda competitor)
    As you might imagine, it's often like filming a motion picture and you end up with many "takes" to get just the right one.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • FRM-40209 Field must be of form . - for a non-based text item

    Hello,
    When I try querying using a VARCHAR2 non-based text item in a table-based block, setting dynamically in PRE-QUERY trigger the DEFAULT_WHERE property for its block, in case I use characters > or < (for bringing values greater or smaller than the one in the field, as in a standard Oracle query) error message is raised: 'FRM-40209 Field must be of form .' The issue has nothing to do with the error itself (usually related to erronated format mask of the field), and it is known as an Oracle Forms bug: I found it as bug 851153 - which appears on execute query if you enter in a non-base-table-item and the block has a pre-query trigger. The bug has been solved later in Oracle Developer Forms Builder 6i, or so I've been reading, problem is the application I'm working to requires Forms Builder 6.0.5.
    I am trying to find an workaround for this situation and these are the info I managed to discover myself on the topic:
    - if I fill the field with '>value instead of >value, query works fine, bringing only values greater than the specified value. (So far, this and inactivating the FRM-40209 error in ON-ERROR trigger seems like the best I can do)
    - if I only use > (without '), I cannot use an auxiliar variable/global in which to store the actual value written in the field, I also cannot print the value in a message, because trying to use the exact string, it is shown as null (even though when the error is raised, value is still shown on the screen in the text item).
    Maybe someone could help with an idea for an workaround in order to copy the content of the text field before it actually becomes null…
    Thank you in advance.

    I have already tried that... but for some reasons the field already appears as null, when I try to use it.

  • Annoying bug - program crashes when "Paste as Background" is used

    Guys, I have a nasty bug which is making edits VERY time-consuming, and I'm hoping that someone can help.
    When I wish to replace a slide background, either with a new background copied from Paint, or from another slide (using the Copy Background function), it basically crashes every single time if I try and perform this more than once.  (ie. I can change one background, save, close down the program entirely, restart, and I'm fine.  If I try to do a second "paste as background", the screen freezes up badly, the slide being pasted into in filmstrip view goes white, and I cannot save the changes, though it appears to save.  See the images below.
    It's gotten worse as the project has increased in size.  It's now pretty big - 182 slides - though I would have expected the software to handle it.  It was occurring noticeably when the project was only 50 odd slides though.
    Thanks guys
    Lynton
    1) I copy.
    2) I paste.
    3) It's crashed.  Screen frozen, slide being pasted into white in filmstrip view.  Saving is not possible.
    4) If I restart the entire program it works OK again and I can retrieve the project up to the PRIOR save (ie. I lost work!!).  If I close just that project I get the following error, and I can't open effectively.  This error presumably holds the key to what just went wrong with the crash.

    Hi there
    Sorry, but once you surpassed about 65 slides you entered the danger zone. Frankly, I'm surprised that's the only issue you are seeing with that many slides!
    The recommendation is to keep projects somewhere between 50-65 slides.
    Bottom line is that you need to break the project apart into different sections and make smaller segments you link together.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Closing Application - Headstart bug?

    This mail was originally posted on the ODTUG maillist.
    I am using Headstart Qms 5.0 and we are having problems with closing the
    application window using the Windows Close button[x]. Detailed description
    follows:
    When window is closed by pressing the 'x' found at the right topmost part of
    the screen, a message appears confirming whether to commit, not commit or
    cancel changes. Once cancel button is pressed, it creates infinite loop or
    sometimes shows the same message several times.
    The temporary workaround was to comment out the before code added by QMS in
    the key-exit trigger: qms$event_form('KEY-EXIT');
    /* CGAP$TES_SEQUENCE_BEFORE */
    /*begin
    qms$event_form('KEY-EXIT');
    end; */
    /* CGNV$CLOSE_ALL_WINDOWS */
    BEGIN
    CGNV$.nav_enter_query := FALSE;
    IF (:SYSTEM.MODE = 'ENTER-QUERY') THEN
    exit_form;
    ELSE
    CGNV$.CLOSE_ALL_WINDOWS;
    END IF;
    END;
    /* CGAP$TES_SEQUENCE_AFTER */
    begin
    qms$event_form('KEY-EXIT','AFTER');
    end;
    Although this solves the problem of infinite loop, this needs to be further
    investigated because the code is actually handling the case where system
    mode is 'ENTER-QUERY':
    procedure close_current is
    -- Purpose: Exit form, regardless of form mode
    begin
    -- Cancel query mode when running in query mode, and then
    -- perform do_key('exit_form') as OFG generates code in KEY-EXIT trigger
    to close
    -- child forms when preference NAVCCF is set to Yes
    do_key('cancel_query');
    if name_in('system.mode') = 'ENTER-QUERY'
    then
    copy('10','system.message_level');
    exit_form;
    copy('0','system.message_level');
    end if;
    g_closing_current := true;
    do_key('exit_form');
    exception
    when form_trigger_failure then raise;
    when others then
    qms$errors.unhandled_exception('qms$form.close_current');
    end close_current;
    Looks like a Qms bug to me. Is anyone familiar with this? All help highly
    appreciated.
    Rgds,
    Siggi

    This reply was originally posted on the ODTUG maillist.
    I ran into this problem. It was a Forms 5.x bug. It was definitely fixed
    in 6.0. I can't remember the patch set in 5.0 that fixed it. It was not a
    Headstart problem, but rather a Forms bug.
    Mari Cobb
    Oracle Certified Professional
    Independent Consultant
    Sacramento, California www.ms-mari.com
    null

  • Oracle 9i WEB-forms, with or without Headstart?

    We have some applications that are created with Designer 2.1.2 and Headstart 2.1.2 and we are about to migrate these to Oracle9i Web Forms and here are my questions:
    1) What are the advantages/disadvantages if we continue to use Headstart?
    2) What do we need to get Headstart working together with Oracle 9i Web Forms?
    3) Where do we order new software/license for "Headstart for 9i"?
    4) Are there any way we can get support on Headstart except the forum on OTN?
    5) Briefly explained, if we remove Headstart and replace it with own-developed code, what would our main tasks/problems be?
    6) Are there any functionality we cannot have if we remove Headstart from our applications?

    1) What are the advantages/disadvantages if we continue to use Headstart?
    The advantages would be more or less the same as for Headstart 2.1.2, except for the fact that you can make use of new features, and it runs on the web too! A 'disadvantage' would be that only web forms is supported out of the box (not client/server) and you need to set up an application server. Of course you need to migrate, which sometimes can be a difficult task. However, this depends on things like customizations on top of Headstart, typical client/server features that have been used and that cannot be migrated to web forms etc. A lot of this has been documented in the Headstart Migration Guide.
    2) What do we need to get Headstart working together with Oracle 9i Web Forms?
    We build Headstart against Designer 9i (+ Developer 9i that comes with it). At this point we still are working on Headstart for Designer 9i.
    3) Where do we order new software/license for "Headstart for 9i"?
    Contact your Oracle Consulting Manager, or call Oracle and ask for Mike Kruijsdijk.
    4) Are there any way we can get support on Headstart except the forum on OTN?
    You can hire consultancy from us or one of our partners.
    5) Briefly explained, if we remove Headstart and replace it with own-developed code, what would our main tasks/problems be?
    To mention some of them:
    - It probably would take man-years to build a template package with the same functionality
    - Headstart code at some points deals with Forms bugs, which you now have to deal with yourself
    - You have no support any more (upgrades) and need to do upgrades for new versions of Designer yourself. I've seen more than one customer that are years behind with upgrading to new versions of Designer, because of this.
    And many more. You really should investigate this thouroughly before you start on this. It would not surprise me if you come to the conclusion you might as well rebuild your applications completely.
    6) Are there any functionality we cannot have if we remove Headstart from our applications?
    You can have anything you like, as long as you build it yourself. But for practical reasons I suppose you will not have RuleFrame for example.
    As long as you don't start building new applications with it, the code practically is yours, so you might consider to do the upgrade of Headstart yourself. Of course support will be more difficult, but you still can hire consultancy.
    Jan Kettenis

Maybe you are looking for

  • What files should I transfer back to a clean install of mountain lion?

    Hi, I have a 2.4 GHz core 2 duo running snow leopard. I want to upgrade to mountain lion but want to start with a clean install. i have everything backed up on an external hard drive. My questions are this: what files should I transfer over from 10.6

  • Episodes with corrupted video and sound

    I have a season pass for Chuck season 3, and i have reported errors on some of the episodes where the end is corrupted so the picture freeze and sound is just noise. Unfortunately the support wont help, they just say that i cant get a refund (i never

  • CORBA Errors

    I am new to CORBA Programming. Are the below errors very common errors occur due to some misunderstanding on Java ORB & CORBA Programming? ERROR: org.omg.CORBA.MARSHAL: minor code:0 complete: Maybe org.omg.CORBA.MARSHAL: minor code:0 complete: Maybe

  • Just where ARE the site definition files?

    I've just received CS4.  I want to move it to my more powerful laptop when I install it.  I know how to do that and I can move site files, but where are the site definition files?  I really don't want to have to set up each site from scratch.  Is the

  • How to create a Pooled VDI infrastructure using Win server 2012 as VM image?

    I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM instead. Am I overlooking something?  Should I need to prepare the image in a different way? (Sys