Restricting query\where in forms 6i

Hi,
Is it possible to restrict the users from using Query\Where in forms 6i
Thanks in advance.

Hi Manu,
We can open Query\Where dialog in enter query mode , if we are entering ':' in a field and pressing the execute query button.
But I do not want the user to us this feature of Forms,is there any ways to do it.
I know that it can be done in Oracle forms 10g, but I need to know whether it can be done in Forms 6i
Thanks for your response

Similar Messages

  • Oracle Forms to open the Query Where dialog box

    Hi,
    "By typing a colon in a field, the end user can cause Oracle Forms to open the Query Where dialog box, allowing the end user to specify conditions that are too complex to specify by entering values into fields".
    I have tried above thing, but where clause dialog box not opening.
    Somebody can help me out.
    Regards
    satheesh kumar

    Forms [32 Bit] Version 6.0.8.27.0 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Oracle Toolkit Version 6.0.8.25.0 (Production)
    PL/SQL Version 8.0.6.3.0 (Production)
    Oracle Procedure Builder V6.0.8.21.0 Build #1459 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 6.0.7.1.0 - Production
    Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
    Oracle Tools GUI Utilities Version 6.0.8.25.0 (Production)
    Oracle Multimedia Version 6.0.8.25.0 (Production)
    Oracle Tools Integration Version 6.0.8.18.0 (Production)
    Oracle Tools Common Area Version 6.0.8.18.0
    Oracle CORE Version 4.0.6.0.0 - Production

  • Regarding Query/Where box in oracle forms

    Hi,
    I have a query regarding query/where box in oracle.
    When I enter ":" in one of the field query box pops up and when I enter some query and press F12 to execute query.
    The OK button has to be pressed twice to retrieve the result.
    Can anyone please let me know why this is happening, instead of retreiving results at one go by pressing OK once.
    When does query box pos up? I have to avoid hitting OK button on query box twice.
    Thanks for your advice in advance.
    Thanks,
    KLC
    Edited by: user5411765 on Nov 22, 2010 10:44 PM

    Hi,
    Were you able to get around this problem? I am facing the same and need help! :(
    Regards,
    Arun

  • Restricting Query in master detail situation

    I got two tables and three forms 1)master-detail 2)a selection form based on detial table.
    When we enter data in master form i.e deptno want to open a selection form with restricting query only to those records that is entered in master from.
    I want to know how to restrict data in selection form.Bit confusing,
    Thank You,
    Zubyr

    add a parameter to your detail form, and set the default-where property of your block.
    you can reference parameters directly in the where clause of the block:
    deptno = :parameter.deptno
    call your detailform from the masterform with a paramlist
    declare
    xParamlist paramlist;
    begin
    xParamlist := Get_Parameter_List('PARAMLIST');          
    IF (id_null (xParamList)) THEN
    xParamList := create_parameter_list ('PARAMLIST');
    ELSE
    destroy_parameter_list (xParamList);
    xParamList := create_parameter_list ('PARAMLIST');
    END IF;
    Add_Parameter(xParamlist,'EMPNO',TEXT_PARAMETER, :master.deptno);
    call_form('detailform',NO_HIDE,NO_REPLACE,NO_QUERY_ONLY,xParamList);
    end;
    regards

  • How to implement enter-query , execute-query in Apex Forms

    Hi,
    I am new to Oracle Application Express. I want to know what is the equivalent of ENTER-QUERY and EXECUTE-QUERY features of Oracle Forms in Oracle APEX? I saw a lot of documentation, but everywhere I found that APEX forms only have 3 database actions, (1) INSERT (2) UPDATE & (3) DELETE.
    Does anybody know how we can do QUERY in APEX Forms? (like we do in Oracle Developer Forms).
    Thanks in advance.

    Oracle APEX is a web/ stateless environment. So you do not have the same functionality/ features as in a Oracle Forms environment which is session/state oriented.
    You can however achieve functionality similar to Enter Query / Execute Query through other means.
    The easiest is to use the Forms with Report wizard. It creates 2 pages, the first one is a report and the other a Form. Clicking on the Report rows takes you to the Form page in Edit mode where as the the Create button takes you to the Form in Insert mode.
    If you want to have the enter-query / execute query on a single page it will require significant effort and skills. Try it when you have acquired some more skills in Apex.
    In APEX , like any other web application, you have to think in the web paradigm and not client-server. Even Forms 11g is essentially client-server like and is session oriented through the forms applet.
    Regards,

  • Query/Where dialog box size limit

    I searched this forum and was unable to find out a way to add more than 200 characters to the Query/Where dialogue box when using the colon query. I see that this object is a security risk but we still use it and have been using it for years. I guess someone finally tried to enter more than 200 char and hit the limit. This is 9.041 (obsolete I know).

    You did not indicate which Forms version you are using. I just test in 10.1.2.3 and it works correctly.
    1. Verify FORMS_RESTRICT_ENTER_QUERY=FALSE in default.env
    2. Enter Query
    3. Type :a into the desired field
    4. Execute Query
    If you are not using 10.1.2.3 and have executed the above step and the problem still reproduces, upgrade to 10.1.2.3 or 11.1.1.3

  • How to execute immediately a query in a form

    Hi,
    I've got a form which opens another form on which I have created a data block based on a FROM clause query where the where clause has a column joined a GLOBAL variable initialized in the first form.
    How can I get the second form execute immediately the FROM clause query when called from the first form?
    I've tried to insert in the second form called a trigger WHEN-NEW-FORM-INSTANCE where I have the following code.
    BEGIN
    GO_BLOCK('my_block');
    EXECUTE_QUERY;
    END;
    I thougth that the EXECUTE_QUERY executed by default the FROM clause query I've inserted in the Query Data Source Name of the Data Block but I don't see anything when the second form is called by the first form, just the message "FRM-50505 unable to perform query" I've tried to perform the query inserted in the Query Data Source Name executing it directly on the DB and it works
    Thanks!
    Edited by: Mark1970 on 30-mar-2012 3.07

    check from menu or display error to see why do you obtain an error

  • For Update Query from ORACLE Forms

    Hi
    We are using Oracle Forms 10g running with 10g database 10.2.0.1.0. We happend to see a query which is getting generated in AWR report like Select rowid, all_columns from TableName for Update of C1 Nowait. But no such query is really written in forms and we are aware that, Any query prefixed with rowid is definitely executing from Forms. But how the ForUpdate and Nowait clause is appended to the query.
    We have checked the following properties in the database Block
    *1) Locking Mode is set to Automatic*
    *2) Update Changed Columns only is set to YES*
    *3) Query all records is set to No (Though this particular property may not be relevant to the issue)*
    What is the property or setting which might trigger such a query from ORACLE Forms with ForUpdate and Nowait clause.
    Any ideas/suggestions on why such behaviour. Please have a healthy discussion on this. Thanks in advance.

    you can't dynamically add a query to the data model in reports.
    You should look into the XML based customization of Oracle Reports. This will enable you to define a report dynamically by creating a definition in XML.
    Also another option is to have the report with a query in it and use lexical parameters in reports to pass the query definition or just the where part of it.
    Look at the reports online help for both of these solutions.

  • How to check the source query of tabular form ....

    Hi All ,
    is there any way to change the source query of tabular form ......
    ya ... i could see it in the source but it is normal sql query ....
    where as to generate the addrow functionality the sql query must be
    Select empno , ADD_ITEM.TEXT(1,empno), ename ,ADD_ITEM.TEXT(2,ename)................
    then where can i find this query .?
    i could see that ADD button is calling ADDROW process and which inreturn calling ADD function ....
    can any one tell me , where to see the code for this ADD function ....
    as i checked it in db ..... it is not there at all.

    You can have a look here for the manual tabular forms:
    http://apex.oracle.com/pls/otn/f?p=31517:170
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • [OIM] - Form Complex Lookup Query on child form

    Hi all expert
    I have two form, which is parent-child relationship.
    I need to form a lookup query on child form's lookupfield to let user select the value but lookup query depens on the parent form on what user selecting..
    Example as:
    Parent form - Country Code - 100
    Child Form - Department Code - Lookup query will be = Select DepartmentCode From DeparmentLookup where country ="100"
    The "100" value depends on what user choice on CountryCode fro mparent form.
    Can i do something like this ?
    Thank in advanced
    John

    This happen for a property setting in the relation. try this..
    Select all your relation in the form under Relation nodes (data block >> relation)
    go to property or press F4 and set the following property to YES
    Prevent Masterless Operations = Yescompile and check..
    Hope this will works.. ;)
    Hamid
    Mark correct/helpful to help others to get right answer(s).*

  • Query applied in forms

    hi
    im not sure on how to show my query on the forms that i am using. i am new to oracle form builder 9i. My query is as stated below
    CREATE OR REPLACE VIEW OZ AS
    select DISTINCT court_id
    from booking
    where court_id not IN
    (select court_id
    from booking
    where lower (booking_start_time) = lower('&booking_start_time')
    and lower (booking_date) = lower('&booking_date')
    and lower (court_id) = lower('&court_id')
    and lower (booking_status) = lower('&booking_status'));
    Im not sure how i would be able to type in the availability fields in the forms that need entering in the fields mentioned in the script above. How would this be done
    thanks for reading.

    Hi,
    i think one chance is to use a stored procedure as Block DataSource.
    Create a Package:
    create or replace court_disp as
    TYPE t_courtrec IS RECORD(
    court_id booking.court_id%TYPE
    TYPE t_courttab IS TABLE OF t_courtrec
    INDEX BY BINARY_INTEGER;
    PROCEDURE court_qry(
    pt_block_data IN OUT t_courttab
    , p_start_time IN varchar2
    , p_end_time IN varchar2
    , p_court_id IN varchar2
    , p_status IN varchar2
    in procedure court_qry:
    ln_lfd := 1;
    for cr in ( select distinct court_id from ... )
    loop
    pt_block_data( ln_lfd ).court_id := cr.court_id;
    ln_lfd := ln_lfd + 1;
    end loop;
    U can use datablock wizard to assign parameters.
    good luck
    Robert

  • Query a second form from another form by passing value

    Hi,
    I have two forms. I am trying to query a second form from another form. I have managed to display the query results in the second form by passing value from the first form. I did it according to the details in the Oracle 9ias Portal Technical FAQ html file.
    It works fine when there is already a row in the first form. When I insert a new row in the first form and query the second form which has key from the first form, there is no matching rows displayed which is correct but detail action mode is 'NONE' for all detail rows.
    According to the FAQ, it says the following:-
    "When the called form is started, it executes a query with the supplied condition (in this case, "where deptno=10"). If the query is successful, the matching rows are displayed in Update mode. If no matching rows are found, the form starts in Insert mode."
    It does not happen for me. I get NONE mode for no matching rows. Is this a BUG ? I am working on Portal version 3.0.9.8.0.
    Is there something wrong in the code I wrote ? I would like to have all the detail mode as Insert.
    Here is the following code I wrote on SUCCESSFUL SUBMISSION OF THE FORM.
    declare
    my_url varchar2(1000);
    v_deptno number;
    begin
    v_deptno := p_session.get_value_as_NUMBER(p_block_name => 'DEFAULT', p_attribute_name => 'A_DEPTNO');
    my_url := 'PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1268491962&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=deptno&p_arg_values='||LTRIM(TO_CHAR(v_deptno))||'&p_arg_names=_deptno_cond&p_arg_values=%3D';
    go(my_url);
    end;

    Hi,
    The behaviour is OK as in the MD form there are two states "Save" and "Query and Save" and when the form is in "Query and Save" mode that means you can use it for both Query aswell as Save which is decided by your "Master action" if that is None it is used for Query , for Insert you will have to select Insert ,this is the Insert Mode behavior.
    If you open a new MD form that is also in the "Query and Save" the same behaviour will be there.
    Hope this answers your query.
    rahul

  • When i try to drill down on Free characterstics in the query where it is di

    Hi,
    When running the Query, the filter criteria is not coming up when attempting to restrict the Characterstic(Nav.Attri).  the filter criteria is not coming up when attempting to restrict the Characterstic(Navi .attri)variable
    I was try to drill down on free characterstic in the query,where it was showing not found in the filter values
    When i try to do filter say filter the Navigational attribute select filter values where the dialog box appearing with  no entries found.The option over there only from infoprovider.
    What would the issue?
    Edited by: krish aryan on Sep 2, 2008 5:09 PM

    Hi,
    Since you have given the option as from infoprovider this may be the issue.
    try to give from master data in the properties for selections and then see after pressing F4.
    Since its a navigational attribute its values are not be populated into the infoprovider and therefore u are not able to see it.
    Thanks
    Ajeet

  • Update query against InfoPath form data

    Hi,
    We are using SharePoint Enterprise 2010, and have set up a series of InfoPath forms to manage various aspects of the projects we run (request forms, change control, toll gating, status reports, etc).  The forms are all created in InfoPath and save the
    data to form libraries on SharePoint.
    We are in the process of revamping the status report.  The fields for Accomplishments, Planned Activities, Risks and Dependencies were origianally set up as plain text.  We are moving to a bullted field for each.  My concern is that once we
    add the new fields to the published form, the old ones will disappear fom view.  So if we pull up an older status report, the information wont be available to view.
    Is there any way to write an update query against this form data?  Supposed I add a new bulleted field for "Accomplishments_NEW" and change the existing field to "Accomplishments_OLD".  If I were working with in Access, it would
    be a simple update query where the field selected would be "Accomplishments_NEW" and the update value would be "Accomplishments_OLD".  I have actually tried this through Access but we only seem to be able to read this data through
    Access, not write to it.
    Is there any way to make such a change on the SharePoint side?
    Dennis

    Yes.
    The approach is to add two fields:
    - Accomplishments_v2 and Accomplishments_v1_Loaded (true/false)
    when the form loads, if _v1_Loaded is false, migrate the data from the old field into _v2, and then set _v1_loaded = true
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Data to be queried in oracle forms

    select a.dept_id,a.drive_id,a.qc_type_id,a.qc_subtype_id,
    a.equip_code,a.staff_id,a.out_of_service,a.comments
    from qc_equipment_used a,qc_equipment b
    where a.equip_code = b.equip_code
    and a.dept_id = 5
    and a.drive_id = 'DRV2007930'
    and qc_type_id = 1008
    and qc_subtype_id = 1000
    and equip_type_id =1000
    But when I am trying to query in the form I get only one line.
    Header is database
    in the detail ids are database but a.equip_code,a.staff_id,a.out_of_service,a.comments are non database columns. The data gets saved properly but when I query I get only one line.
    Cursor C1 is select a.equip_type_id
    from qc_dept_equipment a,qc_equipment_type b
    where a.equip_type_id = b.equip_type_id
    and a.qc_type_id = :qc_daily.qc_type_id
    and a.qc_subtype_id = :qc_daily.qc_subtype_id
    and alias_desc = v_description;
    Cursor C6 is select a.equip_code,a.staff_id,a.out_of_service,a.comments
    from qc_equipment_used a,qc_equipment b
    where a.equip_code = b.equip_code
    and a.dept_id = :qc_daily.dept_id
    and a.drive_id = :qc_daily.drive_id
    and qc_type_id = :qc_daily.qc_type_id
    and qc_subtype_id = :qc_daily.qc_subtype_id
    and equip_type_id = v_equip_type_id;
    Begin
    select count(*) into v_count from qc_daily a
    where a.dept_id = :qc_daily.dept_id
    and a.drive_id = :qc_daily.drive_id
    and qc_type_id = :qc_daily.qc_type_id
    and qc_subtype_id = :qc_daily.qc_subtype_id;
    v_description := 'Genesis Sealer';
    :parameter.equip_code := 'one';
    Open c1;
    Fetch c1 into v_equip_type_id;--:qc_dept_equipment.equip_type_id;
    Close C1;
    If v_count > 0 then
    Open C6;
    loop
    Fetch C6 into :qc_equipment_used1.equip_code,:qc_equipment_used1.staff_id,
    :qc_equipment_used1.out_of_service,:qc_equipment_used1.comments;
    :parameter.P_EQUIP_CODE := v_equip_code;
    :parameter.equip_type_id := v_equip_type_id;--:qc_dept_equipment.equip_type_id;
    :parameter.EQUIP_TYPE_ID1 := :parameter.equip_type_id;
    Exit when :system.last_record = 'TRUE';
    next_record;
    End loop;
    Close C6;
    End if;
    End;
    DEPT_ID     DRIVE_ID     QC_TYPE_ID     QC_SUBTYPE_ID     EQUIP_CODE     STAFF_ID     
    5     DRV2007930     1008     1000     SEALCEN001     0143          
    5     DRV2007930     1008     1000     SEALCEN038     0143

    Sorry, but i don't understand your problem. What is that code you provided? In what trigger do you place it? What is it supposed to do?

Maybe you are looking for

  • The Flash Help Search doesn't work

    Do I need to reinstall my flash ? I installed flash 8 professional on my machine about a month ago. i have just noticed that the search button in the help section doesn't do anything. what should i do? All the help content is there but the only way i

  • Carrying website over to a new computer ...

    I have been using iWeb to build a simple website and I need to know how to save and be able to get back my already created pages once I moved to my other computer from right within the iweb application? Presently I am using a mac mini and order an iM

  • What are the BIW setup, Benefits and Challenges, it's very urgent,

    Dear Guru's I need to prepare a report to my client stating that what are the BIW Setup, Benefits and challenges. till now. can any one help me to build the browser. thanks and regards C.S.Ramesh

  • Updating offercode(priority code) in campaign element

    Hello, My requirement is to create Campagins and Campaign Elements from flat file through BAPIS. I have used BAPI  MKT_ELEMENT_CREATE to create that. But in the attributes(IM_ATTRIBUTES) we dont  have the offercode or the priority code field to  be u

  • How to view the MissingFields Form in Sun Identity Manager

    Hi All, In the Tabbed User Form [in the Sun Identity Manager's administrative interface], there's this tab called Attributes. This is referring to a form called MissingFields. I want to read this form and understand it's working logic. But I am not a