Open a form in enter_query mode

Qs no:1:- I want to open a form in enter_query mode.
Qs no:2 :- after they query 4 fields(blk1) ...depending on that the rest of the informative part of that form(blk2) gets populated.
Now user hit OK (push button).
Now all the fields should be blanked including those 4 fields and the informative part and the form should stay at enter_query mode.
FYI:- There is no master-detail relation between two blocks.blk2 gets populated when user puts data in the 4th field and press tab ...
I have written the code to populate the informative part in when-validate-trigger of the 4th text field.
How can I do that?
please suggest..
Edited by: 977083 on May 13, 2013 4:59 AM

Hello,
Switch to enter query mode at the end of the When-New-Form-Instance trigger:
Go_Block('the_block_to_query');
do_key('enter_query');Francois

Similar Messages

  • 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

  • How to open a MD form in insert mode when calling from URL ?

    I have a MD form and I want to open it in 'insert' mode when I click on the URL.
    How can I do that ?
    thanks,
    Mainak

    I think somebody has asked the same questions earlier but I cannot find the link to that message. Please can anyone help me ?
    How to open a form in Insert mode from url link ?
    Mainak

  • Open the form layout in input mode if no record exists in the VO?

    Hi,
    I am using
    JDeveloper version: Studio Edition Version 10.1.3.1.0.3984
    JHeadstart version: 10.1.3.1 Release 10.1.3.1.26
    I have a group with Form Layout where Single-Row Insert allowed is true.
    What I want to do is:
    When I open this form in the browser, it will open with the existing record in the ViewObject associated with this form, if there is any record exists.
    But if there is no record exists in the ViewObject, then it will open the form in input mode (user will not need to click the 'New' button to create a record).
    I tried setting the property 'Auto Query?' to false. But in that case it opens the form in input mode all the time, it does not open with the existing record.
    Any help would be appreciated.
    Thanks
    Syed Jabbar
    University of Windsor
    Windsor, ON, Canada

    Hi,
    This is not natively supported in the 10.1.3 releases of JHeadstart. Can you please ask this question at the JDeveloper forum at JDeveloper and ADF ?
    You can use the JHeadstart templating to save your customizations of course, see the JHeadstart Dev Guide chapter on customization.
    Thanks!
    Regards,
    Evert-Jan de Bruin
    JHeadstart Team

  • Report to Form (in Update mode), update, "Close" back to report (just like QBE).

    Alright, I have been through the entire board and found bit and pieces here and there on how to do this, but I am not satisfied with the results. Answers to these questions will dictate whether we use this product or not.
    1) The QBE solution is great for the above EXCEPT I am unable (it seems) to make updates to the form portion of the Report/Form combination. I need to be able to lock off certain fields and disallow certain functions. Other's have asked whether this can be done. No answers issued forth.
    Is there some way short of hacking into the PL/SQL code of updating the form on a wizard created QBE?
    2) I was able to create my own report, link (via link object) to a custom form (update the form as I needed). Now I would like my users not to have to hit the query button (which is absurd in this case because they already have the proper record displayed). So I need to open the form in "update" mode. I have seen some different approaches to this on the board, and all kinds of code, but is there a simple way to do this (preferably from the tool, not hacking code)?
    I see the code in the various posting (including the FAQ), the question is where I put in in the context of my link from report to form (if it is in the native pl/sql, this is not an answer because we will not go that route; having code blown away by the tool and have to be reentered. It goes in in the context of the tool or we don't use the tool).
    Also, is there a way to utilize the "close" button from the QBE that so nicely takes you back to the report and does a refresh?
    This is the simplest app I could dream up to test this product and it looks like it falls short.
    In summation:
    1) Generate a report. (yes)
    2) Link to form (yes)
    2a) Link direct to record (no query click) (no, without hacking)
    3) update the form (yes, if after query click)
    4) Jump back to report at spot where you left, do automatic refresh (just like QBE) (No, without hacking)
    Again, this is the simplest and most common of apps, I cannot understand why it would be so hard to accomplish. What am I missing? Anybody on the board, please advise.
    null

    If your report is created using ‘Reports From SQL Query’ then you can modify it using the following to achieve this:
    1. Remove the link from ‘Column Formatting’ section of the report object.
    2. In the SQL of the report , use custom link to the column where you want to provide link using the syntax
    select a.empno,’‘||a.ename||’‘ ename_link,a.deptno
    from scott.emp a
    Order by a.empno
    and the form will always open in ‘INSERT’ mode with passed values filled in.
    Thanks
    Krishnamurthy

  • Link Parameters from Report to Form in Insert Mode

    It seems like it should be possible to use the Report wizard to add a link to a form, select some link parameters using the Edit Link function, and then when one clicks on the link it would open the form in insert mode with the link parameters filled in as defaults. Instead what happens is it tries to open the form in update mode with a row that matches the link parameters, and if it can't find a match it opens in insert mode with no parameters filled in. I want it to always open in insert mode and with the passed parameters filled in.
    I've looked through all the documentation I have access to and have been through all the Portal FAQ's on OTN and can find nothing on this. There were a few questions in the FAQ's that told how to do it in PL/SQL, but I don't know how to get access to which instance of the link was selected by the user through PL/SQL, and it seems like there should be a way to do this from within the report wizard.
    Any help you can give me would be greatly appreciated.
    Best Regards,
    Jim Bladen

    If your report is created using ‘Reports From SQL Query’ then you can modify it using the following to achieve this:
    1. Remove the link from ‘Column Formatting’ section of the report object.
    2. In the SQL of the report , use custom link to the column where you want to provide link using the syntax
    select a.empno,’‘||a.ename||’‘ ename_link,a.deptno
    from scott.emp a
    Order by a.empno
    and the form will always open in ‘INSERT’ mode with passed values filled in.
    Thanks
    Krishnamurthy

  • How do I open a form specific to particular user?

    Hi All,
    Please answer below questions:
    1) How do I open a form specific to particular user?i.e I want to open a form as enterable mode for one user and non-enterable mode for another user.
    2) How do I run a report specific to the particular user? i.e I want to run a report for one user here other user can not see the report.
    Thanks in Advance,
    Dhana

    1) How do I open a form specific to particular user?i.e I want to open a form as enterable mode for one user and non-enterable mode for another user.Create a new responsibility, and set QUERY_ONLY=YES -- See old threads for similar discussion.
    QUERY_ONLY
    http://forums.oracle.com/forums/search.jspa?threadID=&q=QUERY_ONLY&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    2) How do I run a report specific to the particular user? i.e I want to run a report for one user here other user can not see the report.Through "Concurrent: Report Access Level" profile option.
    Concurrent Report Access Level [ID 736547.1]
    R12 View Concurrent Requests FAQ [ID 1261985.1]
    Can't View Request's Output Submitted By Others [ID 949703.1]
    How to View the Output of a Request Launched by Someone Else [ID 413382.1]
    Thanks,
    Hussein

  • Open multiple forms, few in Enter-Query mode

    Hi All,
    I want to open multiple forms from a form using open_form built-in. If user clicks on different items of the parent form different child forms are invoked.
    But if one child form is opened in Enter-Query mode (I have 'enter_query;' in its when-new-form-instance) it does not allow to put focus back on parent form and invoke other forms until I execute_query in child form or close the child form.
    Waiting for your replies. Thanks in advance.
    Regards
    Mona

    Hi Friends,
    Has anybody ever faced this problem. Please reply.
    Regards

  • Open Purchase Order Form in Find Mode

    Hi,
    I have to open the Purchase Order Form in Find Mode.How to open in Find mode?.
    I Used the Following Code in Form_Load  && Action_Success=true
    if(oForm.Mode = SAPbouiCOM.BoFormMode.fm_ADD_MODE)
            oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE
    But it is not working.Please help me to solve this.
    Regards,
    M.Dhivya

    call
    ActivateMenuItem( "1281")
    in application object.

  • How to open an URL from Forms in blocking mode?

    Can anyone tell me if it is possible to open a website from within forms in blocking mode? The reason why I have to use blocking mode is that the user has to take some action in the website and has to end that session explicitly with a button on the website. After that, a file is written on the server that is needed for further action. Without that file the process can't go on.
    I use Forms (32-bits) versie 10.1.2.0.2.

    Thanks for your answer.
    Your suggestion is only possible with a timer-trigger (correct me if I'm wrong). And that's the point.... The time the user can act in the website is unlimited. So, how to set up a timer-trigger? Another work around is to make a process that works at some time and searches for the files on the server. But that's not what we want to do.
    Does anyone have another idea?

  • Open a form in full Screen mode

    Hi all,
    I want to open a form in IE with full screen mode . Is it possible ?
    Plz guide ....
    Thanks

    why do not u wanna use URL for that? ok open Formsweb.cfg in notepad and modify the URL section.
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    *# a URL like "http://myhost.mydomain.com/forms/frmservlet?config=qatar".*
    [qatar]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    baseHTMLjinitiator=webutiljini.htm
    lookAndFeel=oracle
    separateFrame=True
    form=login.fmx
    lookandfeel=oracle

  • 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

  • Open APPS form login in  enter-query mode

    Hello all
    i'm confused if this is an EBS or Forms post . So after having no answer in EBS i decided to post it again in forms.
    apps version 11.5
    i've created a shourtcut link that opens a specific apps form on specific responsability like
    http://<server_name>:8001/OA_HTML/RF.jsp?function_id=4893&resp_id=50239&resp_appl_id=551&security_group_id=0&lang_code=US
    the problem now that i want to send parameters for this form and execute query on this parameter
    so
    is there a way to open apps form and send parameters then execute-query directly from shourtcut or link created on the desktop ?
    appreciate your efforts.
    Respectfully
    Khaled Farouk

    Hello all
    after along of search i'm so neear of the answer but i need some assistant from experts.
    i've reached this link which open a form and query on the data i need .
    http://<server_name>:8001/OA_HTML/RF.jsp?function_id=1634&resp_id=50244&resp_appl_id=-1&security_group_id=0&lang_code=US&params=U-iFUMNeed-3nkNG7BzN1Qr5evq7vJslGk3i3pf0ggqqSfgqDmLrk-JON9n4DZe6jMkSYPz2nfRW6va3P0GqgNlHfEu8pw6EWDZNq-MSgU1WFM5Qux.dsjTAX5J3jwjn&oas=_vSHxhm0ru79y-0HO91I_Q..
    but i'm still have a problem. how to change the parameter part? because this link is generated from the oracle Apps
    i want to change this part
    &params=U-iFUMNeed-3nkNG7BzN1Qr5evq7vJslGk3i3pf0ggqqSfgqDmLrk-JON9n4DZe6jMkSYPz2nfRW6va3P0GqgNlHfEu8pw6EWDZNq-MSgU1WFM5Qux.dsjTAX5J3jwjn
    thank all
    wiiling to have answer
    Respectfully
    Khaled Farouk

  • Open APPS  form in enter-query mode

    Hello all
    apps version 11.5
    i've created a shourtcut link that opens a specific apps form on specific responsability like
    http://<server_name>:8001/OA_HTML/RF.jsp?function_id=4893&resp_id=50239&resp_appl_id=551&security_group_id=0&lang_code=US
    the problem now that i want to send parameters for this form and execute query on this parameter
    so
    is there a way to open apps form and send parameters then execute-query directly from shourtcut or link created on the desktop ?
    Respectfully
    Khaled Farouk

    Hello all
    after along of search i'm so neear of the answer but i need some assistant from experts.
    i've reached this link which open a form and query on the data i need .
    http://<server_name>:8001/OA_HTML/RF.jsp?function_id=1634&resp_id=50244&resp_appl_id=-1&security_group_id=0&lang_code=US&params=U-iFUMNeed-3nkNG7BzN1Qr5evq7vJslGk3i3pf0ggqqSfgqDmLrk-JON9n4DZe6jMkSYPz2nfRW6va3P0GqgNlHfEu8pw6EWDZNq-MSgU1WFM5Qux.dsjTAX5J3jwjn&oas=_vSHxhm0ru79y-0HO91I_Q..
    but i'm still have a problem. how to change the parameter part? because this link is generated from the oracle Apps
    i want to change this part
    &params=U-iFUMNeed-3nkNG7BzN1Qr5evq7vJslGk3i3pf0ggqqSfgqDmLrk-JON9n4DZe6jMkSYPz2nfRW6va3P0GqgNlHfEu8pw6EWDZNq-MSgU1WFM5Qux.dsjTAX5J3jwjn
    thank all
    wiiling to have answer
    Respectfully
    Khaled Farouk

  • Exit from a Form in enter_query

    hi there
    i have a form (form6) with a master-detail.
    the 2 blocks are table-based.
    when the form open, it must be in enter_query mode, so in when-new-form-instance i wrote an enter_query.
    how can i manage the exit form when it's in enter_query mode?
    now i should press the key-exit 2 times...
    thank you

    Hello
    after few attempts (the message "query cancelled" was still appearing), i solved putting this code in the key-exit trigger of the master block
    declare
         msglvl varchar2(3);
    begin
         msglvl := :system.message_level;
         :system.message_level := 20;
         if :system.mode = 'ENTER-QUERY' then
         exit_form(NO_VALIDATE,FULL_ROLLBACK);
         end if;
    :system.message_level := msglvl;     
         EXIT_FORM(ASK_COMMIT,FULL_ROLLBACK);
    end
    thank you all

Maybe you are looking for

  • Operation Could Not Be Completed Because An Unexpected Error Occured (Error Code -50)

    Hi, I'm trying to copy files to my external drive. (3TB - Formatted to Mac OS Extended (Journaled)) and I keep getting this error.  I have been looking it up on Google and in the forums and it seems the common problem is that the drive is formatted F

  • I Published a report on the report server but it's not showing in the internal application we use to access reports

    Hi,  I Published a report on the report server but it's not showing in the internal application we use to access reports. The name of the application we use is called MAMA and this application has access to all the reports on the SQL report server. M

  • Which privilege to access active SQL instruction tab

    Hi all, On sqldeveloper when I am supervising the sessions on my new database, the screen shows the complete list of sessions. But if I click on one of the sessions to have more details, like running SQL query, an error occurs : SEVERE     1378     2

  • XML From Premier ReCaptured in FCP

    So my situation is that I have old Adobe Premier projects that I would like to have editing access to for future re-edits when I transition into Final Cut. The source videos are in MPEG-2. When I tried exporting the XML file and exporting the source

  • [CSX] [JS] Where am I?

    hi all, i just checked the possibilities of ui scripting and i'm quite amazed what is possible without big fuzz... but i can't realize how i can find the insertion point or current position in an open document from my script. i just think about sth l