How to capture the username to login dialog before actual login on demand. as in the trigger LOGON IT I want to put a validation

When the user launches the application we get connect dialog asking the USER name: PASSWORD: STRING: values.

Once we enter these values, it will connect to this session. But I want to take the username before you actually connect to the database. How is it possible. I'll make a few validatios before opening SESSION or ONE CONNECTION.

IM using form 11g

Forms [32 bit] Version 11.1.2.1.0 (Production)

Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

With partitioning, OLAP, Data Mining and Real Application Testing options

Oracle Toolkit Version 11.1.2.1.0 (Production)

PL/SQL Version 11.1.0.7.0 (Production)

Oracle V11.1.2.1.0 - Production procedure generator

PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)

Query Oracle 11.1.2.1.0 - Production Designer

Oracle virtual graphics system Version 11.1.2.1.0 (Production)

The GUI tools Oracle Utilities Version 11.1.2.1.0 (Production)

Oracle Multimedia Version 11.1.2.1.0 (Production)

Oracle tools integration Version 11.1.2.1.0 (Production)

Common tools Oracle zone Version 11.1.2.1.0

Oracle CORE Production 11.1.0.7.0

Some how WE-ERROR now works. seems that I made a mistake. I capture the error ORA-2391 he and custom message display.

Thank you

Tags: Oracle Development

Similar Questions

  • How to capture the users of information fromRPD

    Hi Experts,

    I have x, user Y z in RPD. They're back writing. How to capture their username in the responses. \


    Thnaks
    V

    You can assign the variable user to session system in a column where the writeback is used
    put VALUEOF (NQ_SESSION. The USER) in fx of the column. so when X the user connects, the column is filled with the value 'X' and this value can be rewritten to db.

  • How to capture the data of type string with agent script and then compared to an alarm

    Hello...

    How to capture the string with agent of script data and then create a rule to compare the string data to generate alarm?

    Thank you!...

    Start here:

    http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/w/Admins-wiki/6155.custom-script-agent-1-leverage-an-existing-monitoring-script-to-push-data-into-Foglight

  • How to capture the values

    Hi friends,

    I came across one of the scenarios, i.e.

    In my application, I have a report page and a form page, the report and the form are based on the unique table...

    If a record is inserted medium, means it will be inserted in the report...

    in the region of report I have an button called then if I clicked the next button means a form page must open to capture all values which is inserted in the report of each field of the form...

    How to capture the values of the ratio to form shortly after clicking on the button NEXT in the region of report...

    Help me solve this question friends,

    Thank you
    Saro...

    Hello

    For the Next button , which is located in the region of report,

    change the Action: to redirect to the page and give the respective page number: (i.e.) the target...

    And specify the value of these items: what are all the elements of the target.

    with these values: describe the elements of the source where you will take the values of the corresponding points...

    Izz all wells
    GTA...

  • How to capture the value of profile in AM

    Hello

    How to capture the value of profile in AM.

    Krishna

    Here is the code that you can use

      String profileValue=  getOADBTransaction().getProfile("profile Name");
    

    Thank you
    -Anil

  • How to capture the value of type column report

    It would be a great help that you might suggest the following

    (i) Java script that I wrote on the standard status column (in a tabular report) fails.
    This happens because of the standard status column, if I use the text field then called Javascript function and showing correct results.

    Now, here, I want to know how to capture the value of the column standard report, since javascript fails due to
    the column values of standard report unrecognized.

    Example:

    Columns of the report as a table:
    ```````````````````
    Standard report column: salary
    TextField report column: new treatment
    Report column standards: difference

    I've written the javascript on column New_salary function which returns the value of the salary column to calculate the difference.

    For this column of report types, the javascript function does not work, that is to say, it does not show the difference., since it is not read
    the value of the column Salary (which is the Standard type of report column)
    Once I have change the Salary column to text (display as saved state) javascript field works fine.

    All entries on how to capture the standard value of the column, so that I can access the value of the javascript function.

    Thanks in advance
    Vijay

    Hi Vijay - I had problems with the forum as well (and my workspace OTN so)!

    You have two questions, I think.

    First of all, that the old wage is not an input element, you can not get to it by referring to an ENTRY tag. you will need to change that to something like:

    var s1 = d[k-1].firstChild.nodeValue;
    

    This means that there is nothing else in the cell apart from the text - as in < td > < table > 123. If there is something else there that stops you getting the value using the above, you can go through these nested tags referring to objects further firstChild-

    var s1 = d[k-1].firstChild.firstChild.nodeValue;
    

    As I don't see your page, you need to check yourself to see firstChild how much you need. This example assumes that you had something like: < td > < b > 123 < /b > < table >

    Second, the values of s and s1 are strings. You must convert these numbers to be able to perform calculations. You have two javascript functions to do this: ('string') parseFloat and parseInt ('string'). One contains decimals, the other is not - but know that one is not very accurate (it can change "123.456' in ' 123.455999999995' or something similar - not very good! '").

    So, your calculation should be:

    var diff = parseInt(s) - parseInt(s1);
    

    Andy

  • How tio changes the programs installation directory, I want to install?

    How tio changes the programs installation directory, I want to install? I'm trying to install a lot of programs is always installed in "Local disk C" that low memory space. Please tell me how can I install the programs in other folders such as "Local disk D and E and F. And also please tell me that the directory in which the widows is installed when reached about his memory limit, does windows performance issues.

    Win needs 15% free space for proper operation.

    Using various hacks registry posted on various sites to redirect the default program installation folder to another drive is not supported by MS and can cause problems.

    Most of the programs when you install them have the option for a custom install, where you can specify where / which drive to install, but not all programs have this option. Even if you install a separate drive various files/folders will be written on victory drive.

    If the drives D, E & F are separate partitions of a disk, you will need to modify/extend partition in win

  • Another reason to hate the Photos app. I want to put titles on the photos that I put in an album to share with others. I can add titles on my MacBook, but not on my iPad Air. I tried to copy the photos from my MacBook to the iPad, but the titles have disa

    Another reason to hate the Photo App. I want to put titles on my photos in an album to explain what are the images. I can do this on my MacBook, but not on my iPad Air. I tried to copy the album (by airdrop) to my iPad, but the titles disappear. Any suggestions?

    Since the Photos of OSX application, select an image (once it's in an album, not in Moments) and you can add a comment that is visible in the Photos of iOS.

  • How to capture the pointer when you use print screen in Vista?

    I am writing instructions for three classes of Excel, and I want to capture the different sliders to include in the directions.  Of course, when I use print screen, they disappear, so nobody knows how to capture them?

    Hello

    I suggest you to try the cutting tool and check if it helps.

    Use the cutting tool for screenshots:

    http://Windows.Microsoft.com/en-us/Windows-Vista/use-Snipping-Tool-to-capture-screen-shots

    I hope that helps!

  • How to capture the screen in Microsoft Windows 8

    I saw a lot of videos on YouTube on the settings of Windows, and I was wondering how they capture their screen like a video. I asked a person and he suggested me to use Cam Studio. I tried to use it, but I discovered that it was very difficult for me to use.

    I need software screenshot with the possibility to mix videos, add captions, add tracks at bottom. I also want to make a GOOD video "INTRO" and "GOOD".
    Please, can someone help me?
    I need this software so bad. I have to make a video for my computer CTTP, Grade 7.
    Please help with in 2 weeks.
    YOURS SINCERELY.
     

    You can try Hypercam http://www.hyperionics.com/hc/

    or maybe http://www.avs4you.com/ and download video editor

  • How to capture the ORA-6550

    I want to find the ORA-06550 errors

    SQL> alter session set events 'sql_trace';
    
    Session altered.
    
    SQL> select 'foo' from dual;
    
    'FO
    ---
    foo
    
    SQL> exec foo
    BEGIN foo; END;
    
          *
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'FOO' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    
    
    SQL> quit
    
    


    If I look in my trace file, I don't find any ORA-6550

    Trace file /u01/log/oracle/diag/rdbms/db01/DB01/trace/DB01_ora_42860586.trc
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_3
    System name:    AIX
    Node name:      srv01
    Release:        1
    Version:        7
    Machine:        00F626FA4C00
    Instance name: DB01
    Redo thread mounted by this instance: 1
    Oracle process number: 38
    Unix process pid: 42860586, image: [email protected] (TNS V1-V3)
    
    
    *** 2015-09-17 13:59:49.109
    *** SESSION ID:(358.241) 2015-09-17 13:59:49.109
    *** CLIENT ID:() 2015-09-17 13:59:49.109
    *** SERVICE NAME:(SYS$USERS) 2015-09-17 13:59:49.109
    *** MODULE NAME:([email protected] (TNS V1-V3)) 2015-09-17 13:59:49.109
    *** ACTION NAME:() 2015-09-17 13:59:49.109
    
    CLOSE #4573396320:c=6,e=10,dep=0,type=1,tim=49416422688162
    =====================
    PARSING IN CURSOR #4573391040 len=22 dep=0 uid=0 oct=3 lid=0 tim=49416422690646 hv=3859763380 ad='70000005ae19830' sqlid='cvysbzgm0yn5n'
    select 'foo' from dual
    END OF STMT
    PARSE #4573391040:c=790,e=1312,p=0,cr=0,cu=0,mis=1,r=0,dep=0,og=1,plh=1546270724,tim=49416422690645
    EXEC #4573391040:c=18,e=31,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1546270724,tim=49416422690748
    FETCH #4573391040:c=8,e=13,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=1546270724,tim=49416422690808
    STAT #4573391040 id=1 cnt=1 pid=0 pos=1 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=4 us cost=2 size=0 card=1)'
    FETCH #4573391040:c=0,e=1,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=1546270724,tim=49416422691085
    
    *** 2015-09-17 13:59:57.118
    CLOSE #4573391040:c=7,e=12,dep=0,type=0,tim=49416430697630
    =====================
    PARSING IN CURSOR #4573389592 len=202 dep=1 uid=0 oct=3 lid=0 tim=49416430698685 hv=3819099649 ad='700000066ccf5b8' sqlid='3nkd3g3ju5ph1'
    select obj#,type#,ctime,mtime,stime, status, dataobj#, flags, oid$, spare1, spare2 from obj$ where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null and linkname is null and subname is null
    END OF STMT
    PARSE #4573389592:c=59,e=95,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=853875749,tim=49416430698684
    EXEC #4573389592:c=32,e=52,p=0,cr=0,cu=0,mis=0,r=0,dep=1,og=4,plh=853875749,tim=49416430698837
    FETCH #4573389592:c=18,e=31,p=0,cr=2,cu=0,mis=0,r=0,dep=1,og=4,plh=853875749,tim=49416430698888
    STAT #4573389592 id=1 cnt=0 pid=0 pos=1 obj=18 op='TABLE ACCESS BY INDEX ROWID OBJ$ (cr=2 pr=0 pw=0 time=37 us cost=3 size=80 card=1)'
    STAT #4573389592 id=2 cnt=0 pid=1 pos=1 obj=37 op='INDEX RANGE SCAN I_OBJ2 (cr=2 pr=0 pw=0 time=34 us cost=2 size=0 card=1)'
    CLOSE #4573389592:c=1,e=1,dep=1,type=3,tim=49416430698970
    
    *** 2015-09-17 14:00:00.974
    XCTEND rlbk=0, rd_only=1, tim=49416434554077
    CLOSE #4573391040:c=1,e=6,dep=0,type=0,tim=49416434554235
    
     

    How is it possible to capture the ORA-06550 and underlying instructions exec?

    Thank you

    Laurent

    Laurent,

    You can draw more precisely by using:

    ALTER session set events "6550 trace name errorstack level 1";

    and,

    ALTER session set events ' trace name errorstack off 6550;

  • How to capture a screenshot of a dialog box

    I just installed Photoshop 2015.1.2 output.  How can I take a simple screenshot of a dialog box in our software?

    Hello, Gilda,.

    This is how you take a screenshot according to your operating system.

    Mac

    Take a screenshot of part of your screen

    1. Press command + shift + 4. ...
    2. Move the crosshair pointer where you want to start the screenshot.
    3. Drag to select an area. ...
    4. When you have selected the area you want, release the mouse button or trackpad. ...
    5. Find the screenshot as a PNG on your desktop file.

    Windows

    3 ways to take a screenshot in Microsoft Windows - wikiHow

    Kind regards

    Sahil

  • How to capture the event of selection of a table on the side line client (JavaScript)

    The example is:
    < af:table >
    < af:column >
    < af:outputText... >
    < af:clientListener... / >
    < /... >
    < /... >

    However, the text does not fill to the top of the cell. So, if I click on the on the empty area, the event handler is not called.
    I hope, even if I click on the empty area of the line, the event handler will be called.
    In fact, if I click on a row of a table at any location, including the empty area, the line becomes blue. How to capture this select event row on the client side?

    You can try file the client listener as a child under tag instead of the ?

    
    ...
    
    
    
    

    The above code should call a function in your js file called "handleTableDoubleClick", which, in turn, queued a ClientEvent that can be attached to a Backing Bean method. Something like:

    ...
        public void handleTableDoubleClick(ClientEvent ce) {
           //do something when the table is double clicked.
        }
    ...
    

    hope that helps

  • How to capture the result of the INSERTION/update in a variable?

    Hi friends, look at this:

    SQL > UPDATE MyTable SET MyColumn = 100;
    -1000 lines to update

    How do I capture the message "1000 rows updated" in a variable in a stored procedure?

    Concerning

    after update stmt writing below stmt in the procedure;

    dbms_output.put_line (' lines = ' |) TO_CHAR(SQL%ROWCOUNT));)

    Published by: J2EE_Life on April 26, 2012 08:40

  • How to capture the value of the profile controller option in the OPS?

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?
    How to write the code for this?

    Thank you

    Hello

    I have a requirement to capture the value of the value of the profile controller option in the OPS?

    Pagecontext class we getProfile method using this you can get the value of profile:

    pageContext.getProfile ("profilename");

    Concerning
    Meher Irk

Maybe you are looking for