Creating Descriptive & Key FLEXFIELDS in Forms 10g

Hello everyone,
I want to create Descriptive & Key Flexfields in Oracle Forms 10g,Kindly help........

A FLEXFIELD IS A FIELD MADE UP OF SUB–FIELDS, OR SEGMENTS. THERE ARE TWO TYPES OF FLEXFIELDS: KEY FLEXFIELDS AND DESCRIPTIVE FLEXFIELDS.
KEY FLEXFIELDS:
          I HAVE A COLUMN CALLED ADDRESS(SINGLE FIELD),WHEN I KEEP MY CURSOR ON THIS FIELD AND PRESS ENTER,IT POP'S UP A WINDOW WITH ALL NECESSARY FIELDS CORRESPONDING TO ADDRESS LIKE,DOOR-NO.,STREET NAME,CITY ETC.... WITH AN OK & CANCEL BUTTON.
ONCE I GIVE THE VALUES ACCORDINGLY IN THE ADDRESS FIELD AND CLICK OK BUTTON IT STORES ALL THE VALUES IN WINDOW TO THE ADDRESS FIELD.
DESCRIPTIVE FLEXFIELDS:
DESCRIPTIVE FLEXFIELDS LETS YOU ADD ADDITIONAL FIELDS TO THE FORM IN ORDER TO TRACK ADDITIONAL INFORMATION NEEDED BY THE BUSINESS, THAT WOULD NOT BE CAPTURED BY THE STANDARD FORM. DESCRIPTIVE FLEXFIELDS CAN BE CONTEXT SENSITIVE, WHERE THE INFORMATION YOUR APPLICATION STORES DEPENDS ON OTHER VALUES YOUR USERS ENTER IN OTHER PARTS OF THE FORM.
A DESCRIPTIVE FLEXFIELD APPEARS ON A FORM AS A SINGLE–CHARACTER, UNNAMED FIELD ENCLOSED IN SQUARE BRACKETS [ ]. EACH FIELD OR SEGMENT IN A DESCRIPTIVE FLEXFIELD HAS A PROMPT AND CAN HAVE A SET OF VALID VALUES
THIS CONCEPT IS USED FREQUENTLY IN ORACLE APPLICATIONS, WHICH I WANT TO IMPLEMENT IN FORMS 10G.I BELIEVE WITH YOUR EXPERTISE I WILL BE ABLE TO AHIEVE IT.
REGARDS ,
SRINI.

Similar Messages

  • CREATING KEY & DESCRIPTIVE FLEXFIELDS IN FORMS 10G

    HELLO EVERYONE,
    kINDLY HELP ME CREATING KEY & DESCRIPTIVE FLEXFIELDS IN FORMS 10G.STEP BY STEP PROCEDURE IN FORMS 10 G WILL HELP ME REALLY.
    REGARDS,
    Srini.

    A FLEXFIELD IS A FIELD MADE UP OF SUB–FIELDS, OR SEGMENTS. THERE ARE TWO TYPES OF FLEXFIELDS: KEY FLEXFIELDS AND DESCRIPTIVE FLEXFIELDS.
    KEY FLEXFIELDS:
              I HAVE A COLUMN CALLED ADDRESS(SINGLE FIELD),WHEN I KEEP MY CURSOR ON THIS FIELD AND PRESS ENTER,IT POP'S UP A WINDOW WITH ALL NECESSARY FIELDS CORRESPONDING TO ADDRESS LIKE,DOOR-NO.,STREET NAME,CITY ETC.... WITH AN OK & CANCEL BUTTON.
    ONCE I GIVE THE VALUES ACCORDINGLY IN THE ADDRESS FIELD AND CLICK OK BUTTON IT STORES ALL THE VALUES IN WINDOW TO THE ADDRESS FIELD.
    DESCRIPTIVE FLEXFIELDS:
    DESCRIPTIVE FLEXFIELDS LETS YOU ADD ADDITIONAL FIELDS TO THE FORM IN ORDER TO TRACK ADDITIONAL INFORMATION NEEDED BY THE BUSINESS, THAT WOULD NOT BE CAPTURED BY THE STANDARD FORM. DESCRIPTIVE FLEXFIELDS CAN BE CONTEXT SENSITIVE, WHERE THE INFORMATION YOUR APPLICATION STORES DEPENDS ON OTHER VALUES YOUR USERS ENTER IN OTHER PARTS OF THE FORM.
    A DESCRIPTIVE FLEXFIELD APPEARS ON A FORM AS A SINGLE–CHARACTER, UNNAMED FIELD ENCLOSED IN SQUARE BRACKETS [ ]. EACH FIELD OR SEGMENT IN A DESCRIPTIVE FLEXFIELD HAS A PROMPT AND CAN HAVE A SET OF VALID VALUES
    THIS CONCEPT IS USED FREQUENTLY IN ORACLE APPLICATIONS, WHICH I WANT TO IMPLEMENT IN FORMS 10G.I BELIEVE WITH YOUR EXPERTISE I WILL BE ABLE TO AHIEVE IT.
    REGARDS ,
    SRINI.

  • Key Mapping in Forms 10g

    Dear All,
    I have migrated forms 3.0 in unix to forms 10g in windows 2003 server.
    In my older version, '+' key is mapped to do COMMIT. I want to map the same key in forms 10g. i tried the same in my frmweb.res. Pls find the mapping done by me below.
    *107 : 0 : "Add" : 36 : "Commit"*
    This works fine.
    The Issue is ... My cursor is in a text item .... I entered some data and press " + " key to save. The data is saved but at the same time the data in the text item is erased and + is getting replaced in the text item. I dont want my data to be erased and replaced with "+" symbol.
    How to map the "+" just for COMMIT and should not replace the data in the text item ?
    Can anyone help me to solve this issue...
    Thanks in Advance
    Sharf

    Unfortunately, sometimes the role of the developer is to educate the user/management what can/can't and should/shouldn't be done. If I were in your postition, I would make every effort to educate the user/management this this is a REALLY bad idea and encourage them to use the standard key mapping or use a modifed key mapping that uses just the F-Keys.
    The problem you have to overcome is that you have to not only tell Forms to do something different when the '+' key is pressed, but you have to have a listener in your application that is listening for the '+' key and supress the '+' character. To my knowledge, this cannot be done with native Forms built-ins. You would have to write your own Java solution (JavaBean or Pluggable Java Component [PJC]) to suppress the '+'. I have found that if you can provide the user/management with a cost estimate associated with the effort needed to code a particular feature. Once they realize the level effort and more importantly the cost associated with coding a particular feature, they typically will change their mind and see reason.
    I know this is not what you wanted to hear, but I hope it will help anyway. :(
    Craig...
    Edited by: CraigB on Aug 2, 2010 2:05 PM
    Edited by: CraigB on Aug 2, 2010 2:07 PM

  • Trap Key pressed in Forms 10g.

    Hi All,
    Have anyone trapped the keys which are pressed in Forms 10g. We have a requirement in which in a LOV Form when TAB key is pressed it should navigate to the next field and when ENTER key is pressed it should select the value from that field and get back to the field from where it was invoked.
    We had tried http://forms.pjc.bean.over-blog.com/article-15980196.html from Francois Degrelle which traps he key pressed. But that is throwing us some error in JInitiator console.
    Expecting a favorable reply from the forum users on this to .
    Thanks in advance

    Monsieur Degrell,
    is it possible to listen just to one item in the form?
    I have triedSet_Custom_Property( 'b_hilfe.bean', 1, 'INIT', 'b_help.search');in when-new-form-instance, where 'b_help.search' is the item i want to listen to,
    but the bean still listen on every item in the form.
    kind regards

  • Create pop-up windows in forms 10g

    I have an application in which several formal controls are made before insert/update a record. Some of them are blocking, some others arent.
    Actually, at every constraint violation, a message is displayed with an alert. So, the user may got one or more alerts before he succeed in inserting/updating a record. And it may be annoying to click on 'OK' a lot of times!
    So, I wish to collect all error message and display them in a window, which is to be displayed in a pop-up way (something like the alerts that appear at the bottom-right corner of our screen when we have new mail).
    The issue is that the pop-up window must not disturb the user, i.e it should be displayed and iconized after few seconds, leaving the focus on the main window.
    I tried several solutions, but each of them have some issues.
    External HTML page: maybe its the easiest solution. But bluring it, the focus doesnt return to the form application.
    New window: I can run and iconize it. But, as in the previous case, the main window lost the focus.
    New canvas: I put a text item LOG_ERRORS in a new canvas, in the same main window. But when I run it, the main canvas disappear.
    does anyone know how to create popup windows in forms 10g (if it is possible)?
    thank you

    You can use a new window and set "Window Style" to "Dialog" then you can show the window without the main-window loosing the focus

  • Key navigation in forms 10g

    During migration of forms 6i to 10g, we are encounterd the followng problem
    In 6i return key navigation is sink with up/down arrow keys.but in 10g up/down key is not sink with return key or tab key.

    I don't understand your problem. Could you give some more details?

  • How to creat login screen in oracle forms 10g.

    Hello I want to make a login form wher a database user will connect to the application and other forms.
    Must note that I have database users for login like hr, scott etc.I dont want to make users in a just table.
    I want to show a beatifull screen which will be our main form and there will be a login button then a user will put its credentials and then dashboard will be open.
    please guid me about this.bcz i made a form and call
    f
    Logon_Screen;
    but its going work properly and show message raise form trigger failure.

    Could share your error message?
    >>Must note that I have database users for login like hr, scott etc.I dont want to make users in a just table.
    what it means?

  • Dynamically creating a database block in forms 10g

    hi guys ,
    i got a new requirement ,that is dynamically create a database blocks and items...
    how it is possible..?
    thanks...

    Hello,
    It is not possible. You cannot create blocks or items at runtime. What you can do is to have them created but hidden, then you set them visible as soon as you need them.
    Francois

  • Can show_window call to create a detached window in FORMS 10g?

    Now, I am migrating forms6i to form10g. In Form6i, show_window can create a new window not in the area of the current window. However, in forms10g, I can only create a window in the area of current window, and can not move it out current window.

    Hello,
    I am sure that Jan is certainely THE expert. It would be so great if he would find time to blog a litttle bit on this topic, that generates, in fact, a lot of questions ;D
    Francois

  • Compile .fmb file in UNIX with forms 10g

    HI,
    Can someone help me in compiling a .fmb file in UNIX? I have created this .fmb file in Forms 10g.I have Oracle Applications in the Front end. I am unable to figure out the commands to compile the form which generates a .fmx file.
    I have placed the .fmb file in the UNIX directory. As Forms6i has f60gen....and 9i has f90gen...I want to know the code that I must execute in the command prompt of the UNIX server. I am a fresher to this. So please explain in as detail as you can.
    Thanks
    Dev

    if the previous doesn't help
    just put something like this :
    find where the frmcmp.sh is located an put the fully qualified path there
    make also sure you execute it with the right user! (normally oracle)
    I don't know if I already mentioned it bu be aware that you need to have an Xdisplay if your working with frmcmp.sh .
    There is a batch command to I believe that doesn't need the Xdisplay
    Remember you can use any display of any machine
    If you set your display to another hosts screen, type xclock on your prompt and the clock should appear on the others screen.
    If you don't know how to look for the command ....
    If it is in your PATH -->" type frmcmp.sh " will give you the directory
    If not go to <oracle_home> eg /opt/oracle -- > " find . -name frmcmp.sh "
    Erwin

  • Not able to create a text file in Client Machine using Forms 10g

    Hi - I'm mot able to create a text file in Client Machine using Forms 10g. I'm getting error when system executes the bolded line.(i.e. CLIENT_TEXT_IO.FOPEN). During run-time system is throwing "ORA-06508: PL/SQL: could not find program unit being called".
    I had attached webutil.pll in the form.
    Please advise me.
    DECLARE
    l_Temp CLIENT_TEXT_IO.FILE_TYPE;
    LC$Name Varchar2(100) ;
    LC$Fic Varchar2(100) ;
    LN$Lines Pls_integer := 0 ;
    LC$Line Varchar2(4000) ;
    Cursor C_CUR Is
    Select * From TEST_TEXTIO where rownum <= 50;
    BEGIN
    LC$Name := 'tmp_file.txt' ;
    LC$Fic := 'c:\temp\tmp_file.txt';
    Begin
    l_temp := CLIENT_TEXT_IO.FOPEN( 'C:\temp\tmp_file.txt', 'W');
    Exception
         when others then
         message( 'OPEN FILE ERROR ' || LC$Fic ||sqlerrm );
         display_error;
         raise form_trigger_failure;
    End ;
    -- Write the lines --
    For Cur In C_CUR Loop
         LC$Line := Cur.CODE || ' -> ' || Cur.COL1 || ',' || Cur.COL2 || ',' || Cur.Col3 ;
         CLIENT_TEXT_IO.PUT_LINE( LF$File, LC$Line ) ;      
         LN$Lines := C_CUR%ROWCOUNT ;
    End loop ;
    -- Close the file --
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;
    Exception
         When others Then
    message('err='||sqlerrm);message(' ');
    display_error;
    CLIENT_TEXT_IO.FCLOSE( LF$File ) ;      
         Raise ;
    END;
    Thanks.
    Arun

    Hi ,
    i have one Question though its not related to thos question if some could help me it will be really helpful,
    i have created one program to import and export excel to forms vice versa, if the form is attached with webutil its working fine am using ole2.but i have a new idea if i add this program in menu, it can be used for all the forms attched to that menu, i made program also, but problem am facing right now is if the form is not attched with webutil it will not work so is there possiblity to share my webutil from one form to another form ,so i will keep one form as a interface form in that webutil will be attched ,i can share that webutil to all other forms so that all the forms no need to attach webutil again
    if its possible means please suggest some ideas

  • 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.

  • How to create business charts in Forms 10g?

    In the old days, before and in 8i, we can still create business charts using Graphics Builder with the following graph types. How can we build business charts in forms 10g?
    Column: Shows discrete values using vertical columns
    Bar: Shows discrete values using horizontal bars
    Gantt: Shows task or project scheduling information using horizontal bars
    High-Low: Shows multiple Y-axis values for each X-axis point
    Line: Shows data values as points connected by lines to show trends
    Mixed: Combines a column and line chart
    Pie: Shows how individual data values contribute to an overall total
    Scatter: Plots 2 sets of potentially related data to identify possible trends
    Table: Shows text data in a table
    Double-Y: Shows a column or line chart with multiple values for the same X-axis value

    On the samples page on OTN there is a piece on how to use BI beans to achieve business charts. Search for "BI bean Graphs in Forms".

  • How to Create Graph In forms 10g

    Dear All
    How to create a graph in Forms10G ?
    Can you please give a small full example step by step ?

    This is a fairly common question in the Forum. Searching the forum would have given you your answer. Graphing data in a form is now handled through a Java Bean. You will need to download and install the Forms 10g Demo's to get an example (which includes the JavaBean) and the instructions on how to use the bean.
    Craig...

  • Steps to setup descriptive flexfield or/and key flexfield.

    Where can i find white paper or document other than the user guide in metalink or any other source which talks about steps to setup a descriptive flexfield or/and key flexfield.

    Hi,
    You might wanna check out following documentation.
    http://download-east.oracle.com/docs/cd/A60725_05/html/comnls/us/fnd/flexnav.htm#contentsFX

Maybe you are looking for

  • How to treat multiple instances of the same image

    In my W/F I use Lightroom as my catalog and main edit tool but also create (using capture NX) tiff images to be edited in PS and also create jpegs in different formats for web browsing or slideshows. To my knowledge, while LR provide a powerful versi

  • LRM-00109:could not open parameter file '/u01/app/oracle/product/10.2.0/db

    hi i have manually created a database called ora.i have done all the relative tasks.i can open the database by startup nomount pfile.but when i try to create spfile from pfile, it is showing an error that it is already created.when i give the startup

  • Reodering columns in jtable

    I want to reorder the column sequence in my jtable. But the number of columns I need to reorder are around 10. So i am trying to use the following myTable.moveColumn(curIndex, newIndex); Say I have columns like id, name ,age , ...etc. I want to set a

  • Replace a subvi used in many vis

    We have a few hundred llbs with massive number of VIs that we're trying to convert to directories. A lot of the software was developed is from Windows 3.1 ages, most of it reusable and used everywhere. The problem is we frequently used "/" character

  • Store a lot of text with a song

    Apart from the comment box of Get Info,which is quite limited, is there a place where I can store a larger amount of text for a song. TIA Gert iTunes   Windows XP