How do I open up a form based on a query/parameter

Can someone please tell me how can I open the form based on a query and the query is based on a pre-set value. Thanks.
I am new to Oracle Form. Please treat me like a newbie. Thanks.

Hi,
If I understand u , you want to call a form
and execute query automatically with preset value.
Is that what you mean?.
1.suggestion: You can use the call_form, or open_form .
check all parameters like "auto query" and so on.
(see help-online for parameters to pass for call_form, open_form....)
2.Suggestion: In the pre-query trigger set the value.
in the When-new-form-instance
write this code:
Begin
execute_query; -- built-in procedure
end;
I hope this gives you an idea,
Regards
CB

Similar Messages

  • R12: How to filter Open Item Revaluation Report based on GL Date

    Hi,
    Anybody know how to filter Open Item Revaluation Report based on GL Date from and GL Date to in R12?
    Since we just upgraded from 11.5.10 to 12.1.3 and found we cannot filter those report for specific date. It shown all data included the old data from 8 years ago also.
    We need to run the report only for specific date only. Please share with me if anyone know about this.
    Thanks.

    Pl do not post duplicates - R12: How to filter Open Item Revaluation Report based on GL Date

  • 10G-form: How to open 2nd form based on the queried result in 1st form?

    Form1: text_item1, search_result_text_item11, search_button, go_button
    Form2: text_item2
    When I press search_button on Form1, I am able to get the result in search_result_text_item11 based on the query defined in the search_button TRIGGER.
    So I've value in search_result_text_item11.
    Now I want to copy search_result_text_item11 value of Form1 to text_item2 value in Form2 when I click go_button;
    How do I do it?
    Thanks.
    Gaurav

    i can think of two ways,
    one is pass it as parameter, when you are calling the new form
    or
    in form1, in the when-button-pressed trigger of your go_button, copy the value of search_result_text_item11 to a global variable...
    in form2, in when-new-form instance, assign the value of the global variable to text_item2
    just be sure to erase the global variable immediately after you assigned to text_item2. also, you may want to put, default_value before assigning the global variable to the text_item2, this is to ensure that you will not have error when the global variable is not created.

  • How to change the fields in a JSF form based on a URL parameter

    I am trying to build a generic JSF form of parameters which I want to dynamically change (i.e.
    change which field is visible, what the label text should be, etc) based on a URL parameter.
    I can set the fields using logic in the backing bean as an action on a command button pressed.
    But how do I do it based on the URL parameter ? I can retrieve the URL parameter but I
    don't know where to put (or hook) the Java code to do this initialization prior to
    the page being rendered for the first time.
    The fields in the JSF is being configured dynamically using a database table.
    BTW I am using Jdeveloper 10.1.3.5
    Thanks
    CK

    Thanks. I decided to set a Session bean to store the value of the URL parameter (if it is set)
    and then to use the session bean to initialize the attributes of the fields on the JSF Page.
    There also seems to be some caching of the inputText fields (i.e. it reverts back to the first
    initialized value) even though I tried to change it using the URL parameter in the requestScope
    backing bean. So, setting the values into the Session bean and retrieving it back from there
    seems to be more reliable.

  • How to Disable a entire JSP form based on single value

    Hi,
    My requirement is I have to disbale a JSP form based on getting single value from the drop down box. Please suggust me some ideas.
    Highly aprreciated
    Thanks In advance
    Anbr19

    Well as said by my fellow it could be easily acheived by javscript
    say i'm assuming the dropdown has set of value under a form named SampleForm..
    here is how you do using javascript
    <script language="javascript">
    function disable(txt){
       if(txt == '<Condition Value>'){
           for(var i =0 ; i < document.SampleForm.length ;i++)         
               document.SampleForm.elements.disabled = true;
    </script>
    <form name="SampleForm">
    <select name="dropdown" onchage="disable(this.value)">
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    </select>
    </form>
    hope this might help :)
    REGARDS,
    RaHuL

  • Open a new form based on the selection from the drop down list

    Good Morning Everyone,
    Can any one please advise how I can start to build the form that has a drop down list(DDL) to list other forms so the user can select one from the selection of that DDL to open a new form.
    e.g  A form in workspace ES3 with drop down list to list 3 forms: form1, form2, form3. When user select form1 from the DDL, then it will kick off the render servic to launch form1 in workspace ES3.
    Thanks in advance,
    HD

    Hi,
    I'm not surea about the data structure...Are there two ClassNodes, one for "VALVES" and one for "BOLTS"??
    and for scripting it is no good idea if the names of the attributes are value, don't know if this is your naming...
    but to access a node of the DATA view -->
    //var selection --> you have assigned "VALVES"
      var onodeCN =  xfa.resolveNodes("xfa.record.Classification.ClassNode[*].value");
    // get the node with the valves -->
                   for (var i = 0; i < onodeCN.length ; i++) {
                        if ( onodeCN.item(i).value == selection ) {
                                         //get the Leaves of Node VALVES
                                         var onodeVALS = xfa.resolveNodes("xfa.record.Classification.ClassNode[+i+].ClassLeaf[*].value");
                                         for (var j = 0; j < onodeVALS.length ; j++) {
                                           // insert values of Leave to 2nd drop down
                                XXX.addItem(onodeVALS.item(j).value, onodeVALS.item(j).value);
    ??works??
    norbert

  • How to open a form based on the the parameter in another Form

    I created a button in a form (FORM1). By clicking this button, I want to open another form (FORM2) based on the a value of one key field in this form(FORM1). Both forms have the same key field.
    So, I wrote the following codes behind the PL/SQL Button Event Handler of the custom event for the button that I created in FORM1.
    v_inventory_num:=p_session.get_value_as_NUMBER(
    p_block_name => "_master_block",
    p_attribute_name => 'A_INVENTORY_NUM',
    p_index => 1
    if v_inventory_num is not null then
    portal30.wwa_app_module.set_target('/pls/portal30/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=5958032800&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=A_INVENTORY_NUM&p_arg_values='||v_inventory_num,'CALL');
    end if;
    end;
    I could not open the FORM2 by clicking the button on FORM1.
    However,I can open the FORM2 by click the button by using the following code.
    portal30.wwa_app_module.set_target('/pls/portal30/PORTAL30.wwa_app_module.new_instance?p_moduleid=5958032800','CALL');
    How could I pass the parameter in FORM1 into FORM2 and when the FORM2 is opened if has already been queried with the passed parameter?
    Your help would be highly appreciated!
    Jeffrey Wei Ye

    Hi:
    Thank you for reply to my question.
    I have tried your codes and apply them the following the form. However, I always got the following error:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    My codes is:
    declare
    request_no number;
    blk varchar2(30) := 'DEFAULT';
    l_url varchar2(4000);
    begin
    request_no := p_session.get_value_as_NuMBER(
    p_block_name => blk,
    p_attribute_name => 'A_WORK_REQUEST_ID');
    l_url := 'portal30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=11880470335&p_arg_names=_sessionid&p_arg_values=&p_arg_names=work_request_id&p_arg_values='||request_no;
    portal30.wwa_app_module.set_target(l_url,'call');
    end;
    then,
    I created another form which has two fields and the dattype of pk is varchar2 and change manually put the pk's p_arg_value into the url.
    e.g.
    l_url:='PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=9029417810&p_arg_names=WORK_AREA_CD&p_arg_values=APP';
    portal30.wwa_app_module.set_target(l_url,'call');
    However, I still get the error message as below:
    Error: (WWV-00000)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    No conversion performed for type INTEGER, value . (WWC-49102)
    Your help would be highly appreciated.
    Wei Ye

  • How can I open a new window based upon input in an existing window

    Hi,
       I'm pretty new to LabVIEW and I've run into a slight problem that I having trouble finding information about.  My LabVIEW application will present a user with several configuration options.  Depending upon the options the user chooses, a new window/panel will need to appear with an entirely different set of options.  Is this possible?  If so, how?
    Thanks,
    Al

    Hi Al,
    you can call subvis in a case structure ("when button is true then call subvi"). In the subvi's properties you have to set "open front panel when called" and "close afterwards" (window appearance settings).
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do I open a Oracle Form from Workflow Notification

    Hi,
    I have created an attribute( for opening oracle form , define type as form) in my workflow process. Currently I cam working on oracle applcaition 11i,
    I want to know the format of assigning value to this attribute my attribute name is "OPEN_FORM"
    My form name is "PMSTIME", parameter is "TIMEID"
    With Regards
    Satheesh Kumar

    Welcome to the Apple Support Communities
    To open a Word document from a USB drive, do it as you would do if the document is stored on the hard disk. Just double-click it and Microsoft Word should open with this document. If another application is opened or it doesn't open, right-click the file, select "Open with" and choose Microsoft Word

  • How to disable security on the forms-based transactions

    WLS 7 web services include automatically created forms for each web
    service. When using these forms, a login is required into the 'Default'
    realm. How can this login be disabled?
    Regards,
    Joop Kaashoek

    This is caused by a bug, it only happens when using SSL. A CR has been
    created for the fix (CR078442)
    Joop Kaashoek wrote:
    WLS 7 web services include automatically created forms for each web
    service. When using these forms, a login is required into the 'Default'
    realm. How can this login be disabled?
    Regards,
    Joop Kaashoek

  • Report region with column link that opens a pdf doc based on report query

    Hello
    I'm building a report table that displays info about a customer - simple select - and, for each record, has associated column links based on report queries that receive ID as parameter. When clicked, it opens the report in pdf extension. My problem here is how to pass the ID as a parameter to that report query considering i'm using a report table and that there are no items in page 71...
    This is the report query i'm using:
    select initcap(a.customer) customer
    , initcap(a.address) address
    , initcap(a.rep) rep
    , (select initcap(b.city)
    from portal_records b
    where b.contrib=a.contrib
    and b.year=to_char(sysdate,'yyyy')) city
    , (to_char(a.datereg,'dd')||' de '||to_char(a.datereg,'Month')||' de '||to_char(a.datereg,'yyyy')) datereg
    from portal_authorizations_cve a
    where a.id=:P71_ID ???????????????
    I thank in advance all your replies!!

    Hello
    First of all, let me compliment your for your demo application... It's awesome!
    I've looked into your sample (page 15) and, as far as i see, it opens a document saved in a table's column. I don't want the file to be saved there but generated when the user clicks on that particular link... So i still have the problem of how to pass the right ID as a parameter considering there is no page item on that page...
    My javascript knowledge is little so i ask you: when clicking the link, is there any way of opening a window with the url f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=Authorization_CVE and the ID as a parameter?
    I thank in advance!

  • How i create report on sccm 2012 based on saved query or collection

     i tray to create report based in saved collection or query
    i copy query statement  and create new report example
    (select SMS_G_System_PRINTER_DEVICE.DriverName, SMS_G_System_PRINTER_DEVICE.Name, SMS_R_System.Client, SMS_R_System.IPAddresses, SMS_R_System.Name from  SMS_R_System inner join SMS_G_System_PRINTER_DEVICE on SMS_G_System_PRINTER_DEVICE.ResourceID =
    SMS_R_System.ResourceId where SMS_G_System_PRINTER_DEVICE.Name >= "HP LaserJet" and (not SMS_G_System_PRINTER_DEVICE.DriverName >= "microsoft office") and (not SMS_G_System_PRINTER_DEVICE.DriverName >= "ZDesigner") and
    (not SMS_G_System_PRINTER_DEVICE.DriverName >= "Send To Microsoft") and (not SMS_G_System_PRINTER_DEVICE.DriverName >= "PDF Complete Converter") and not SMS_G_System_PRINTER_DEVICE.DriverName like "Microsoft XPS Document Writer"))
    i paste the query statement when i execute the query  appear error  as in photo in link  
    please help me 
    http://social.technet.microsoft.com/Forums/getfile/527879

    Your picture doesn't seem to work.
    Your query above is in WQL, however reporting uses SQL. You will need to translate the query to SQL first.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • How To Use HttpUnit With FORM-based Authentication?

    I'm just getting started with HttpUnit, and I'm having a problem:
    How does one use HttpUnit with FORM-based authentication?
    I have a Web app where I specify a number of protected URLs. When a user tries to invoke one of them in a browser, Tomcat 4.1.30 brings up a login page that I specified and asks for a username and password. The values given by the user is checked against the tomcat-users.xml file. If the user is valid, Tomcat
    forwards the response from the original request. If invalid, an error page is displayed. The user is considered valid until either the session times out or the browser is closed.
    Does HttpUnit have to log into the app every time I run a test? How does it manage subsequent pages after login?

    I don't think that's true. HttpUnit is 100% Java and based on JUnit. HttpUnit has nothing to do with Apache, AFAIK. HttpUnit is for unit testing servlets and JSPs. Apache is a Web server. It doesn't have a servlet/JSP engine, unless you bolt Tomcat on top of it.
    Perhaps we're talking about two different packages. - %

  • Forms based on query?  Is it possible in Oracle Portal?

    here is my code that i want to use
    SELECT a.first, a.last, b.Position_CD, c.skill_cd, d.team_name, d.team_country, d.club, e.structure_name
    FROM Roster a, Roster_position b, roster_skill c, team d, team_structure e
    where (a.Roster_ID = b.roster_id (+) and (b.roster_id = c.roster_id (+) ) and (a.team_cd = d.team_cd(+)) and (a.team_structure_cd = e.team_structure_cd (+)))
    order by a.roster_id;
    Is it possible for oracle portal to support such a query in a form?
    Oracle portal supports single tables or views...master-detal...and forms based on procedures.
    Since the above query associates with moro then one table..how might one create a form based on that query? Is their a way in oracle portal to create a form and have its record source be based on such a complex query and be able to update and insert data? I know and have tested that it works in Ms Access and i can update and add data in that above query. Hopefully oracle supports this. (*cross fingers*)
    If i cant do what i said above...what advice or suggestions you guys have for me? If i use master-detail it won't work right because i need to involve all 5 tables.
    Any help or comments are greatly appreciated!

    When i made the above query a view and created an oracle portal form. I get this error when I try to retrieve all the records in that view i made above.
    An unexpected error occurred: ORA-01445: cannot select ROWID from a join view without a key-preserved table (WWV-16016)
    What does the "key-preserved table" mean?

  • KE30 - Form Based Report - TDD not appearing

    Dear COPA Experts,
    I am facing one strange issue with reporting of Top Down Distribution of Actual Data.
    After executing Top Down Distribution of Actual Data, i have checked T-Code : KE30 - Form Based Report but it does not shows me distributed data then i have created one more PA report without Form, and this basic report shows me distributed data.
    I have checked T-Code : KE24 and found data is accurately posted via TDD :
       But is not showing in Form Based Report :
    However, it shows in Basic Report :
    Please guide me how to get distributed data on Form Based Report ???
    Thanks in Advance for your time !!!
    Regards,
    Zain Bashir

    Hello Zain,
    I often face similar problems when using form based reports.
    The layout which is part  of your report (and where the lines and columns are defined)
    includes the selections (e.g. within a column) also.
    Example:
    User does not find values posted on a cost center within the report.
    The FI-document shows the cost center but also an SD-order item.
    Result: The CC-posting is just a statistical one.
    If the layout does not include the statistical posting the report does not present them.
    Therefore: I advise to check the layout and the
    column-, line- and general selections.
    Hope it helps (and that you evaluate).
    With kind regards
    Thomas

Maybe you are looking for

  • Error "Turn on Home Sharing in iTunes".  But it's on.  I do have a new router though...

    When I try to use my Computer section on my Apple TV so that I can view movies or music in my iTunes library it gives me the error "Turn on Home Sharing in iTunes".  Of course I have done that already in iTunes on my computer.  I went into my iTunes

  • How to filter Billing Document Date

    Hello SAP Consultant I'm using vbrk and vbrp to fetch the data according to selection screen. Also i'm using Billing Document no as vbrp-vbeln and Billing date vbrp-fkdate. But i'm not able to filter the data according to billing document date. I'm u

  • How can i use multi threading in labview?

    i want to run a Digital storage oscilloscope and an energ ratio meter simultaneously using labview. i am using GPIB interfacing and windows XP. how can i do this using multi threading. Bot the instruments shd run and give data at the same time.

  • Labview application very runs poorly on better PC hardware

    What could cause a Labview application to run extremely poorly when deployed to a new higher performance PC verus the 4 year old one at my desk?  I'm using an Intel Core Due 2 on my desktop (2 cores), whereas my application is being deployed to an In

  • JavaFX Roadmap

    I've been developing with JavaFX for a bit, and there are some things which cause me grief that I'd like to discuss. I hope everyone takes this constructively as my intent is to spur discussion on potential improvements to what I believe is an excell