In oracle form not to allow cursor to move ahead if value is not entered

I have to modify an existing form in which the cursor sould not move ahead if no value is entered in the field.There are many items for that block.If no value is entered for a particular ITEM then the cursor should not move ahead on pressing the Tab key.
Please let me know what property needs to be set for this thing to work.

Hi
Ok.So I have a text item...and i want the cursor not to move ahead if it is NULL.
So which property should I change and where would I fiind this property?As i previously mentioned , if it is a not null db item the item's property > Required is set to > yes
but if it is not a not null db item then u have 2 option set the item's property > Required is set to > yes
or u can use the following code in When-Validate-item Trigger
IF :BLOCK_NAME.UR_ITEM IS NULL THEN
MESSAGE ('Pls Enter this Field it is Required');
RAISE FORM_TRIGGER_FAILURE;
END IF;
Ok 1 more thing.Suppose i dont want the cursor to move back to the first field by pressing TAB
after coming to the last field..what should be done..?u have 2 options u can choose which depends upon ur needs
If ur block is Master Block and u want to navigate to a Detail accordingly
Pls use the block's property > Navigation Style > change data block
But If ur block is detail Block and u want to navigate to next record accordingly
Pls use the block's property > Navigation Style > change Record
Hope this helps...
Regards,
Abdetu...

Similar Messages

  • Oracle form based on a view - need to return a value after database trigger

    We have a form based on a view calling database trigger to insert data.
    I need to display a message of the record ID inserted on the form.
    The values to be displayed are ID field.

    Hi,
    if you use process of Automatic Row Processing (DML), you have an option *"Return Key Into Item"*.
    This will return your primary key into item, and then you can display this item as a result.
    Regards,
    Aljaz

  • I am not being allowed access to my Music folder and am not able to open itunes.

    when i try to access iTunes, i get a message that the Music folder cannot be found.  When i attempt to open the Music folder, i am told that i do not have access permission.  i recently had my hard drive replaced and did a restore from Time Machine.  Any ideas?

    In the Finder, select your Music folder. Hit Command+I which will open "Get Info". Where it says "Sharing & Permissions" it should read :
    yourname   Read and Write
    everyone   No Access

  • Why is Movies from iTunes slow but not from Netflix, Why is Movies from iTunes slow but not from Netflix

    Why downloading movies from itunes slower than movies than netflix.

    Yes, I had read about converting too..but...isn't it true that then you have TWO files of the same song...consequently twice as much space is taken up for the same song (one in the AAC format and one in the mp3 format)?  It just seems to me that this adds unneccessary time (to make the conversion) and wasted space (2 files now instead of one).  I guess to each their own, but it sure seems preferable to me to purchase right off the bat an mp3 file which does not need any conversion.  And, isn't it also true that in the default Apple format, maybe it isn't "protected" per se...but I was certain I read that you could only use the file on 5 computers for personal use only...there certainly aren't any restrictions like that on mp3.  I was only asking because I have accumulated funds in my itunes account and since I have many apps, I was just wondering if someone could convince me why I would want to purchase music from iTunes.  Thank You.

  • Display Hint Text in Oracle Forms 6i at Text Item

    Dear all seniors
    I want to show Hint text at Text Item in Oracle Forms 6i.
    when my cursor Focus goes at that item. I mean when I go with Tab key or Enter button then it show display text.
    even though my mouse is not on that item.
    please how it would be possible
    thanks.
    G.Y

    Please create a display_item(for eg. Disp_Mess) just below the text field (For eg:-MyField) where you want to show hint. And then assighn Hint text to "DISP_MESS" in NEW-FORM-INSTANCE or at Initial value. Then create a PRE-TEXT-ITEM and POST-TEXT-ITEM trigger for MyField.
    -- PRE-TEXT-ITEM trigger write following code.
    SET_ITEM_PROPERTY('DISP_MESS',VISIBLE,PROPERTY_TRUE);
    --POST-TEXT-ITEM write following code.
    SET_ITEM_PROPERTY('DISP_MESS',VISIBLE,PROPERTY_FALSE);
    It will work for you.
    Regards
    Ahamed Rafeeque Cherkala

  • Text field highlighting Issue in oracle forms 11g after migrating from 10g

    We have migrated the oracle forms from 10g to 11g.
    On 10g oracle form when I click on the text item then text item value gets hilighted in blue color but after converting same form(without making any code changes) into 11g version form when I click on then text item then value is NOT hilighted.
    Could please help me why it's behaving different? Are there any configuration changes required at the application server side?
    Thanks

    christian,
    We have forms 11.1.1.2.0.
    In oracle forms “text item value is highlighted When user clicks on text item” is controlled by form level property “KEEP CURSOR POSITION”.
    This property is not working with JAVA SUN plug-in in forms version 11.1.1.2.0.
    This issue has been fixed under Patch Set 2 (11.1.1.3.0). Please see below meta link.
    https://support.oracle.com:443/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(bmDocDsrc=KB&bmDocType=BULLETIN&bmDocID=1099499.1&from=BOOKMARK&bmDocTitle=Fixed%20Bugs%20List%20-%20Patch%20Set%202%20(11.1.1.3.0)%20for%20Oracle%20Fusion%20Middleware%2011g&viewingMode=1143))
    Thanks,
    Satish N

  • Oracle Forms  (11.1.2.2.0) is supported on RED HAT 7

    Hi, all...
    I need know if Oracle Forms  (11.1.2.2.0) is supported on RED HAT 7, in certmatrix, the RED HAT 6  is supported, if I install in RED HAT 7, Oracle supports the product?
    Thank you.

    This forum is dedicated to support the Oracle Maven Repository and related Maven functionality and therefore, are unlikely to find answers to your Oracle Forms-related questions here.  However, if the certification matrix does not explicitly list RHEL 7, that means that it has not been certified to run on RHEL 7.

  • Calling Java screens from Oracle Forms application

    I am working with a client that has a large Oracle forms application. Since rewriting the entire application in Java is not an option at this time, the strategic direction is that any new modules that are to be created for the application are to be done in Java and called from the Forms menu. The decision as to what tool to use to develop the Java modules is still under debate. What is the best (most seamless) way to do this...calling a Java screen from a Forms application? If anyone has any experience in this, or can direct me to some literature on it, it would be greatly appreciated. Thanks.

    This is a web app in Forms/Reports 10g R2 running off Oracle AS and an Oracle db. The challenge for us is that the direction is that any new enhancements (screens) are to be built using Java (in either ADF Faces or Swing, another point for debate later) and then called from the Forms app. The business client is only paying for the enhancement. They don't care about moving off Forms to Java, so any extra work on the part of IT to do this, has to be fairly minimal and doable within the project budget. The movement to Java is an IT direction. Is there a way to do this without having to build a java framework for the entire Forms application (which I assume would take some time and involve retesting the entire app)?

  • Problem using views containing xpath expressions with Oracle Forms

    Mark,
    Nice to see you back on the forum answering questions.
    This example is based on the standard purchaseorder schema.
    i registered the schema, created a relational table and then created
    a view using xpath.everything works well and i am able to select the data
    using sql*plus. Now this views is like any other view, when i describe the
    view, i can see the all the data types are valid for the columns and also the lengths.
    Now when i try to base a data block in oracle forms using this view, i get error
    "ORA-24324 - service handle not initialized."
    Whereas if i create another view on top of the first view and then base the data block on this view, it works for me. i described the second view from sql*plus and everything seems to be same for me.
    this is the same behaviour from database 9i r2 and it exists in 10g r1 also.
    Any hints as what might be the problem or you would like me to file a tar for this.
    create or replace view purchaseorder_header_xml
    as
    select  id
           ,extractvalue(xml_data, '/PurchaseOrder/Reference') reference
           ,extractvalue(xml_data, '/PurchaseOrder/Requestor') requestor
           ,extractvalue(xml_data, '/PurchaseOrder/User')      po_user
           ,extractvalue(xml_data, '/PurchaseOrder/CostCenter') costcenter
           ,extractvalue(xml_data, '/PurchaseOrder/SpecialInstructions') spl_instructions
    from tab_xmldata
    create or replace view purchaseorder_header
    as select * from purchaseorder_header_xml
    /Raghu

    Not used Forms for years. However I suspect that Forms is trying to poke around behind the view and not understanding what it sees. I expect you'll need to open a Forms Tar to get to the bottom of this. It also appears that you a workaround which is to create a view on the view by the sound of it..

  • Oracle Forms and Reports 10gR2 for Windows Server 2008 (64bit)

    Hi!
    I need to install Oracle Forms and Reports 10gR2 in a windows server 2008 64 bit machine. But I cannot find the installer of it. Is there a way to do it?
    Thanks...

    I need to install Oracle Forms and Reports 10gR2 in a windows server 2008 64 bit machine.Be aware that Oracle Forms and Reports 10gR2 (AS 10.1.2.0.2) is not certified for windows server 2008, as from Oracle Certification Matrices

  • Oracle Forms requires JRE 1.4.2_06, how do I uninstill newer versions

    Hi, The Oracle Forms that we use require JRE 1.4.2_06, they will not run in the most recent version of the JRE. How am I supposed to uninstall the newer versions? I went into the control panel and uninstalled them through there and rebooted, but the directories still exist, the entries in the registry still exist and the version reported in the console is still 1.6.0_05. What else do I need to do?

    I sorted this out myself.
    Downloaded the latest stable xerces binary (2.5.0) from http://xml.apache.org/dist/xerces-j/
    Then I extracted xercesImpl.jar and put it under:
    %ORACLE_HOME%\LIB\endorsed
    I had to create the endorsed folder as it didn't exist.
    Then, when invoking Saxon using java.exe, I added the following switch:
    -Djava.endorsed.dirs=%ORACLE_HOME%\LIB\endorsed
    That's it.
    You can find some background info on:
    https://jaxp.dev.java.net/Updating.html
    Bye,
    Flavio

  • DML issue in Oracle forms

    Hi,
    I have seen sometimes the queries which work in oracle sql*plus and Pl/Sql Developer,they dont work in Oracle forms, for example following query works in
    Pl/sql developer,but not in oracle forms
    select *
    from tablea
    where name in (variable)
    so if variable contains 'AA','BB'
    and records are there in table ,it will not fetch any records,whether variable is with quotes or not .........
    whenever there is a dml statement involving variables ..behavior is somewhat different ....so to get that done ....i normally transfer them to database procedure or function .....then it works fine ..
    Is it known bug or what.
    Regards,
    SS

    You can use a FORMS_DDL or EXECUTE IMMEDIATE
    select_dml := ' select * from tablea where name in ('||:variable||')';
    FORMS_DDL ( select_dml);if variable contains 'AA','BB'

  • Access Flat Files From Oracle Forms Using Simba

    Hi,
    I need to access Flat Files using Simba and display the data using Oracle Forms on Solaris. The Flat Files, Simba and Oracle Forms is on Solaris.
    Thanks.
    Sanjay R Naidu.

    Hi,
    not knowing the flat file's format and why you need SIMBA for it, Forms provides a text_io package that can read from files. You need to parse the file's content and then bring this to a datablock.
    Frank

  • TO_CHAR FUNCTION IN ORACLE FORM

    HI,
    Table called A has column name col1
    col1
    12563.563
    52685.563
    05263.540
    I would like to use SUBSTR(col1,2,6) for insert values from A table to B table by Oracle form and following values are inserted in B table
    2563.5
    2685.5
    263.4
    If I use SQLPLUS it is inserting as my requirement like
    2563.5
    2685.5
    5263.4
    Third row should be 5263.5 instead of 263.4. In Oracle form may have internal coversion function to convert character value to number values, I do not want to convert the value to number. Both table columns are varchar2 column.
    What is the equal to_char function in Oracle form. If it is NLS_NUMERIC_CHARACTERS, please what are the parameters to be passed along with column.
    Thanks in advance
    Saravanan.

    Hello,
    If you don't want to take account any calculation on the decimal part, you could consider the Trunc() function instead of the To_Char():
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select to_char(52685.563,'00000000.0'), trunc(52685.563,1) from dual
      2  /
    TO_CHAR(526 TRUNC(52685.563,1)
    00052685.6            52685.5
    SQL> Francois

  • About importing oracle.forms.properties ...

    Dear all,
    I do have some problems when importing these:
    package oracle.forms.demos;
    import oracle.forms.properties.ID;
    import oracle.forms.handler.IHandler;
    import oracle.forms.ui.CustomEvent;
    import oracle.forms.ui.VBean;
    Here are the problems' details:
    \cmp\FDialogPJC.java:5: package oracle.forms.properties does not exist
    import oracle.forms.properties.ID;
    ^
    \cmp\FDialogPJC.java:6: package oracle.forms.handler does not exist
    import oracle.forms.handler.IHandler;
    ^
    \cmp\FDialogPJC.java:7: package oracle.forms.ui does not exist
    import oracle.forms.ui.CustomEvent;
    ^
    \cmp\FDialogPJC.java:8: package oracle.forms.ui does not exist
    import oracle.forms.ui.VBean;
    ^
    \cmp\FDialogPJC.java:10: cannot resolve symbol
    symbol : class VBean
    location: class oracle.forms.demos.FDialogPJC
    public class FDialogPJC extends VBean
    ^
    \cmp\FDialogPJC.java:13: cannot resolve symbol
    symbol : class IHandler
    location: class oracle.forms.demos.FDialogPJC
    private IHandler mHandler;
    ^
    \cmp\FDialogPJC.java:14: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID SHOWFILEDIALOG = ID.registerProperty("showfile
    dialog");
    ^
    \cmp\FDialogPJC.java:15: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILENAME = ID.registerProperty("filevalu
    e");
    ^
    \cmp\FDialogPJC.java:16: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILECHANGEEVENT = ID.registerProperty("filechan
    geevent");
    ^
    \cmp\FDialogPJC.java:34: cannot resolve symbol
    symbol : class IHandler
    location: class oracle.forms.demos.FDialogPJC
    public void init(IHandler handler)
    ^
    \cmp\FDialogPJC.java:40: cannot resolve symbol
    symbol : class ID
    location: class oracle.forms.demos.FDialogPJC
    public boolean setProperty(ID pid, Object value)
    ^
    \cmp\FDialogPJC.java:14: cannot resolve symbol
    symbol : variable ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID SHOWFILEDIALOG = ID.registerProperty("showfile
    dialog");
    ^
    \cmp\FDialogPJC.java:15: cannot resolve symbol
    symbol : variable ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILENAME = ID.registerProperty("filevalu
    e");
    ^
    \cmp\FDialogPJC.java:16: cannot resolve symbol
    symbol : variable ID
    location: class oracle.forms.demos.FDialogPJC
    private static final ID FILECHANGEEVENT = ID.registerProperty("filechan
    geevent");
    ^
    \cmp\FDialogPJC.java:21: cannot resolve symbol
    symbol : method getClass ()
    location: class oracle.forms.demos.FDialogPJC
    ClassLoader cl = getClass().getClassLoader();
    ^
    Any other advice towards these?
    Thks & Rgds,
    Edward

    Fnd the forms.jar file in the system. Make a note of the complete path For example if the forms.jar file is in C:\abcd\xyz\ , the path of this file is C:\abcd\xyz\forms.jar .
    Open the server.xml file which you can find under C:\Sun\AppServer7\domains\domain1\server1\config and add the above PATH like this
    server-classpath="C:\abcd\xyz\forms.jar;C:/Sun/AppServer7/lib/appserv-rt.jar ......
    -Restart the Application Server and run your application
    Hope this helps
    Thanks
    Srinivas

Maybe you are looking for

  • Table for finding out the User details

    Hi All, We need to create a KPI for number of hours a user has looged into a system. Is there any specific table where all the user related information is captured.If the information is not present in a table where  can we find the above information?

  • Using multiple apple tv's

    i have a first gen 250gb apple tv and i just recently bought the second gen apple tv also. I am using a macbook pro with lion for my main computer. Is it possible to use my first gen apple tv as the "library" that my second gen apple tv can load/stre

  • My imac screen went half dark, can I fix this myself??

    My 24' Imac screen went 1/2 black on top the bottom is fine, can I fix this myself??? HELP

  • Genuine Apple Lightning Cable not recognized...

    I'm using an iPad mini, running iOS 7.0.6, and plugged directly into AC power with an Apple 2 meter charging cable, purchased @ the Apple Store. I am being driven crazy by the intermittent beeping of the iPad mini until it finally tells me the access

  • Essbase, APS, Shared Services and MicroStrategy

    I'm trying to connect up my MicroStrategy front end to an Essbase application. It seems that I can talk to the XMLA Provider services but when I try to get information about a specific application I get an error. I have gone in to the essbase.propert