Open form in query mode

I want to be able to open a form in query mode - is there any way to set this?
I am using Designer and Headstart.
Thanks

Hi Cathy,
You can do this. See the help topic: About the startup query mode of generated forms.
Rgds
Susan
Oracle Designer Product Management

Similar Messages

  • How do I get and pass Master-Detail rowid to another form in query mode?

    I am trying to get the rowid of my master record passed to
    another form in query mode. This is necessary because, I need to
    have a way to show other detail tables for my master record. I
    have been successful in calling the other forms, but only if I
    hard code the rowid(or Primary Key).
    Ultimately a "Tabbed" HTML table for each supporting detail
    table that I have would be perfect. Any help would be greatly
    appreciated. Thanks.

    correct me if I am wrong, is this a 9iAS (Application Server)
    related question? This forum is for 9iAS only.
    Regards,
    --Tao

  • Developering ADF form in query mode (Oracle forms simulation)

    Hi,
    we have a requirement for developing the existing Oracle form using Oracle ADF. The existing Oracle form displays the form in query mode by default. We can enter the search criteria in any of the text fields and then execute query to get the results. If the user does not enter any search criteria, then the form loads specific record based on default criteria into the form. Could you please help developing similar form using ADF.
    At present I created the view object with one bind variable and dragged the view as ADF form to the jspx page. Then I am launching the form in query mode (executing the find method on the view object using operation binding at the time of loading the page). After entering the query criteria in the form, If I click on a button I am executing a method in the managed bean. In the managed bean I am executing the "Execute" operation on the view and it is working fine.
    But my problem is if the user does not enter the search criteria I have to pass default parameters to the view object and return the default record in the form.
    Can you please help in resolving the issue.
    Thanks and Regards,
    S R Prasad

    Hi Frank,
    Thank you for providing information. I created the query panel with the table by dragging all the named criteria. But this is not the look we are expecting for this form. As we have to deveop ADF form with the same behavior as oracle forms, the user must be in a position to edit the data in the same field as that of query field.
    As an example, we have to design a form for Dept table. We have to display all the columns of the dept view in the form at the time of launching the form in query mode. Once the user enters any search criteria in the form, we have to perform search and display the record(s) matching the query criteria in the same columns displayed in the form. User should not see any changes in the form layout.
    If the user does not enter any data in the form, then we have to display the record(s) in the form with the specific department id(This department id can be calculated based on the data in another table).
    Can you please help us in resolving the issue.
    Thanks and Regards,
    S R Prasad

  • Put a form in QUERY mode

    Hi,
    how to put a form in QUERY mode ?
    Many thanks.

    It is F11, type your query, then Ctrl + F11
    Or, click on View > Query By Example > Enter, enter your query, then click on View > Query By Example > Run
    Get all shortcuts from Help > Keyboard Help

  • Opening multiple-record form in query mode

    Hi,
    I have two problems:
    1. I have a portlet form based on a table that I would like to open in query mode. I've tried this code:
    - in the "..before displaying the form" block :
    WWV_MASTER_GENSYS_4 (
    p_block_name => p_block_name ,
    p_object_name => p_object_name,
    p_instance => p_instance ,
    p_event_type => p_event_type ,
    p_user_args => p_user_args ,
    p_session => p_session );
    It brings back the first record successfully. But when I press the 'next' button, I get this error 'An unexpected error occurred:ORA-06502:PL/SQL:numeric or value error:NULL index table key value (WWV-16016)
    2. I would like to display this form as a multiple records form. But it will only display one record at a time. Has anyone been able to do this?
    I would appreciate any assistance in advance.
    Thu

    Maybe this will help you:
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a85397/operator.htm#1029184

  • Opening Form in Insert mode but making a query at the same time

    My problem is that I want to open a Portal Form in Insert mode but at the same time making a query.
    If I call a form with patameters the form opens automatically in update mode (to be more precise with FORMSTATE = UPDATE_AND INSERT). In that case the insert button is not shown.
    I have come very close to a solution by running this code:
    BEGIN
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => '_FORM_STATE',
    p_value => 'QUERY_AND_INSERT');
    END;
    under "... before processing the form". The form-state changes to QUERY_AND_INSERT' and I get the record from the table that I want but I still see no insert button!
    I think that I can solve this problem in some table-triggers in the database but it would be interesting to know weather it is possible to do this in the portal.

    Kari,
    You can workaround the disappearing Insert button by creating a custom button instead.
    If you look at the "standard" Insert button code it looks like this:
    --- Type your PL/SQL code here...
    doInsert;--- This is the default handler
    --- ...and here, thanks...
    in the generated forms package doInsert just calls internal insert handler:
    procedure doINSERT
    is
    begin
    onINSERT(
    p_block_name => p_block_name ,
    p_object_name => p_object_name,
    p_instance => p_instance ,
    p_event_type => p_event_type ,
    p_user_args => p_user_args ,
    p_session => p_session);
    end doINSERT;
    If you add a custom button to your form and from PLSQL event combobox select "Custom", then copy&paste this code to the event code:
    onINSERT(
    p_block_name => p_block_name ,
    p_object_name => p_object_name,
    p_instance => p_instance ,
    p_event_type => p_event_type ,
    p_user_args => p_user_args ,
    p_session => p_session);
    You will get a custom button which does exactly what the Insert button does and it will not disappear from the screen.
    Thanks,
    Dmitry

  • Radio button getting unchecked when form in query mode

    There are 4 radio buttons on my form.Initially when the form is opened one radio button is checked.But when the form is in query mode that radio button got unchecked.Is there any way that the initial checked radio button remains checked even the form is in query mode ?
    Message was edited by:
    user496853

    Hi,
    Solutions given by Kevin and Zaibiman is not applicable for my form as the radio button will be in data base block only.This is the requirement of the form.
    The other solution given by Zaibiman was to set the radio button item when entered in query mode , i have tried that but that is also not working.
    Pranati,the solution given by you i have also tried that ,but that has not solved the issue,Radio button get unchecked when eneterd in query mode.
    Please elaborate and suggest.
    Thanks,
    Kirti

  • How to put the form in Query mode

    Hello
    Please let me know how to put the form or block in Query mode , so that when i run the form it should be in Query mode . I have seen properties of SET_FORM_PROPERTY and SET_BLOCK_PROPERTY but cannot find one
    Thanks

    QUERY mode? Did you mean, that you can only QUERY without changing data.
    This is the QUERY-ONLY-mode, which can be started e.g. call_form
    this is the help for that topic:
    PROCEDURE CALL_FORM
    (formmodule_name VARCHAR2,
    display NUMBER,
    switch_menu NUMBER,
    query_mode NUMBER,
    data_mode NUMBER,
    paramlist_name VARCHAR2);
    query_mode     
    NO_QUERY_ONLY (The default.) Form Builder will run the indicated form in normal mode, allowing the end user to perform inserts, updates, and deletes from within the called form.
    QUERY_ONLY Form Builder will run the indicated form in query-only mode, allowing the end user to query, but not to insert, update, or delete records.

  • Set Form To Query Mode When Particular Window Activated

    I have a form with multiple windows. I have one window that when activated I want the form to be in query mode. This window functions as a more user-friendly search method. So when the user enters the window it will be in query mode, they will be able to enter data into a field, and then click a button I've created to execute the query and return results. I know I can use the when_window_activated built in, but I am not sure of the proper trigger code to accomplish what I've described below. I am also not sure of what level to place such a trigger. Any help is greatly appreciated. Thanks, Jason.

    You are correct, the when-window-activated trigger will only work at the form level.
    Your suggestion would work if the window in question was the initial window activated at form start up. However it is not the startup window. I am calling this window via a button from the startup window. When the button is activated I close my startup window (which is basically a menu window that takes the user to other windows based on the button they selected) and activate the window associated with the selected button.
    So including the form level when-window-activated trigger as suggested causes both my selected startup window (set in the form properties) and the window I wish to be in query mode to launch...and I receive a FRM-41009: Function key not allowed error.
    Regards,
    Jason

  • Calling a form in query mode

    Hi,
    I have a form "Ledger" in which i have a detail block with the following fields
    1. Voucher no.
    2. Date
    3. Account Code
    4. Posted
    and also i have a form master detail for vouchers entry...and it has three buttons for ENTER QUERY, EXECUTE QUERY AND EXIT QUERY and also ADD, EDIT & DELETE button as well where user query, add, edit and delete vouchers from there. Plus it has a voucher no. field.
    I want user to double click on any of the records in ledger form's DETAIL BLOCK and on double click i want to call "Voucher Entry" form in enter query mode and the voucher no value from ledger form should be copied from there and automatically fill in "Voucher entry" (newly called) form and execute query from there..
    How to do that...plz tell me
    Thanks

    Hi, sorry for my English!
    So, at block level (detail block) add trigger WHEN-MOUSE-DOUBLECLICK.
    Add the call_form built-in (view form builder help for syntax).
    In the "When-new-for-instance" on called form call the built-in "enter_query".
    For the item "Voucher entry" there are two way:
    the first one is to create a global variable(on the primary form) and then use it in the second form before the enter_query;
    the socnd one is to call form whit parameter list (see the help for the built-in call_form).
    Attilio

  • Calling form in query mode

    Hello friends,
    I want to call a form B from Form A in query mode.
    And my all atributes r like
    new_record_instance of block
    IF :a.order_no IS NOT NULL AND :SYSTEM.RECORD_STATUS = 'QUERY' THEN
         SELECT COUNT(1)
         INTO n_cnt
         FROM a
         WHERE order_no = :a.order_no
         AND twp_po_no IS NOT NULL;
         --message(:SYSTEM.RECORD_STATUS ||' '||n_cnt);
         IF n_cnt > 0 THEN
    SET_ITEM_PROPERTY ('a.order_no', UPDATE_ALLOWED, PROPERTY_TRUE);
    SET_ITEM_PROPERTY ('a.order_date', UPDATE_ALLOWED, PROPERTY_TRUE);
    SET_ITEM_PROPERTY ('a.delivery_date', UPDATE_ALLOWED, PROPERTY_TRUE);
    end if
    And the calling the form in order_no(validate_item) with no_qery.
    Plz help me..
    thanx

    Did you try
    CALL_FORM(theformname,
    hide,
    no_replace,
    query_only,
    pl_id);
    Or any other combination with querY_only option ..

  • Running an Update form in Query mode from the MENU

    Could any one explain how to run the same Form from the same Menu with two different options, One in QUERY ONLY MODE and one in Update mode. We are using Designer 6i and Headstart 6.5.
    Thanks
    David Short

    Is webutil supported in 9iAS? I think it is supported only in 10gAS.
    Thanks,
    Sujoy

  • Opening forms in maximize mode help

    Hi all
    I put the property of forms to run in maximize mode in forms but its starting in normal mode.I am looking some some attributes to set in forms serverside configuration file for all the forms in the application.Can anybody help to solve this issue.I am using as10g (9.0.4.2) and ids also same version in win2k.
    with regards
    ramya

    Hello sir,
    Restore mode means window's three buttons are there
    Maximize
    Minimize and
    Restore - middle one
    i have same problem i want to dispaly forms in middle of window but when i press restore button it will get disturb. means form will not dispalyed in middle of window
    i write code on when-window-activated
    WHEN-WINDOW-ACTIVATED (ALIGN FORM TO CENTER)
    ============================================
    declare
    mdi_ht number;
    mdi_wd number;
    frm_ht number;
    frm_wd number;
    xpos number;
    ypos number;
    begin
    mdi_ht := get_window_property(forms_mdi_window, height);
    mdi_wd := get_window_property(forms_mdi_window, width);
    frm_ht := get_window_property('PAGE_1', height);
    frm_wd := get_window_property('PAGE_1', width);
    xpos := (mdi_wd-frm_wd)/2;
    ypos := (mdi_ht-frm_ht)/2;
    set_window_property('PAGE_1', position, xpos, ypos);
    end;

  • How do you get a form in Query Mode

    I've developed a form using the online tools, and published the form as a portlet. I can insert a record into the database but am unable to retrieve the data to view or update. Any help would be appreciated.
    -Thanks
    Andy

    This is strange. If u are able to do dml operation in database, the same thing is possible by creating a Form on that table.
    Can u explain little more what u are trying to do and what type of error u are getting?

  • Form in query mode - condition syntax

    Hello all,
    I cann't find full list of syntax (doc) for entering query condition into one field. I found only:
    555blabla%
    %blabla%
    #BETWEEN 30000 and 40000
    <=5
    Can somenody show me way to doc?
    Thanks
    Libor

    Maybe this will help you:
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a85397/operator.htm#1029184

Maybe you are looking for

  • Change the infoobjects from Key fields to Data fields in ODS.

    Hi , I want to change the few infoobjects from Keyfields to Datafields in ODS. When i drag the infoobjects in ODS edit screen , then i am getting  small pop up..states that "cannot move/delete the Lock objects". Plz reply me Prasanna

  • How do I stop the tools/sign/comment bar appearing in Adobe reader?

    Hi, everytime I open Adobe Reader XI (Windows 7) the tools/sign/comment bar appears.  It takes sometime to load as it presumably connects to the internet. I do not wish to use any of these functions (some of which are only available with a subscripti

  • Trouble compiling Servlets... simple problem?

    PATH: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\ULTRAE~1;C:\j2sdk1.4.0\bin;C:\j2sdkee1.3.1\bin CLASSPATH: C:\j2sdkee1.3.1\lib\j2ee.jar;C:\j2sdkee1.3.1\lib\j2eetool.jar Yet for some reason I can't compile anything using

  • SQL Select Records in a range but Not in another range

    Dear All I would like to know the best method to do the following task. There are records of meeting room usage room                        start_time Room A                2014-08-30 16:55:00.000 Room C                      2014-08-30 13:20:00.000 R

  • BEX User exit variables in WEBI

    Hi Experts, Need your help please. I have a report in BEX with a user exit variable wich depends on other manual input variable. In BEX it works properly but in WEBI it doesn't recognize the user exit variable. It displays the error message: Not poss