Buttons and text items on oracle forms 6i

can i create dynamic buttons and text fields on oracle forms 6i.
i mean when i insert record in database then automatically creat a button on form.
Regards
Munawer hussain

Hi,
One physical button is enough for a series of "functional buttons" per amount of simultanious visisble buttons. You can change the button prompt at run-time depending on a certain condition. That same condition can also be used when executing the when-button-pressed (wbp) trigger.
Example:
suppose you have 2 functions that you want to create buttons for: enter query and execute query. Only 1 button is visible at one time. In design time you create 1 button. In run-time, depending on :system.mode you set the button prompt to "enter query"or "execute query" and in the wbp trigger you write
begin
if :system.mode = 'QUERY'
then
execute_query;
else
enter_query;
end if;
end;
Kind regards
.

Similar Messages

  • I can't see the button and text item, After compile...

    I bring a form source at the another ERP application.
    and compile it at the our ERP application.
    There is no problem at compiling file...
    comfile succesfully complete...
    but There is no text item and button when i execute program...
    What is the problem --; Help me ~~

    at oracle E-Business Suite
    We add-on a form program
    and i execute the program to use program.
    but there is no button and text item at form. ^^

  • How to disable copy option for a text item in oracle forms

    Hello experts,
                  I am using oracle forms 11g with weblogic server 10.3.5 at windows7.I have a text item in my oracle form and I have to disable to being copy from a text item in oracle forms.Actually I have to make two text item.First text item to type a password and another text item is also to type password.Here I want that the data from first text item should not be copy through the use of mouse or keyboard shortcut key.
    thank you
    regards
    aaditya

    Thank You To reply, Actually doing so as you said,My problem would not be solved.This would hide data in text item than I will not be able to copy that but in my case the data should not be concealed.Actually I have to make a Form to  User registration and here is a strictly boundation to have a right email address of user.There would two text items for this purpose as: N_User_Email------> to type email address in text item.Here user would not be able to copy text written from N_User_Email R_User_Email  ------> to type email address again as in N_User_Email.

  • How to make list item as text item  in oracle forms 6i

    Hello all,
    I created one form with one list item named "Country".. This list item shows country name for the particular employee in the employee table.I created this list item as database field. In the enter query mode i search an employee , This should act as item text.. Suppose i want to add an employee in enter query mode then i fill all the necessary fields,and
    when i click "country" list item it should display all the country names from "country_tab" table..So based on the situation
    this should act as list item and item text.. Can i Do this ?.. Pls help me.

    hai Andreas Weiden,
    I simply explain my requirement:
    I want to insert data and quering data by using single form...So, I created one form with data block. This form created from employee table.I have one text item in this form named country.This is database item.
    Ok ,Now the actual problem comes.I press "Enter query" in tools menu,Then enter one employee number in employee_no field.after i press
    Execute query In tools menu. It shows all the details corresponding to that employee..
    Note: here "country" text item also shows employees country.
    Right, Now i have another requirement. In the same form I want to insert a new employee. For that
    I planed to changes country text to list item [ because when  insert i can easily pick up one country .it
    reduces typing work ] . I have another table "COUNTRY". Using this table, i should populate country list item..
    So, the country item should act as both text item [When quering] as well as list item [ When inserting ]
    Is there any idea ti do this ?
    If this not possible then what is the alternative ?
    Pls suggest me..

  • Creating a Hidden popup text item in oracle forms to accept values

    Hi All,
    Iam facing with one issue iam trying to set window's position property and in the design i have four arrow keys for up down right and left now my requirement is that when ever i click a up button a pop up text should open up and ask to enter x coordiante value after entering the value it should shift that value to right or left whereever it is given and when i close my form and reopen again it should open at the last changed position that is it should remeber the last x y position and open at same position. Any suggestions would be highly Appreciated.

    I'm not sure which objects you want to move with your arrorw and popup? A textitem in the form?

  • Printing formatted text from an Oracle form

    I'm trying to print formatted text from an Oracle form without using the standard menu print. The print button on the menu prints out the text and the actual form. I just want to print the text that is displayed on the form. I would like to add a print button to the form. Is there a print function or event in PL/SQL?
    Thanks in advance for any help!!
    Jason

    If you are interested in the content of the field you can loop over them (next_item built in) and write their content into a file using the TEXT_IO built in.
    for nicer outputs check out Oracle Reports on OTN.

  • Chart and text items are not synchron

    hi all,
    i am a newbie in apex 4.0.
    i have two regions. the first shows a chart, based on pl/sql-code. second shows text items for possible filter an the current statement of the chart.
    when user clicks on a bar in the chart then
    1. i set the the first text item as filter,
    2. a pl/sql-code runs, build a sql statement, assign the sql statement string to the second text item and
    3. returns the statement for the chart.
    it works fine. the chart refresh. and the data i can see are correct.
    but the text items in the other region doesn't refresh.
    when i press "refresh"-button at browser level everything is fine. chart and text items fits together.
    what can I do to refresh all regions when the chart changes the sql-statment / User clicks?
    Is there any way to read out the current statement of a chart?
    thx in advance
    jogi
    Edited by: Jogi on 09.05.2011 12:31

    Bernd: the reason I asked about views is that you don't have any error messages. This might indicate that (a) you have no items in the view, or (b) there's something wrong with view-role-user assignment.
    To check for (a), please go to the published procurement catalog, and go to Views tab. Check that your View is Active. Click on your View ID link to display view details. You should see a list of characteristics assigned to your view in Assign Characteristics sub-tab (the list should not be blank!). Go to Assign Items sub-tab. Navigate in your schema to find items that are supposed to be assigned to your view. You should see "Yes" in the "Assigned" column for those products. If you don't, then you simply don't have any items in your view.
    Another thing I'd like you to check: when the user calls your procurement catalog for search, do you see the name of the catalog displayed just below the drop-down "Select Categories Hierarchically"?
    Cheers,
    Serguei

  • Problem with List Item in oracle forms

    Hello Experts,        
                         I am new in oracle forms and i am using oracle forms 11g with weblogic 10.3.5 at windows 7.
    I have 3 database tables say(tbl_city,tbl_state,tbl_address).
    tbl_city
    C_ID
    C_name
    S_ID
    0
    None
    0
    1
    XYZ
    1
    2
    AS
    2
    3
    AXD
    2
      tbl_state
    ID
    s_ID
    S_Name
    0
    None
    1
    XY
    2
    ASD
    tbl_address
    A_ID
    A_Street
    S_ID
    C_ID
    1
    ABC
    1
    1
    Now I have made an oracle form having data block tbl_address with base table name tbl_address. In the form there are two list: one(list_state) for State_Name & State_ID and another(list_city) for City Name & C_ID display.
    Here I want when I set State_name to ASD then List item list_city should be populated with the values having State_NAME=ASD not of State_Name=XY or None.I have tried it to make but not succeeded.I have made a procedure to populate list_city list item as:
    -- here item_nm-->List item Name,  sel_val & sel_val2 for selecting C_ID and C_NAME,   tablNm---->tbl_CITY,  whr for where condition,   mtch--->selected value of list_State(list item in form)
    PROCEDURE list_item(block_nm varchar2,item_nm varchar2,sel_val varchar2,sel_val2 varchar2,tablNm varchar2,whr varchar2,mtch varchar2) IS
    group_id RecordGroup;
    group_name varchar2(10) :='abc';
    status NUMBER;
    query1 varchar2(350);
    item_name varchar2(20);
    match varchar2(50);
    BEGIN
        match:=mtch;
        item_name:=block_nm||'.'||item_nm;
      group_id := find_group(group_name);
    if not id_null(group_id) then
    delete_group(group_id);
    end if;
    --if whr='' then
    --    match:='0';
    --    end if;
    query1:='select '|| sel_val || ',TO_CHAR('|| sel_val2 || ') from '|| tablNm ||' where '||whr||' = '||mtch;
    message(query1);
    group_id := Create_Group_From_Query(group_name,query1);
    /* Select statement must have two column*/
    status := Populate_Group(group_id);
    Populate_List(item_name,group_id);
    exception
        when others then
        message('error');
    END;
    I am not  able to guess what trigger  in oracle forms should be used to populate list item(list_city). Please help by giving useful suggestion.
    Thank You
    regards
    aaditya

    979801 wrote:
    If I use LOV in place of List Item,Then I have to populate a LOV at run time.How could I maintain a record group n attach to LOV at run time?
    On my previous post I have mentioned record group as follows:
    select * from tbl_state where s_id=:tbl_address.s_id;
    If :tbl_adress.s_id chaned during the time of run, then output values of list_city (LOV) is also changed.

  • Displaying buttons and other items in french instead of english

    Hi,
    I am new to APEX., which I find incredibly easy to use. Anyway, I am french (nobody is perfect!) and I would like the texts inside the buttons (like 'Create', 'Reset') and in the other part of the aplication ('Edit') to appear in french. BUT with APEX development sutdio remaining in english. I have read the documentation but I did not understood if there is a procedure to generate the buttons and other items in french instead of english.
    Could you help me ?
    Thank you very much !
    Christian

    Hello,
    >> Where can I find it ?
    I’m afraid you are looking at the wrong place. You are going to the shared components whilst you should go to the page where the button id defined. In the “Page Rendering” column there’s a section called “Buttons”. Choose the button you want to edit, and there you’ll find it - http://i31.tinypic.com/25sv6t3.png . As you can see from the gif, the button name and the button label don’t have to be the same.
    Regards,
    Arie.

  • How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods

    Hi All,
    How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods.
    This is a enhancement requirement.
    When ever user enter value in field 1 then automatically cursor should go to next field.

    Hello Bobb,
    You can create a trigger(when-list-changed) for each list item where you could:
    1.recreate the record groups and then use POPULATE_LIST so you can hide the selected values. In forms builder online help there are some good examples about create record groups dynamically.
    or
    2.you can perform a validation instead of hiding the selected values. If the values is already selected the display a message 'Value already selected....'
    Second option is much faster(only an 'if clause')
    Hope this helps.
    Regards,
    Alex

  • How to populate sequence in a text item in a form

    I have a text item in a form.I want that the doc_id i.e the text item should be automatically populated with the help of sequence.I have created sequence named seq_doc_id.on which trigger i should write the code so that everytime the doc_id gets incremented by one. What should be the code.Can anyone gv me some hint.Do i have to use the loop for this?Please help

    Hi,
    I implemented a when-new-block-instance that does just that,
    however due to navigation problems the trigger fires when it should not
    the result is I got holes in the sequence.
    Is there a system variable status to check with an If test
    to make sure the sequence is called only at inserting time?

  • I have just intalled PSElements 12 on a new PC with windows 8.1. It installed ok but when I open it up it displays different than on my windows 7 PC. The buttons and text are tiny and almosy impossible to see even when I drag it to full screen. How do I a

    I have just intalled PSElements 12 on a new PC with windows 8.1. It installed ok but when I open it up it displays different than on my windows 7 PC. The buttons and text are tiny and almosy impossible to see even when I drag it to full screen. How do I adjust it to look normal?

    Hi Paul ,
    It could be a compatibility issue as well as Acrobat 8 is an older version.
    Do you get any error message while registering for the product?
    Try repairing it and once and also check for updates as well.
    Is it happening with all the word files or any specific one'?
    Regards
    Sukrit Dhingra
    Acrobat 8 and Windows 7 Don't Work

  • Value Items and Text Items

    Hi Team ,
    Can someone frm the team give me an idea of these Value Items and Text Item usage .
    Also the relavence of the Item Category Field which is "Checked " in case of Value Items and Text Items.
    Thanks .
    Regards,
    Suman

    Hi Suman,
    the text items are relevant for delivery but not relevant for pricing.
    The value items are relevant for delivery as well as pricing.
    Regds,
    Rupali

  • How to validate a text item/display item in Oracle forms 9i?

    Hello Everyone,
    I have a form in which we have to type in a product_id as shown below in the screenshot. And when we type in, it has to get validated.
    If it is valid then ok, else display a message saying not valid.
    How do we achieve it on a text box/diaply item in the form shown below.
    Any kind of help would be really appreciated.
    Thanks in advance,
    Vishal

    Just create a when-validate-item trigger for that text item and write the code inside to validate it.
    Hope it helps.
    Navnit

  • Displaying Records data as text grid in oracle forms

    Hi
    I am new to oracle forms. I want to display data from different tables as a text.
    And I need to give hyper link for that data.
    I am using oracle forms 10g., forms builder.
    can anyone tell me the process.. I need it very very soon..
    Thnx in advance
    ~noc

    Ok, you can populate records in 2 ways
    1. Using cursor (if your block is a non-database block)
    2. Using EXECUTE-QUERY (If your block is a database block)
    If you have created a database view as suggested above, then you can simply add a WHERE clause in the property palette of the block,
    then in the button's when-button-trigger write EXECUTE_QUERY.
    But if you have created a non-database block, (didnt create database view)
    in that case you can simply write a cursor in the when-button-pressed trigger as:-
    Declare
    cursor my_cur is
    select col_list....
    from table_list....
    where......;
    Begin
    GO_BLOCK('Name of block');
    CLEAR_BLOCK(NO_VALIDATE);
    First_Record;
    For cur in my_cur Loop
    :BLOCK_NAME.ITEM_NAME := cur.col1;
    Next_Record;
    End Loop;
    First_Record;
    End;
    One more point, as suggested above, you can create the button in a non-database control block,
    or,
    in the same block with the button's Number of Records Displayed set to 1
    in either case, I usually keep the button's Mouse Navigable & Keyboard navigable properties to No,

Maybe you are looking for

  • Debugging the webdynpro abap application from portal.

    I  developed a  WebDynpro  application and integrated in portal. I have to catch some portal events.For that i have written some code in my application. I tried to debug the application from portal  by using all the available break-point types.but we

  • Annoying IE script alert

    Every time I type up a form to place a book on hold at my library, and I get to the part where I enter "submit" a script alert comes up that says that I "must enter an activation date greater or equal to today's date". I do have the current date down

  • Where is pixel bender directory used by Photoshop CS5.1 (from Creative Suite 5.5 Web Premium)?

    CS5.1 does not appear to use the Pixel Bender Files directory in the Adobe Directory.  If I add a new pixel bender filter (.pbx) to the other filters in that directory, it does not show up in the Pixel Bender Filters Gallery from within Photoshop.  A

  • Applet get hangs out at the time of loading...

    Hello, I am using JAVA version 6.0. When i try to download applet it hangs out some time. I am sure that it hangs out before downloading of applet code but after loading the applet control panel. What could be a reason for that? Any help would be app

  • Premiere Pro CS5 Scripting Support?

    Does Premiere Pro CS5 support scripting through extendscript or any other scripting language?  I see it as a target application in the extendscript toolkit, but i don't see a place within Premiere Pro to run scripts. Thanks, Devin