Strange behaviour of Forms 10g

The BUR trigger on a table in the DB, raises an application error whenever user tries to enter some invalid value in one of the fields in the form. ( the block is Database block, with query data source as Table).
So when the user enters a valid value in the field, the changes are saved in the database. But whenever an invalid value is entered, the form does nothing. Neither does it display the error message nor does it save anything (it should not save!).
I accidentally hit the space bar on my key board and the error message popped up.
The form level on-error trigger has following code -
    WHEN -20999 <= dbmserrcode AND dbmserrcode <= -20000 THEN
          SET_ALERT_PROPERTY(
               alert_is,
               alert_message_text,
               error_tools.get_oracle_error_desc(dbmserrtext)
            alt_num := SHOW_ALERT(alert_is);
            RAISE form_trigger_failure;Why is the the error message not displayed directly (without pressing any key) ?

You need to handle the database error in your Forms On-Error trigger. Check the value of the Forms DBMS_ERROR_CODE and DBMS_ERROR_TEXT variables to see if an error in the database has occured. I've seen BUR triggers on a table cause this type of behavior in a form if you are expliciltly handling the DBMS_ERROR_CODE in your On-Error trigger.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Strange Behaviour with Oracle 10g

    i am seeing a strage behaviour in our 10g oracle.
    recently we upgraded our 9.2.0.5 version of oracle to 10.2.0.4. on sun solaris 5.10
    1) What ever sessions coming in to oracle not disconnecting even the user disconnects,
    2) Also for a single login i can able to see 2 sessions (one active and another inactive).
    3) Normally the session will time out if it idle for a particular amt of time. but in our case the sessions are not terminating even they are idle for a day.
    any one having any idea. please share... Thanks in advance.

    Can you give some evidence ? e.g from v$session
    What is the expire_time set to in sqlnet.ora ?
    What is idle_time set to in the DEFAULT profile ?

  • Strange behaviour of OBIEE 10g dashboard prompt

    Hi BI gurus
    My inventory Dashboard page has a multiselect Status Prompt which is throwing up a strange issue.
    When selected all values i.e using << button from Status prompt and clicked on OK then it gets refreshed by itself and all the values from selected area gets back to the selection area and the dashboard page diaplays the status prompt with no values where as if all the values are selected one by one and clicked on OK then the prompt behave as expected.Is it a bug?

    I would suggest to delete this and create a new one or else check with other prompts.
    Also check the session log for the prompt.

  • Strange behaviour of Adobe Forms

    Hi Experts,
    I am using webdynpro Java with AIF on  NW2004s SP9, Adobe Reader 7.0.9 with NWDS 7.0.09.
    AIF is working fine when I access using Local area network and I am facing strange behaviour of AIF using dial-up access. I am not able to retrieve the parameters of Adobe forms when I access using dial-up connecting through VPN to portal server. whatever values I entered in Adobe UI fields where not showing up in webdynpro application. Same application is working fine with LAN and able to retrieve all parameter values of Adobe UI elements.
    Dial-up is connecting at 50kbps speed and Adobe forms size is around 300kb.
    Grab your points with correct answers.
    Regards,
    Madhan

    hi,
    you should have administration authorization on local PC ( IE activeX should be enabled.)
    check below sap note
    834573  -
    766191
    Regards
    Shridhar Gowda

  • How to delete duplicates in oracle 10g ( strange behaviour)

    Recently we migrated from oracel 8i to oralce 10g and we face this problem.
    When we try to delete duplicates using rowid ( analytical functions row_number()/
    or normal delete ) and commit the same , still we find some duplicates to be existing because of which we are not able to enable costriants and resulting in process failure.
    When we run the same delete statement next time it removes more duplicates than the required or sometimes required duplicates resulting in abnormal behaviour.
    I don not understand this strange behaviour after upgrading to oracle 10g.
    It'd be great if some one who has idea on this can throw light on the same.
    thanks

    Gasparotto,
    Thanks a lot for letting me know a new procedure to delete duplicates sing lead function.
    I've tried this code on a temp table and it worked, let me use the same query on the prodn side and test the same.
    Procedure for deletion of duplicates using lead analytical function.
    create table temp ( col1 number(2) , col2 number(2) , col3 number(2));
    insert into temp values ( 1,2,10);
    insert into temp values ( 1,2,20);
    insert into temp values ( 1,2,30);
    insert into temp values ( 3,2,10);
    insert into temp values ( 3,4,12);
    insert into temp values ( 3,4,45);
    commit;
    COL1 COL2 COL3
    1 2 10
    1 2 20
    1 2 30
    3 2 10
    3 4 12
    3 4 45
    select col1,col2 , col3, LEAD(rowid) OVER (PARTITION BY col1,col2 order by null) from temp;
    COL1 COL2 COL3 LEAD(ROWID)OVER(PA
    1 2 10 AAAVBjAApAAAFyGAAB
    1 2 20 AAAVBjAApAAAFyGAAC
    1 2 30
    3 2 10
    3 4 12 AAAVBjAApAAAFyGAAF
    3 4 45
    6 rows selected.
    select rowid , temp.* from temp ;
    ROWID COL1 COL2 COL3
    AAAVBjAApAAAFyGAAA 1 2 10
    AAAVBjAApAAAFyGAAB 1 2 20
    AAAVBjAApAAAFyGAAC 1 2 30
    AAAVBjAApAAAFyGAAD 3 2 10
    AAAVBjAApAAAFyGAAE 3 4 12
    AAAVBjAApAAAFyGAAF 3 4 45
    SQL> DELETE temp
    WHERE rowid IN
    ( SELECT LEAD(rowid) OVER (PARTITION BY col1, col2 ORDER BY null)
    FROM temp ); 2 3 4
    3 rows deleted.
    SQL> select rowid , temp.* from temp ;
    ROWID COL1 COL2 COL3
    AAAVBjAApAAAFyGAAA 1 2 10
    AAAVBjAApAAAFyGAAD 3 2 10
    AAAVBjAApAAAFyGAAE 3 4 12
    Thanks for the reply

  • Strange behaviour in ORacle Forms Webutil 106 / Error message WUC-14 WUC-12

    This is to inform you about a strange behaviour in Webutil V1.0.6
    Hosting environment is Oracle Application Server 10.1.2.0.2 on Unix Solaris 10
    Oracle Server 10.2.0.4.0 Enterprise Edition
    Client-envionment : Windows 2000, IE 6
    I created an Forms based application which reads in certain text files into the database using
    Webutil. The data will get changed using the application with logic and lateron a different textfile
    will be transmitted using either ftp or it may be created on the client side (again with Webutil).
    This solution worked perfect for some time (a year or so) using CLIENT_TEXT_IO...
    Hoewever, during the week, I recognized users coming up with the statement that the download
    to the local client does not worked anymore in certain situations. The system is producing an error-msg
    on the Form in the following sequence :
    WUC-14 [getFromObjectCache] ...
    WUC-14 [getFromObjectCache] ...
    WUC-12 [FileFunctions.newLine()] ...
    I traced the session and traced WebUtil, was able to reproduce the problem but could not find out the source
    of it in the first place.
    Hoewever, it came out, that part of the file being created on the client is a "¿" sign : hex :$BF
    This was already part of the file being read in the first place, so the value is stored in the database.
    There is no problem when reading a file having a content like this with CLIENT_TEXT_IO but there obviously is one
    when writing it to the local client.
    The file is getting processed on the client and gets closed with CLIENT_TEXT_IO.FCLOSE.
    After the FCLOSE statement is getting processed, the above errors occurs, The length of the produced file is then : 0 bytes ^^
    Whenever facing a problem like this check the content of the file you are trying to create.
    Workaround was :
    - set workingDirectory in formsweb.cfg
    - using Forms based TEXT_IO rather than CLIENT_TEXT_IO to create the file on the backend side (Apps-server)
    - implement WEBUTIL_FILE_TRANSFER.AS_To_Client_With_Progress to download the file to the client
    In order to make it a little bit "colourful" I implemented a bean with progressbar when creating the file on the back end side
    Works perfect... and looks nice :)

    XeM wrote:
    Hi Andreas,
    install.syslib.location.client.0=webutil\syslibi found the above line over google but when i check my webutility configuration file i didn't found it there. I added this line after the line i have mentioned in previous post but this also not worked. And then i worked on changing permission over folder.
    HI XeM
    Your adding location is ok. But i suggest try something different. Change the above line to
    /* i'm confuse with the \ or / *\
    install.syslib.location.client.0=\webutil
    or
    install.syslib.location.client.0=/webutilAnd do the following work In the client
    1. Close ALL open browsers.
    2. On the client machine search all directories for webutil.*properties and delete all instances of that file.
    3. Delete d2kwut60.dll, JNIsharedstubs.dll, and jacob.dll from the JRE\bin directory.
    4. Clear the JRE jar cache. This can be done several ways, but using the Java Control Panel is likely the easiest and safest.
    Now stop the OC4J instance and start again and try at client...
    Hope this works...
    If works... please post the solutions.
    Hamid

  • Strange runtime result on forms 10g

    Hi,
    I am using forms 10G. Db is 10G.
    When I run the simple Scott’s emp table
    It runs on internet explorer and instead of giving emp table information it shown something like that:
    <html> <head> ORACLE FORMS.</head>
    <body onload="document.pform.submit();" >
    <form name="pform" action="http://lalo:8889/forms90/f90servlet" method="POST">
    <input type="hidden" name="form" value="I:\test\emp.fmx">
    <input type="hidden" name="userid" value="SCOTT/TIGER@orcl">
    <input type="hidden" name="obr" value="yes">
    <input type="hidden" name="array" value="YES">
    </form> </body></html>
    what is this?
    How should we get the forms simple screen on runtime?
    Where should we get entry so on it runs independently?
    Though is running well on 6i.
    Juma

    This is a duplicate of strange runtime result on forms 10g
    See my response to your original thread.

  • View Master mode strange behaviour with jpg files

    Hy all,
    I'm using Aperture, and I'm tweakin a lot the SW to discover all secrets ....
    I'm really concerned about a strange behaviour of the SW in view mode.
    If I open a jpg file, do not apply ANY modification, and apply the "show master" command (pressing M), there's a subtle behaviour :
    *the images get sharper !!!!*
    It behaves as if an "edge sharpening" was applied !!!!!!
    With _RAW files this thing doesn't happen at all._
    Even stranger, if I zoom to full definition (by pressing Z), and toggle between normal view and "show master" view, the immage remains the same !
    The effect is not so evident with all images, but sometimes it is !!
    Anyway, I expect not to have such kind of things with a professional SW.
    With professional cameras and good quality files it's really annoying not to beeing sure what's the REAL content of the jpg image.
    Has anyone noted this thing ? Is there a reasonable explanation ?
    The only one I tried to figure out is the following : may be Aperture applies some kind of resampling algorithm with jpg files (bicubic, bilinear, etc).
    May be this resampling is not applied with 100% magnification, as weel as with raw files.
    But it's only my guessing. Now, I'm tweaking other viewers and other SW to understand what's the real jpg image stored in the file : the blurer one form normal view or the sharper one with "show master" mode.
    I stress once again : of course, the jpg file I'm talking about have no settings at all, just imported and toggled with M button.
    Thanks in advance.
    Regards,
    Enzo

    Hy,
    I'm afraid I'm not been clear.
    The problem is this :
    1) jpg image opened in normal view mode, no zoom, (no quick preview, of course) : image with a certain amount of blour
    2) jpg image opened in show master mode, no zoom, (no quick previre, of course) : image SHARPER with respect with the previous.
    No edit applied from import, so "show master" command shouln't apply any change in rendering, should it ?
    The only thing I said on 100% view is that such difference (between normal mode e show mastermode) is not present with 100% magnification.
    That was the issue.
    Enzo

  • Oracle forms 10G -Version 10.1.2.0.2 will it support timestamp data type ?

    Hi all,
    We are having database server - oracle 10g enterprise edition R2,
    forms - Oracle forms 10G -Version 10.1.2.0.2 on windows 2000 professional.
    We have created a table which has a column of type "timestamp",the following is the structure.
    CREATE TABLE  "STOCK_AREA_MASTER"
            (     "STOCK_AREA_CODE"     NCHAR(5)       NOT NULL    ENABLE,
                  "STOCK_AREA_DESC"     NVARCHAR2(40)  NOT NULL    ENABLE,
                  "RECORD_STATUS"       CHAR(1)        DEFAULT 'A',
                  "USER_ID"             NVARCHAR2(20)  DEFAULT USER,
                  "TIMESTAMP"           TIMESTAMP (6)  DEFAULT CURRENT_TIMESTAMP)
    [\code]
    We  tried to invoke this table(stock_area_master) using database block wizard in forms 10g,we were expecting to see the columns in this table,but we got the following error
    FRM -10095 - Assertion failed
    on seeing the forms help for the error FRM-10095,We are getting the following message
    FRM-10095: Assertion failed in %s, at %s:%d. Cause:  An internal inconsistency was detected. Action:  Contact an Oracle support representative, and proceed with caution
    We have the following concerns.
    1.) is it possible to have datatype "timestamp" in forms 10g,our researches show that we can manipulate using datatime datatype in forms,our requirement is have to precision of 6 digits(millisecond - format - dd/mm/rr hh24:mi:ss:ssss),we are able query and view precision to the tune dd/mm/rr hh24:mi:ss:ssss,but we are unable to insert/update to this precision.
    We would appreciate if some one could throw some light on the above.
    Thanks in advance
    Regards
    Mohan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Mohan,
    Hm. Strange.
    I have reproduced the problem in my environment.
    I have also found, that building the block manually, seems to work, as long as you define the item with datatype Char in Form Builder. Inserts and updates using a value like "22-AUG-06 11:10:11,647354 AM" worked fine for the timestamp item.
    You may want to enforce some dateformat. I don't know whether that will work.
    Good Luck!
    Remco

  • Enter key not working in forms 10g

    Hi guys,
    Enter key to select a form is not working
    on my application.
    I have to double click the form to open it using the mouse.
    Then if we try to exit we have to press exit that many number of times as we have pressed enter key.
    So it seems to be storing the key processes.
    We are using forms 10g.
    Please help.
    Thanks and Regards,
    Rohan

    Fixed.
    Changed KB.
    However, this is still strange as the old KB was working fine in other applications.

  • Execute_query not showing the  -WORKING ...-  Message on Forms 10g

    Hello,
    There is a strange thing happening with our Forms that were migrated to 10g.
    1) Our keys were remapped to the ones used in the 6i Version. For example: CTL+L is F9
    2) When a user presses F7 and then F8, on Forms 6i, we have the sequence of message:
    Enter a query; press F8, CTRL+q to cancel
    then
    Working ...
    and finally we get the records.
    However on Forms 10g, we have when a user presses F7 and then F8 :
    Enter a query; press F8, CTRL+q to cancel
    and the message -WORKING...- is not shown and after a while we get the records.
    There are no message_level before the enter_query or execute_query and there is no :system.suppress_working in the form.
    What could be the problem ?

    1) Our keys were remapped to the ones used in the 6i Version. For example: CTL+L is F9 Key mapping is controlled by the file fmrweb.res in path <DevSuiteHome_1 path>/forms/
    Forms 10g is released with a unix style file where Ctrl+L is mapped to List of Values. There is an alternate file named fmrpcweb.res that maps F9 to List of Values. By renaming fmrweb.res to something else, and copying fmrpcweb.res to fmrweb.res, you will get the PC platform functionality.
    You can edit the Web Forms fmrweb.res file using a text editor to tailor the function keys any way you need.
    and the message -WORKING...- is not shown and after a while we get the records.Hmmm.... I tried that with a simple "default" test form, and indeed, the working... message does NOT appear, even when I set the Query Array size and Records Buffered properties to 1000 and queried a very large table. Why don't you open a Service Request with Oracle, and report back if you find a solution.

  • Forms 10G menu not showing submenus

    I have a forms 10G application that is showing the main menu items but wont display the submenu items. The application works correctly on both a Linux (OAS 10.1.2.0.1) and a Windows (OAS 10.1.2.3) testserver.
    After placing and compiling (without any errors) the application on a clients server the main screen is shown with the main menu items. However, clicking on the menu items won't open the submenus. The only menu item that works is the exit option which is not of command type "menu" but of command type "PL/SQL".
    The menu's use security property is set to no.
    Has anybody experienced this behaviour? What is going wrong?

    There is a solution in MetaLink. See Subject: "Drop Downs Don't Work With Dual Monitors (Extended Desktop)".
    Symptoms
    When Forms application is dragged from a monitor to another in a dual monitor system, the drop down lists stops working
    Cause
    This issue was caused both by the lack of Multi-screen Setup Support in Java versions prior to JDK1.2 and by Bug 2772796 - Apps6: Drop Down Menus Invisible When Using Dual Or Multiple Monitor Setup
    The bug is fixed in Forms 10.1.2.2 and beyond. It allowed the bounds to be calculated fine across the now available displays.
    Solution
    If using Forms version 9.0.4.3 then you can apply Patch 2772796 on top of it.
    If using Forms 10.1.2.0.2 then upgrade to Forms version 10.1.2.2 or beyond.
    Note: If using Oracle Applications 11i, please consult the solution rather in the Note 430179.1 - Drop Down Menus Invisible When Using Dual Or Multiple Monitors

  • Strange behaviour when setting client_info and module in v$session

    Hello,
    I've tried to set the CLIENT_INFO field in V$SESSION using DBMS_APPLICATION_INFO.SET_CLIENT_INFO but found a strange behaviour.
    Normally the forms modules seems to set the field MODULE in V$SESSION to its name. If I use DBMS_APPLICATION_INFO.SET_CLIENT_INFO the CLIENT_INFO field is set correctly but the MODULE field is set to 'frmweb.exe' instead of the forms modules name.
    I also tried to set the MODULE using DBMS_APPLICATION_INFO.SET_MODULE but then strangely the MODULE and MODULE_HASH field of the original frmweb.exe (the main applet?) entry and the entry for the forms module were the same (set to the new module name). From now on every newly opened module had 'frmweb.exe' as the module entry until I closed the forms application.
    Example:
    Entries in V$SESSION:
    -- After start of forms application there is only one entry for the process:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         frmweb.exe        854945150
    -- When a new forms module is opened it looks like this:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         frmweb.exe        854945150
    1596:7204         my_module         1929284615
    -- When the modified forms module that sets the client_info/module is opened this happens:
    PROCESS           MODULE            MODULE_HASH            CLIENT_INFO
    1596:7204         mod_module        3097977240
    1596:7204         mod_module        3097977240             my client info
    1596:7204         my_module         1929284615As one can see the entry of the forms application seems to be overriden (at least the MODULE and MODULE_HASH fields) but the CLIENT_INFO only changes for one of the entries?
    The following code is responsible for the changes of CLIENT_INFO and MODULE:
        -- get client info
        client_info :=
            webutil_clientinfo.get_ip_address
            || ' (' ||
            webutil_clientinfo.get_user_name
            || ')'
        -- set client info
        DBMS_APPLICATION_INFO.SET_CLIENT_INFO(client_info);
        -- get module (set action to '')
        DBMS_APPLICATION_INFO.SET_MODULE(name_in('system.current_form'),''); I really don't understand, why it does not work properly.
    Any help is appreciated!
    Thanks in advance.

    This was an application module pooling, activation / passivation issue.
    After view objects had been set-up correctly, the problem disappeared.

  • Strange behaviour when using connection pooling with proxy authentication

    All
    I have developed an ASP.NET 1.1 Web application that uses ODP.NET 9.2.0.4 accessing Oracle Database 8i (which is to be upgraded to 10g in the coming months). I have enabled connection pooling and implemented proxy authentication.
    I am observing a strange behaviour in the live environment. If two users (User 1 and User 2) are executing SQL statements at the same time (concurrent threads in IIS), the following is occurring:
    * User 1 opens a new connection, executes a SELECT statement, and closes this connection. The audit log, which uses the USER function, shows User 1 executed this statement.
    * User 2 opens the same connection (before it is released to the connection pool?), excutes an INSERT statement, and closes this connection. The audit log shows User 1, not User 2, executed this statement.
    Is this a known issue when using connection pooling with proxy authentication? I appreciate your help.
    Regards,
    Chris

    Hi Chris,
    I tried to reproduce your complaint, but was unable to. I didnt use auditting however, just a series of "select user from dual" with proxy authentication. You might want to see if you can put together a small complete testcase for this and open a sr with support.
    Cheers
    Greg

  • Locking Issues/Release in Forms 10g R2

    Hi all,
    We are using 10g R2 AS and oracle database 10g.
    Give me a good solution to prevent locking. User A is accessing one form(using execute_query, form built-in insert_record etc) and he is not coming out of the form for a long time. In this case, User B, C , D..are trying and they have to wait in the queue. In this case, we are forcefully killing user A session.Suppose his changes are not saved ie he might have entered inter-linked information in form 1,2, and working on 3. That time we are killing his session because of other users queues.
    So in this case , we cannot communitcate with each user(users are plenty) to come out of the screen. Better to introduce time-out in forms level. Can you please give an idea to overcome this problem...?I have no knowledge in lock handling.
    Regards
    Priya

    Steve,
    Thanks for your reply.
    Actually, I will explain the situation like this. Form is locking the record properly. But the users are not using it properly.Like, User A is inter-related forms a1,a2,a3etc. In a2 form, he is feeding some information and not committing his changes. Just opened the screen idle for long time. This time User B is coming and doing some changes/inserts in a1 and trying to access a2...Here he will be in queue bcoz of User A. User C , D , E are coming and same situation.
    So manually, we are killing the process to avoid further delays for users b,c,d etc.
    After some time, user A is coming to us stating that he has made some changes and it has not been committed. Of course, this is the correct behaviour of forms in locking. But since we are killing, the changes are not committed.
    We can do two things(according to me)
    1. Educating the user to come out of the form (User is not understanding..this is the manufacturing unit they know just to type and click. And they don't want to understand system problems)
    --it is impossible
    2. Time-out of the forms....
    Is point2 feasible? Or is there any good ideas??
    Priya

Maybe you are looking for

  • Connected, yet not connected?

    ISP: Windstream Router: Linksys WRT54G2  Laptop: HP Pavilion (Vista SP1)  I have a fiberoptic connection.  So no modem, the desktop is hard-wired to the Linksys router.  The desktop connects fine, I have no trouble there; the laptop was the same way,

  • Family members through self service

    Can anyone please let me know, If there is a seperate screen to enter family members information through self service or is it same as contacts? Appreciate your time!

  • Correspondance type

    Hello All, When a correspondance type is used to request the open items list of vendor, there is no document reference number is being displayed in the out put. Can anyone please suggest me where should I do the changes. Thank you Srinivas

  • Problems burning a CD

    When attempting to burn a music CD from iTunes - after it ejects the disc..... I keep getting the error message: The attemp to burn a disc failed to calibrate the laser power level for this media. Help...

  • Change in resource in Confirmation

    Dear All,                Scenerion is at the time of Confirmation actual operation is done on diffrent resource that planned resource in Process order. If i confirm the process order using  the actual resource(A) which is diffrent from resourcer (B)