Question about hot key to jump between fields in oracle form

say I have bunch of orders to upload,
at the order number field I type in the number
and move the mouse to click on next line to type another number
how can I use some hot key to replace the mouse movement.
I know if use tab key several times you can come to the next line eventually, but is there any better hot key just move to the next line?
my purpose is to automatically upload bunch of orders, and bypass the mouse move, if there is some similar case study material, I really appreciate.
thank you

There is one built-in to move to the next record programatically. Like...
NEXT_RECORD;It is a restricted procedure check the forms help.
In your case can use on KEY-NEXT-ITEM trigger.
or if you are uploading from any file or any other source then also you can use this built-in in your code while uploading.
Check the below documentation. Select on your version.
http://www.oracle.com/technology/documentation/6i_forms.html
-Ammad
Edited by: Ammad Ahmed on May 25, 2010 12:15 AM

Similar Messages

  • How to encrypt the text in password field in Oracle Forms version 6i

    Need help!
    How to encrypt the text in password field in Oracle Forms version 6i?
    one way is to change the settings in the property palette. Can somebody provide me some script to be run while the form is running which will enable the password to be encrypted?
    Thanks!

    Hello,
    Do you mean "hidden" (replaced with stars) or encrypted (that needs to be decrypted ?
    Francois

  • Hierarchical Field in Oracle Forms

    Hi Experts
    Can any one please give me a sample code to write a hierarchical field in Oracle Forms. I want to display
    Category->Organization->Item->Quantity
    Thanks in Advance.
    Ahmed

    okay,
    place your treeitem in the layout. The treeitem has to the only item in the block and property "Single record" has to be true.
    To populate your tree with data you can either
    - use a query to populate a treeitem have a look at this thread Tree Menu
    - use the Ftree.Add_Tree_Node built-in and program your own logic.

  • Some basic questions about foriegn key , and relationships.

    Hi
    Thank you for reading my post
    I read some documents about foreugn key and tables relation ships.
    but i still can not understnad some stuff.
    1-when we have a foreign key , we have two tables that we want to relate them together
    in a way that one of ? table columns forced to be a value from ?? table column.
    what is name of those two tables , i saw , child-parent , ..... which confuse me.
    can some one please tell me correct name of those two tables ?
    2-some times we need some kind of master details relation like :
    one-to-many : i this case MANY table will have a column to point a record in ONE table , can this relation be a foreign key relation ?
    3-we can achieve many-to-many relation only by using a helper table to host both tables primary keys in a record to relate them together.
    can you point me to some resources that help me to find answers to this questions ?
    or explain them to me ?
    thank you for your time.

    These are critical database basics that you need to understand. I would seriously recommend getting some study in, because proper relational database design relies on the basic principle of data and relationships and a process called normalization.
    In reality, you only really need one gigantic table to host data. It would include everything you would want to know about something - let's take a sales order for example. You would have to record the customer's name, address, etc. along with every item they ordered, etc. You would have a HUGE table full of data that appeared over and over and over again. This is bad design for two basic reasons: it is difficult to query, and it is very easy to have minor mistakes like capitalization or alternate spellings that prevent things from matching up properly. For example, let's say Bob orders 40 widgets and 40 digits. In our hypothetical table, we could put it in as Bob - 40 widgets and Robert - 40 digits. See how confusing this can get even in a simple example? And let's say you wanted to correct all of Robert's orders to say Bob and you found out there were 40 orders from "Robert" How would you know which ones to change?
    The process of normalization helps to reduce the chance for these types of errors in addition to creating a good basis for indexes. You normalize the data by creating sets of parent/child tables with a "key" value to match them. In our hypothetical situation, you could create a table for orders and a table for customers. In the customers table you give all the detail for the customer in one place, and you assign each customer a unique number or ID. In the orders table we add the customer ID (NOT the name) and we ensure that we are getting the customer we want, in addition to saving a lot of space and eliminating redundancy. In our example, the customers table is the "parent" table and the orders table is the "child" table. The child table references the unique entries in the parent table via that id. That reference is referred to as a foreign key. The foreign key in the child table points back to the original and complete record in the parent table and eliminates the redundancy of keeping all that extra data for every order. Foreign keys in child tables always refer to a primary/unique key in the parent field.
    That help?

  • A question about foreign key to multiple tables

    Hello everybody,
    I have a question about creating foreign key and I would appreciate if you could kindly give me a hand. Here are my tables:
    CREATE TABLE TEAM1(team_id VARCHAR2(20), project_id VARCHAR2(20));
    ALTER TABLE TEAM1 ADD CONSTRAINT PK_TEAM1 PRIMARY KEY(team_id);
    CREATE TABLE TEAM2(team_id VARCHAR2(20), project_id VARCHAR2(20));
    ALTER TABLE TEAM2 ADD CONSTRAINT PK_TEAM2 PRIMARY KEY(team_id);although the structure of both the tables is exactly the same, the values (in particular team_id) in both tables are different.
    Also I have another table named AGENT
    CREATE TABLE AGENT(agent_id VARCHAR2(20), team_id VARCHAR2(20));
    ALTER TABLE AGENT ADD CONSTRAINT PK_AGENT PRIMARY KEY(agent_id)Now the problem is that the column team_id in AGENT table is actually a foreign key, but the value can be in either TEAM1 or TEAM2. As far as I know a foreign key points only to one table.
    How can I deal with this problem? Whenever there is an INSERT or UPDATE I have to make sure that the value of the column "team_id" in the table "AGENT" is a valid value either in "TEAM1" or "TEAM2"
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    Do you have the ability to change the data model? If so a more appropriate structure may be something like this:
    CREATE TABLE TEAM(team_id VARCHAR2(20), team_name VARCHAR2(20));
    ALTER TABLE TEAM ADD CONSTRAINT PK_TEAM PRIMARY KEY(team_id);
    ALTER TABLE TEAM ADD CONSTRAINT UK_TEAM UNIQUE (team_name);
    CREATE TABLE TEAM_PROJECT(team_id VARCHAR2(20), project_id VARCHAR2(20));
    ALTER TABLE TEAM ADD CONSTRAINT PK_TEAM_PROJECT PRIMARY KEY(team_id, project_id);
    ALTER TABLE AGENT ADD CONSTRAINT FK_TEAM_PROJECT1 FOREIGN KEY (team_id) REFERENCES TEAM(team_id);
    CREATE TABLE AGENT(agent_id VARCHAR2(20), team_id VARCHAR2(20));
    ALTER TABLE AGENT ADD CONSTRAINT PK_AGENT PRIMARY KEY(agent_id);
    ALTER TABLE AGENT ADD CONSTRAINT FK_TEAM FOREIGN KEY (team_id) REFERENCES TEAM(team_id);Edited by: Centinul on Jun 25, 2010 10:50 AM

  • How about Hot Keys for the Wireless Keyboard?

    Hello all.
    Been using the iPad 2 for about 2 weeks since I got it.  Had to "ditch" the iPad Keyboard Dock and use a regular Apple Wireless Keyboard.  The good thing is now using the TwelveSouth iPad Stand, I can orientate the iPad to any of the two positions I want.
    But I miss the special hot keys on Keyboard Dock, namely the Home and Lock keys.  Kind of inconvenient pushing the Home button on the iPad 2, especially having to double-press for multitasking.
    If only the iPad's iOS allows some sort of configuration for hot keys on the wireless keyboard.  I do notice that the F5 and F6 are empty.
    Cheers

    I would only hope that the keyboard would turn off, not just when it isn't pairing with the computer, but for the keyboard that is paired (mine is) it would be best if it turned off after a period of no use. Here is what one man, not an Apple tech, said about the A1314 keyboard he was selling on ebay:
    "The keyboard automatically powers down when you're not using it and turns on instantly as soon as you start typing. This intelligent power management means you'll get up to nine months of battery life based on average usage patterns. It also has an on/off switch for when you're away from your computer for a long time."
    This doesn't indicate how many minutes of no use it needs before it 'powers down' (doesn't sound as good as really being turned off) and it also doesn't address the issue of knowing if your keyboard is on or off via the power button.
    Even my dog electric training collar blinks twice when it is turned on and blinks three times when it is turned off. The Apple keyboard needs two indicator lights, one to tell you if it is searching for pairing and the other strictly as an on off indicator. I'm not going to loose any sleep over this, but it does seem like somebody was sleeping in the design department as this keyboard is really cool, but it doesn't convey the basic on/off information to the user.

  • Key Configuration differences between SAP and ORACLE Financials

    Hello,
    After spending good 7 years in SAP related projects recently I started working in ORACLE Applications. I used to be an ORACLE programmer years back. To my surprise the same <b><u>ORACLE Forms</u></b> are still very much the heart of the ORACLE UI.
    Then I thought what will be the key differences between ORACLE and SAP in terms of configuration elements. While I know a bunch of configuraion items in SAP , I am not sure about the same in ORACLE world. I am not even sure some of the configuration items that are available in SAP exists in ORACLE.
    Does anyone know both sides of the coin ? The terminology and design ?
    SAP has
    Client,Company code, Business area, Functional Area, GL, Posting Key, Document Type.
    I am trying to get the details of the equivalents of these in ORACLE.
    Does anyone know it ?
    For e.g , when you post to <b>AP</b> or <b>AR</b> in <b>SAP</b> , <b>GL</b> is updated  automatically. In <b>ORACLE</b> you post to a <b>AP Book</b> or <b>AR Book</b> then Run a batch to move them to <b><u>GL Book</u></b>.
    ORACLE uses SQLLoader to load data . You can write a PL SQL and update the tables directly, which is not the case in SAP. For dataloads and conversions, SAP uses BDC's ( though XI can be used but its slow).For ORACLE its the good old SQL and PlSQL combo.
    What are the equivalents of the configuration elements in ORACLE world ?
    Also what are the major differences between these two in terms of designing a financial system.
    Does any one know ?

    Genie,
    I agree that a case is made on how well these two ERPs solve the day to day tasks before a company chooses one of these two. But my question is aimed at finance to begin with. You are going to need a general ledger for any company or government regardless of ERP. And how well you can drive the ledger to map your business is the key here.
    The way ledger is built is around a business area ,company or country and is very tighly designed in SAP. I would like to know if there is any equivalent of the configuration items in ORACLE. I am more interested in terminology of ORACLE.
    For example ,
    <u><b><u><b>SAP ====> ORACLE</b></u>
    <u><b>GL ==> Book In ORACLE</b></u>
    <b><u>Document Number ===> Invoice Number</u></b>
    <b><u>Posting Period in SAP ==> Posting period In ORACLE</b></u></u></b>
    Most of the terms are finance terms , so they are common ( eg. an account number is an account number in ORACLE and SAP ) between two systems. I am interested in any specific thing that is available in ORACLE but not in SAP and  vice verse.
    thanks for the link you have provided.
    Its very useful.

  • Question about dependent projects (and their libraries) in 11g-Oracle team?

    Hello everyone,
    I have a question about dependent projects. An example:
    In JDeveloper 10.1.3.x if you had for instance 2 projects (in a workspace): project 1 has one project library (for instance a log4j library) and project 2 is a very simple webapplication which is dependent on project 1. Project 2 has one class which makes use of log4j.
    This compiles fine, you can run project 2 in oc4j, and the libraries of project 1 (log4j) are added on the classpath and everything works fine. This is great for rapid testing as well as keeping management of libraries to a minimum (only one project where you would update a library e.g.)
    However in 11g this approach seems not to work at all anymore now that weblogic is used, not even when 'export library' is checked in project 1. The library is simply never exported at all - with a noclassdeffound error as result. Is this approach still possible (without having to define multiple deployment profiles), or is this a bug?
    Thanks!
    Martijn
    Edited by: MartijnR on Oct 27, 2008 7:57 AM

    Hi Ron,
    I've tried what you said, indeed in that .beabuild.txt when 'deploy by default' is checked it adds a line like: C:/JDeveloper/mywork/test2/lib/log4j-1.2.14.jar = test2-view-webapp/WEB-INF/lib/log4j-1.2.14.jar
    Which looks fine, except that /web-inf/lib/ is empty. I presume its a sort of mapping to say: Load it like it in WEB-INF/lib? This line is not there when the deploy by default is not checked.
    I modified the TestBean as follows (the method that references Log4j does it thru a Class.forName() now only):
    public String getHelloWorld() {
    try {
    Class clazz = Class.forName("org.apache.log4j.Logger");
    System.out.println(clazz.getName());
    catch(Exception e) {
    e.printStackTrace();
    return "Hello World";
    In both cases with or without line, it throws:
    java.lang.ClassNotFoundException: org.apache.log4j.Logger
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:42)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at nl.test.TestBean.getHelloWorld(TestBean.java:15)
    Secondly I added weblogic.xml with your suggested code, in the exploded war this results in a weblogic.xml which looks like:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    <jsp-descriptor>
    <debug>true</debug>
    <working-dir>/C:/JDeveloper/mywork/test2/view/classes/.jsps</working-dir>
    <keepgenerated>true</keepgenerated>
    </jsp-descriptor>
    <library-ref>
    <library-name>jstl</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    </weblogic-web-app>
    The only thing from me is that container-descriptor tag, the rest is added to it during the deployment. Unfortunately, it still produces the same error. :/ Any clue?

  • How to view field name for a field in Oracle form?

    I was told you can do this but I forgot how.
    If you want to build a report, but don't know what the field name is in Oracle, you can open up the Oracle form and find the screen with that field name and do a trick that tells you the Oracle field name. Any help?

    Try this....
    REPORT ZZDYNAMIC_FIELD.
    DATA: BEGIN OF it1 OCCURS 0,
    printer(10) TYPE c,
    paper1(20) TYPE c,
    paper2(20) TYPE c,
    paper3(20) TYPE c,
    END OF it1.
    DATA: descr_ref TYPE REF TO cl_abap_tabledescr,
          i         TYPE i.
    FIELD-SYMBOLS:
      <key_comp_wa> TYPE abap_keydescr,
      <field>       TYPE ANY.
    it1-printer = 'MUC123'.
    it1-paper1 = 'KBLOGO'.
    it1-paper2 = 'BLANK'.
    it1-paper3 = 'DINA5'.
    APPEND it1.
    it1-printer = 'MUC123'.
    it1-paper3 = 'KBLOGO'.
    it1-paper2 = 'BLANK'.
    it1-paper1 = 'DINA5'.
    APPEND it1.
    TRY.
        descr_ref ?= cl_abap_typedescr=>describe_by_data( it1[] ).
      CATCH cx_root.
    ENDTRY.
    LOOP AT it1.
      i = 0.
      WHILE 1 = 1.
        i = i + 1.
        ASSIGN COMPONENT i OF STRUCTURE it1 TO <field>.
        if <field> is not assigned.
          EXIT.
        endif..
        IF <field> IS ASSIGNED AND <field> EQ 'KBLOGO'.
          READ TABLE descr_ref->key INDEX i ASSIGNING <key_comp_wa>.
          WRITE <key_comp_wa>-name.
          exit.
        ENDIF.
      ENDWHILE.

  • Need to enable a Field in oracle form- Urgent

    I have a search from where i need to fill the customer number and if its a valid customer number it should automatically enable the next filed ie.. customer name. Can not use the 'TAB' out functionality on customer number to enable customer name.
    Can anyone say me the logic for it

    What I understand from the question is, you want the customer name field getting enabled without 'tab'bing out of customer number?
    Maybe you can use the post-text trigger in the customer number field to set the properties of customer name as Sri and Craig suggested.
    An alternative approach would be,
    1. Keep both the items enabled.
    2. In the when-new-item-instance trigger of customer name write this code -
    IF <customer_num NOT valid OR customer_num IS NULL> THEN
    message('FRM-XYZ Invalid Customer Number.');
    go_item('customer_num');
    END IF;
    This obviously, won't disable any item but serve your purpose w/o much hassles.
    Regards
    Bhushan

  • Question about the key of loops

    I am reading the logic getting started book
    and they say there are two type of loops
    audio files and software instruments.
    in the book it says:
    "the advantage of apple loop audio files is their ability to automatically match the tempo and key of a logic project"
    is that possible an audio file being able to change key to the key of your project?? how about if the audio loop is a guitar strum strumming a C chord, it is able to switch the strum to a D chord, F chord, etc...?? how does that work??
    sorry if this is a stupid question
    I can understand how the software instrument loops would be able to change to match your project because they are midi and the midi notes can just be transposed to whatever Key, chord, etc....
    please explain if you know i will really appreciate it
    Thanks

    wow that is crazy i can't believe it is able to transpose audio loops (not midi) to different keys. especially stuff with more then one note playing at the same time like guitar strum.
    I know how to set up the key in logic and change it etc... i was really wondering how it is capable of doing this?? does it have some kind of melodyne or autotune built in to it?? i never heard of software being able to do this with pre recorded audio that plays more than one note at a time.
    Message was edited by: smurffy

  • Question about reconciliation key

    Hello,
    I've got a reconciliation question that I feel is pretty simple, but I can't find the answer. How can an entry fetched from target recon be associated with a user in OIM? I initially though that it was the value of the "key" fields in the reconciliation filed mapping that was compared with the value of the users in OIM, but upon closer inspection, that doesn't make any sens. For instance, the AD reconciliation field mapping only has the "objectGUID" as a key. Since OIM users don't have objectGUIDs, how can an AD account be matched with a OIM user?
    This seems really basic, but I just can't find an answer...
    Thanks,
    --jtellier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    You need to look at the reconciliation rules and reconciliation Action rules . For eg , is the recon rule is User Login equals samAccountName , then upon target reconciliation , OIM recon engine will search in OIM for a matching user with user login same as samAccountName and if a match is found , a AD resource will be provisioned to the user with ObjectGUID as the primary key .
    http://docs.oracle.com/cd/E11223_01/doc.910/e11217/cnnctrcmpnts.htm#autoId9
    http://docs.oracle.com/cd/E11223_01/doc.910/e11217/processes.htm
    Hope this helps .
    Thanks
    Suren

  • Question about Primary Key

    HI
    I'm going to build a Database to automate center in my university
    The Database version is Oracle 10g v2
    Which data type of primary key should I user?
    I used number in past but I heard there is more efficient data type for this purpose
    Thanks

    BINARY_FLOAT and BINARY_DOUBLE are designed to store floating point numbers. If you are generating synthetic primary keys using a sequence, you are generating integers. It makes no sense from a data modeling perspective to store integer data in floating point fields. And it is exceptionally dangerous if a value gets rounded unexpectedly (floating point numbers lose precision for the trailing bits)
    You'll have to clarify for me what "more helpful for indexing" means. As far as storage space goes, there may be some space savings using a BINARY_FLOAT or BINARY_DOUBLE if you have very large primary key values, but there will be a space penalty for most "normal" sequence-generated values, i.e.
    SQL> create table x (
      2    col1 number,
      3    col2 binary_float,
      4    col3 binary_double
      5  );
    Table created.
    SQL> insert into x values( 1, 2, 3 );
    1 row created.
    SQL> select length(col1), length(col2), length(col3) from x;
    LENGTH(COL1) LENGTH(COL2) LENGTH(COL3)
               1            8            8
    SQL> insert into x values (1e20, 1e20, 1e20 );
    1 row created.
    SQL> select length(col1), length(col2), length(col3) from x;
    LENGTH(COL1) LENGTH(COL2) LENGTH(COL3)
               1            8            8
              21           15            8
    SQL> select * from x;
          COL1       COL2       COL3
             1   2.0E+000   3.0E+000
    1.0000E+20   1.0E+020   1.0E+020So it takes 8 times the storage to store a 1 in a BINARY_FLOAT or BINARY_DOUBLE than it does to store that in a NUMBER column. But it takes less space if you're storing values like 1e20 (a 1 with 20 0's). If you're storing values large enough to get the space benefit, however, you're going to have rounding issues that will cause the application not to function as you'd expect which is presumably a much greater problem than a bit of wasted disk space.
    Justin

  • Curious question about tab key selecting?

    I'm not sure how to word this query so try to bare with me.
    I sometimes use the tab key to select the next file or folder instead of the arrow keys, but I've noticed that when I have a series of folders and/or files that are in numerical order, the tab key doesn't select the files and folders in the order that they are listed it selects them in a order that is similar to alphabetical order.
    Such as this:
    This is an example of the file names and the numerical order they're listed in:
    9
    28
    29
    30
    40
    300
    2006
    2025
    A
    This is the order the tab selects the same files:
    2006
    2025
    28
    29
    30
    300
    40
    9
    A
    If the 9 file is selected then I hit tab key to select the next file, the next files selected is A it will skip over the other files. The arrow Keys don't do this.
    My question is why is this the case?
    Not really a big deal but I was curious why it does that.

    You are correct for the use you've described - using tab in list view, also in icon view. The tab key moves in alpha-numeric sequence but the numeric is by 1st numeral, 2nd numeral, etc if two or more have the same first numeral not by total number size.
    The arrow keys are essentially directional. In icon view you use L/R to move to the next item and up/down to move vertically.
    This is the standard use but individual applications use these keys differently. In a table/database it's common for the tab to move from cell to cell and the arrow keys to move through the characters in a cell but even these can depend on the particular software package.
    This is all part of the learning curve for computer users!
    Neville

  • Very simple question about how to change a specific field in a table

    Hi,
    I'm working with a simple JSF web application, I have just drag a table, the "travel" standard example, and I just had 3 columns, one with a drop down list, other with a static text field and a Button.
    Then I introduced the following java code in the Button:
    public String button1_action() {
    int quantity=Integer.parseInt(dropMenu.getValue().toString());
    quantityChosen.setValue(quantity);
    When the button is pressed, I can print and check that the value obtained is the one selected in the drop down list, of the respective row.
    The problem that I would like to write it in the respective static text field (in the same row) where the button was pressed.
    What happens is that it write the value in all the column. So it reads from the write place and then write in every column?
    How to write in the respective row?
    Thanks in advance, Junkeira

    Hi,
    I'm working with a simple JSF web application, I have just drag a table, the "travel" standard example, and I just had 3 columns, one with a drop down list, other with a static text field and a Button.
    Then I introduced the following java code in the Button:
    public String button1_action() {
    int quantity=Integer.parseInt(dropMenu.getValue().toString());
    quantityChosen.setValue(quantity);
    When the button is pressed, I can print and check that the value obtained is the one selected in the drop down list, of the respective row.
    The problem that I would like to write it in the respective static text field (in the same row) where the button was pressed.
    What happens is that it write the value in all the column. So it reads from the write place and then write in every column?
    How to write in the respective row?
    Thanks in advance, Junkeira

Maybe you are looking for