Manually execute report query based on condition

Hi,
I have 2 queries defined in report as follows:
Q1) select ename,sal from emp where empno = :emp_no;
Q1) select ename,sal from emp;
Based on a specific condition I want to switch between the above 2 queries , based on which report ouput will be generated.
Example:
IF <condition is true >
THEN
Execute Q1;
ELSE
Execute Q2;
END IF;
How to do this?
Thanks

Also, you can use Ref Cursor query, especially for complicated conditions like :
IF :FROM_NO IS NULL AND :TO_NO IS NULL THEN
open temp_CHARACT for SELECT ACCT_CODE,
ACCT_NAME,ACCT_LEVEL,GROUP_CODE,MAIN_ACCT,OPENING_BALANCE
FROM CHARACT
ORDER BY ACCT_CODE;     
ELSIF :TO_NO IS NULL AND :FROM_NO IS NOT NULL THEN
open temp_CHARACT for select ACCT_CODE,
ACCT_NAME,ACCT_LEVEL,GROUP_CODE,MAIN_ACCT,OPENING_BALANCE
FROM CHARACT
WHERE ACCT_CODE=:FROM_NO
ORDER BY ACCT_CODE;     
ELSIF :TO_NO IS NOT NULL AND :FROM_NO IS NOT NULL THEN
          open temp_CHARACT for select ACCT_CODE, ACCT_NAME,ACCT_LEVEL,GROUP_CODE,MAIN_ACCT,OPENING_BALANCE
          FROM CHARACT
          WHERE ACCT_CODE BETWEEN :FROM_NO AND :TO_NO
          ORDER BY ACCT_CODE;               
ELSIF :TO_NO IS NOT NULL AND :FROM_NO IS NULL THEN
open temp_CHARACT for select ACCT_CODE, ACCT_NAME,ACCT_LEVEL,GROUP_CODE,MAIN_ACCT,OPENING_BALANCE
FROM CHARACT
WHERE ACCT_CODE<=:TO_NO
ORDER BY ACCT_CODE;     
END IF;
Regards
Mostafa

Similar Messages

  • Running Query Based on Condition

    Hi
    I want to run different query based on a condition. I am not able to execute the following query. is this the right way to run different query based on condition?
    SELECT * FROM (
    CASE WHEN (SELECT COUNT (*) from data1 where ID = 1 AND stype = 'A') > 0 THEN select * from data where ID = 1 AND stype = 'A'
    WHEN (SELECT COUNT (*) from data1 where ID = 1 AND stype = 'B') > 0 THEN select * from data where ID = 1 AND stype = 'B'
    WHEN (SELECT COUNT (*) from data1 where ID = 1 AND stype = 'C') > 0 THEN select * from data where ID = 1 AND stype = 'C'
    END
    ) as a;
    Edited by: user6016744 on 21 Apr, 2011 12:40 AM

    This works for us; hope it helps.
    CREATE OR REPLACE FUNCTION SCHEMA.GET_STEP_COST (loan_number_in in VARCHAR2, step_code_in in VARCHAR2 default null, ws_in in VARCHAR2 default null )
    RETURN VARCHAR2 IS retval  VARCHAR2 (50);
    /*passing in loan number and step code you need the cost for, will return the cost*/
    BEGIN
        CASE ws_in --depending on workstation in is the table select
        WHEN 'F' THEN
            EXECUTE IMMEDIATE 'SELECT '|| step_code_in ||' FROM CLAIMS_FCL_STEPS WHERE LOAN_NUMBER = '|| loan_number_in ||'' INTO retval;
        WHEN 'R' THEN
           EXECUTE IMMEDIATE 'SELECT '|| step_code_in ||' FROM CLAIMS_RS_STEPS  WHERE LOAN_NUMBER = '|| loan_number_in ||'' INTO retval;
        WHEN 'L' THEN
           EXECUTE IMMEDIATE 'SELECT '|| step_code_in ||' FROM CLAIMS_LM_STEPS  WHERE LOAN_NUMBER = '|| loan_number_in ||'' INTO retval;   
        ELSE
            retval := 0;
        END CASE;
      RETURN retval;
    END GET_STEP_COST;
    /

  • Executing SQL-query based on user input in text-box on APEX page

    Hi,
    I'm new to developing in APEX, and I encountered a problem...
    Is it even possible to make such thing: use text area for input of some SQL-query and then execute it on my schema and show results in report item? And if the answer is yes, can somebody provide me tips on how to do that?
    Thanks in advance.

    Denes Kubicek wrote:
    I think this example shows something similar:
    https://apex.oracle.com/pls/apex/f?p=31517:91
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    https://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------I see there is executing stored queries example, and text area showing executed one, but not quite understand how to sent sql-query directly from text input, based on your example :/

  • Return query based on condition

    I'm trying to create a report region that returns results based on which table the data is stored. I'm using the type SQL Query(PL/SQL function body returning SQL query). I do a select to the first set of tables if the data is not there then it will do a select on the other set of tables. Each query will work find alone. But one query will not work when I use the condition IF Else return query.
    Does anybody know how I can accomplish this?
    Here is the Query:
    declare
    v_cnt number;
    begin
    select count(*) into v_cnt from image_repo_images im, image_repo_lookup il
    where im.document_id_type = il.lookup_code
    and il.lookup_type = 'DOCUMENT_TYPE'
    and il.lookup_code = 1
    and im.document_id = :P1_FILE_DLN;
    if v_cnt > 0 then
    return 'select distinct il.meaning, im.document_id, im.system_entry_date,im.batch_type,im.document_id_type
    from image_repo_images im, image_repo_lookup il
    where im.document_id = :P1_FILE_DLN
    and im.document_id_type = il.lookup_code
    and il.lookup_type = ''DOCUMENT_TYPE''
    and il.lookup_code = 1;';
    else
    return 'select ''DLN'', dln, null e_date,null bt,null tp from income_tax_return_images where dln = :P1_FILE_DLN';
    end if;
    end;
    Looks rather straight forward to me.
    I get this error:
    report error:
    ORA-20001: Error fetching column value: ORA-01403: no data found
    Any help will be appreciated.

    Does this work for you:
    DECLARE
       v_cnt     NUMBER;
       v_query   VARCHAR2 (4000);
    BEGIN
       SELECT COUNT (*)
         INTO v_cnt
         FROM image_repo_images im, image_repo_lookup il
        WHERE im.document_id_type = il.lookup_code
          AND il.lookup_type = 'DOCUMENT_TYPE'
          AND il.lookup_code = 1
          AND im.document_id = :p1_file_dln;
       IF v_cnt > 0
       THEN
          v_query :=
                v_query
             || 'SELECT DISTINCT il.meaning, im.document_id,'
             || ' im.system_entry_date,im.batch_type,im.document_id_type'
             || ' FROM image_repo_images im, image_repo_lookup il'
             || ' WHERE im.document_id = :P1_FILE_DLN'
             || ' AND im.document_id_type = il.lookup_code'
             || ' AND il.lookup_type = ''DOCUMENT_TYPE'''
             || ' AND il.lookup_code = 1';
       ELSE
          v_query :=
                v_query
             || 'SELECT ''DLN'', dln, null e_date,null bt,null tp '
             || ' FROM income_tax_return_images WHERE dln = :P1_FILE_DLN';
       END IF;
       RETURN v_query;
    END;I think you have a semicolon too much at "...il.lookup_code = 1;"
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • A/r Invoice report query based on posting date selection criteria

    Hi experts,
    I am trying to write a query to get the A/r invoice report including Docnum, Docdate, cardname, project, linetotal, taxcode, taxtotal.
    and i tried the below query
    SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName],T1.[LineTotal] FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[DocDate] >=[%0] AND  T0.[DocDate] <=[%1]
    In this query ,
    1) i am unable to sum up the linetotal( total before tax) 
    2) also unable to fetch the sum of taxamount.
    3) its more important , the above query will  me docnum , when i try to open that doc, it opens the 2007 docments. whereas the other details are correct like docdate, amount and all.
    example:   from date: 1/04/2011    to date: 28/07/2011
    Docnum    Docdate  cardname   linetotal.... etc
        2              1/04/11   XYZ              5000
    when i click the 2 (docnum)  it opens me the 04/04/2007  documents.
    how to limit the doc within the periods given?
    thanks in advance
    Dwarak

    Hi Rahul/Gordon,
    thanks for your query's .
    additionally,   i want this query without the A/r invoices whichever having credit memo as target doc. 
    and
    i have selection criteria as  T0.[U_Sec_Category] = '[%2]'  and this has 3 values like  1)CIM 2)BIN 3)DMP
    among these  CIM should be seen only only user1  and BIN & DMP only by user2.
    can u plz get me this
    thanks,
    Dwarak

  • Query based on Condition

    Hi,
    I have a select list based on the select list i need to generate the report
    if businees_unit = 'a'
    select emp.name from employess_dep1
    if business_unit = 'b'
    select emp.name from employess_dep2
    end if
    please help me to correct the above
    Thanks
    Sudhir

    Like..?
    select emp.name from employess_dep1
    where :businees_unit = 'a'
    union all
    select emp.name from employess_dep2
    where :business_unit = 'b'                                                                                                                                                                                                                                                                                                                               

  • Need different rows from single query based on condition

    Hi,
    I have a table with 100 rows that holds employees and their roles.
    I need to write a SQL(not a PL/SQL block) as below
    1. When employee with role 'VP' logs in, the query should return all the 100 rows.
    2. When employee with role 'MGR' logs in, the query should return only those rows whose MGR is the logged in employee.
    3. When employee with role 'SALE_EXEC' logs in, it should return single rows corresponding to this SALE_EXEC.
    My requirement here is to get these outputs from a single query.
    Can anyone please help me with this.
    Thanks,
    Vivek.

    use vpd
    New Policy Groups
    When adding the policy to a table, view, or synonym, you can use the DBMS_RLS.ADD_GROUPED_POLICY interface to specify the group to which the policy belongs. To specify which policies will be effective, you add a driving context using the DBMS_RLS.ADD_POLICY_CONTEXT interface. If the driving context returns an unknown policy group, then an error is returned.
    If the driving context is not defined, then all policies are executed. Likewise, if the driving context is NULL, then policies from all policy groups are enforced. In this way, an application accessing the data cannot bypass the security setup module (which sets up application context) to avoid any applicable policies.
    You can apply multiple driving contexts to the same table, view, or synonym, and each of them will be processed individually. In this way, you can configure multiple active sets of policies to be enforced.
    Consider, for example, a hosting company that hosts Benefits and Financial applications, which share some database objects. Both applications are striped for hosting using a SUBSCRIBER policy in the SYS_DEFAULT policy group. Data access is partitioned first by subscriber ID, then by whether the user is accessing the Benefits or Financial applications (determined by a driving context). Suppose that Company A, which uses the hosting services, wants to apply a custom policy which relates only to its own data access. You could add an additional driving context (such as COMPANY A SPECIAL) to ensure that the additional, special policy group is applied for data access for Company A only. You would not apply this under the SUBSCRIBER policy, because the policy relates only to Company A, and it is more efficient to segregate the basic hosting policy from other policies.
    How to Implement Policy Groups
    To create policy groups, the administrator must do two things:
    Set up a driving context to identify the effective policy group.
    Add policies to policy groups as required.
    The following example shows how to perform these tasks.
    Note:
    You need to set up the following data structures for the examples in this section to work:
    DROP USER finance CASCADE;
    CREATE USER finance IDENTIFIED BY welcome2;
    GRANT RESOURCE TO apps;
    DROP TABLE apps.benefit;
    CREATE TABLE apps.benefit (c NUMBER);
    Step 1: Set Up a Driving Context
    Begin by creating a namespace for the driving context. For example:
    CREATE CONTEXT appsctx USING apps.apps_security_init;
    Create the package that administers the driving context. For example:
    CREATE OR REPLACE PACKAGE apps.apps_security_init IS
    PROCEDURE setctx (policy_group VARCHAR2);
    END;
    CREATE OR REPLACE PACKAGE BODY apps.apps_security_init AS
    PROCEDURE setctx ( policy_group varchar2 ) IS
    BEGIN
    REM Do some checking to determine the current application.
    REM You can check the proxy if using the proxy authentication feature.
    REM Then set the context to indicate the current application.
    DBMS_SESSION.SET_CONTEXT('APPSCTX','ACTIVE_APPS', policy_group);
    END;
    END;
    Define the driving context for the table APPS.BENEFIT.
    BEGIN
    DBMS_RLS.ADD_POLICY_CONTEXT('apps','benefit','APPSCTX','ACTIVE_APPS');
    END;
    Step 2: Add a Policy to the Default Policy Group.
    Create a security function to return a predicate to divide the data by company.
    CREATE OR REPLACE FUNCTION by_company (sch varchar2, tab varchar2)
    RETURN VARCHAR2 AS
    BEGIN
    RETURN 'COMPANY = SYS_CONTEXT(''ID'',''MY_COMPANY'')';
    END;
    Because policies in SYS_DEFAULT are always executed (except for SYS, or users with the EXEMPT ACCESS POLICY system privilege), this security policy (named SECURITY_BY_COMPANY), will always be enforced regardless of the application running. This achieves the universal security requirement on the table: namely, that each company should see its own data regardless of the application that is running. The function APPS.APPS_SECURITY_INIT.BY_COMPANY returns the predicate to make sure that users can only see data related to their own company:
    BEGIN
    DBMS_RLS.ADD_GROUPED_POLICY('apps','benefit','SYS_DEFAULT',
    'security_by_company',
    'apps','by_company');
    END;
    Step 3: Add a Policy to the HR Policy Group
    First, create the HR group:
    CREATE OR REPLACE FUNCTION hr.security_policy
    RETURN VARCHAR2
    AS
    BEGIN
    RETURN 'SYS_CONTEXT(''ID'',''TITLE'') = ''MANAGER'' ';
    END;
    The following creates the policy group and adds a policy named HR_SECURITY to the HR policy group. The function HR.SECURITY_POLICY returns the predicate to enforce security on the APPS.BENEFIT table:
    BEGIN
    DBMS_RLS.CREATE_POLICY_GROUP('apps','benefit','HR');
    DBMS_RLS.ADD_GROUPED_POLICY('apps','benefit','HR',
    'hr_security','hr','security_policy');
    END;
    Step 4: Add a Policy to the FINANCE Policy Group
    Create the FINANCE policy:
    CREATE OR REPLACE FUNCTION finance.security_policy
    RETURN VARCHAR2
    AS
    BEGIN
    RETURN ('SYS_CONTEXT(''ID'',''DEPT'') = ''FINANCE'' ');
    END;
    Create a policy group named FINANCE and add the FINANCE policy to the FINANCE group:
    BEGIN
    DBMS_RLS.CREATE_POLICY_GROUP('apps','benefit','FINANCE');
    DBMS_RLS.ADD_GROUPED_POLICY('apps','benefit','FINANCE',
    'finance_security','finance', 'security_policy');
    END;
    As a result, when the database is accessed, the application initializes the driving context after authentication. For example, with the HR application:
    execute apps.security_init.setctx('HR');
    Validating the Application Used to Connect to the Database
    The package implementing the driving context must correctly validate the application that is being used to connect to the database. Although the database always checks the call stack to ensure that the package implementing the driving context sets context attributes, inadequate validation can still occur within the package.
    For example, in applications where database users or enterprise users are known to the database, the user needs the EXECUTE privilege on the package that sets the driving context. Consider a user who knows that:
    The BENEFITS application allows more liberal access than the HR application
    The setctx procedure (which sets the correct policy group within the driving context) does not perform any validation to determine which application is actually connecting. That is, the procedure does not check either the IP address of the incoming connection (for a three-tier system) or the proxy_user attribute of the user session.
    Such a user could pass to the driving context package an argument setting the context to the more liberal BENEFITS policy group, and then access the HR application instead. Because the setctx does no further validation of the application, this user bypasses the normally more restrictive HR security policy.
    By contrast, if you implement proxy authentication with VPD, then you can determine the identity of the middle tier (and the application) that is actually connecting to the database on behalf of a user. In this way, the correct policy will be applied for each application to mediate data access.
    For example, a developer using the proxy authentication feature could determine that the application (the middle tier) connecting to the database is HRAPPSERVER. The package that implements the driving context can thus verify whether the proxy_user in the user session is HRAPPSERVER. If so, then it can set the driving context to use the HR policy group. If proxy_user is not HRAPPSERVER, then it can disallow access.
    In this case, when the following query is executed
    SELECT * FROM APPS.BENEFIT;
    Oracle Database picks up policies from the default policy group (SYS_DEFAULT) and active namespace HR. The query is internally rewritten as follows:
    SELECT * FROM APPS.BENEFIT WHERE COMPANY = SYS_CONTEXT('ID','MY_COMPANY') and SYS_CONTEXT('ID','TITLE') = 'MANAGER';
    How to Add a Policy to a Table, View, or Synonym
    The DBMS_RLS package enables you to administer security policies by using its procedures for adding, enabling, refreshing, or dropping policies, policy groups, or application contexts. You need to specify the table, view, or synonym to which you are adding a policy, as well as the data pertinent to that policy, such as the policy name. Such data also includes names for the policy group and the function implementing the policy. You can also specify the types of statements the policy controls (SELECT, INSERT, UPDATE, DELETE, CREATE INDEX, or ALTER INDEX).
    for more you can refer to
    http://download-west.oracle.com/docs/cd/B19306_01/network.102/b14266/apdvcntx.htm

  • Constructing a Query based on condition

    Dear all,
    i have a table attendance, it have two types of records, 1 is PLANNED 2 is RELEASED.
    Dept_id *1* has two child sections. *2* and *3*.
    if the Data entry operator from Dept_id=1 is logon, he could see PLANNED & RELEASED (BOTH) attendance from Dept_id =1
    but
    he could only see those entries from his child departments which are RELEASED.
    How could we construct such a query?
    Regards

    Thank you dear,
    i have a table for Department
    create table departments (dept_id number primary key,
    dept_type char(1), ---- 1 for Department and 2 for Section (one department could have sections)
    dname varchar2(60),
    parent_dept number references departments(dept_id),
    location varchar2(60));
    create table attendance_header (att_date date,
    att_kind char(1), ------------1 for OFFICIAL and 2 for OVERTIME
    dept_sec_id number references departments(dept_id),
    status char(1), -------PLANNED or RELEASED
    is_holiday char(1),
    is_weekend char(1));
    alter table attendance_header add constraint pk_att_header primary key(att_date,att_kind,dept_sec_id);
    create table attendance_details (emp_id varchar2(4) references emp(emp_id),
    att_date date,
    att_kind char(1),
    dept_sec_id number references departments(dept_id),
    att_type_no varchar2(2) references attendance_types(att_type_no), --- late , absent etc
    duration number, ------ how much time he late
    transaction_invoker varchar2(50));
    these are the tables
    NOW, suppose we take 3 departments 1,2,3 . 1 is the head Department of 2 &3 sections.
    every section or department has its own manager.
    the department 1 manager could see the data of its own departments both PLANNED & RELAESED.
    BUT
    for the sections 2 and 3, HE (the department 1 manager) could see only the RELEASED Data.
    i want a single query which is issued by the department 1 manager for this purpose.
    thanks and regards.
    Edited by: Muhammad on Mar 31, 2010 1:19 AM

  • IS IT POSSIBLE TO EXECUTE A QUERY BASED ON USER

    Hi,
    I need to restrict a set of queries to a user. Is it possible.
    Thanks
    Mini

    This is done by standard parametrization using query groups and user authorizations.

  • Differet Load query based on parameter input

    Hi all,
    I'm developing my first application with HTML DB and I have a problem. I have a table with no primary key and a unique index on three columns and only one of these can be null. I'm building a form with my events that execute a query based on the data passed from another page.
    My problem is that I have two queries (one with the clause column_a is null and another one with column_a=value) but I'm not able to condition the execution on more than one item values; I'd like to know how to express into conditional processing section
    PXXvariable_1 is null and PXXvariable_2 is not null.
    I can use a workaround in the query using nvl but I'm wondering if is possible to expresso such constraints in constional processing section.
    Thanks to all,
    Giovanni

    Giovanni,
    See this section of the documentation on the HTML DB URL syntax:
    http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_fund.htm#sthref447
    You want something like this:
    f?P=101:<page ID>:&APP_SESSION.::::PXXPARAM_1,PXXPARAM2:VAL,
    Here, PXXPARAM_1 will be set to VAL and will be set to NULL
    Sergio

  • Use of writeChanges() / conformResultsInUnitOfWork in report query

    I have a usecase where i am saving data in different tables in same transaction
    I want to use ReportQuery so as to use functions likeaddAverage.
    ReportQuery query = new ReportQuery(res);
    query.setReferenceClass(Subject.class);
    query.addAverage("average-score", res.get("score"));
    But since data is still not commited, I wanted to use conformResultsInUnitOfWork.
    1.But I assume conformResultsInUnitOfWork can't be used with ReportQuery.
    Am I correct?
    2. According to toplink docs, we can use writeChanges() method on uow.
    But after you call the unit of work writeChanges method , we can'r egister objects or execute object-level queries.
    But after executing report query, I need to register obj /read objects to perform other use case operation.
    So how can we use Report query to perform query on uncommited changes & still be able to other UOW operations or read object queries
    Thanks for your help.

    Hi Jayesh,
    Please have a look at the below attachment.
    [http://help.sap.com/saphelp_470/helpdata/en/5b/d22e3843c611d182b30000e829fbfe/content.htm]
    Warm regards,
    Murukan Arunachalam

  • POP UP  inside a report: conditional query based on other col el. values

    HI to all,
    i've a really simple question: is there a way inside a pop up in a report, to refer to other columns value (of the same row)?
    I'm giving my example:
    i've a table called CNT_VAL_SEG_DEMO
    id
    des
    value
    value have to be a pop up LOV, query based:
    the pseudo sql code is this:
    SELECT DISTINCT VALUE V1 , VALUE V2 FROM CNT_VAL_SEG_DEMO WHERE
    des=<pseudo code>#DES#<pseudo code>.
    What should i use instead of #DES#
    Hope that is clear enough
    thanx a lot

    Hi,
    i think i've found the solution on htmldb studio.
    Doesn't matter.
    However for pointing who's reading
    to the right direction:
    http://htmldb.oracle.com/pls/otn/f?p=18326:54:3063779097888583::::P54_ID:1282
    Tips and tricks: Simulating a correlated sub report in Lov
    Thanx a lot
    Message was edited by:
    Marcello Nocito

  • Can I change column headings dynamically based on report query conditions ?

    Hi All,
    Is there a possibility in OBIEE to change the headings of the column dynamically depending on the conditions that i keep on the report query ?
    Assume that i am showing an emp table data of one department at a time.
    The column heading of employee name should be like <DEPT>_EMP,  Where <DEPT> is the department on which i was reporting..
    Example:
    Report query : Select * from emp where dept = 'PHYSICS'
    The column heading of employee name should be PHYSICS_EMP.
    Thanks in advance.

    Hello,
    did you try to create a column with the data of dept and put it in a column level of a pivot table?
    In the example that you gave, the column head would show 'PHYSICS' because it's the data filtered at your query. Them, you just edit this column and concatenate the '_EMP' string.

  • Include Button that executes PL/SQL procedure to SQL query based region

    I would like to add two columns to a SQL query region.
    These columns would not be sourced from the query, but rather would be used to execute a PL/SQL procedure.
    For example, I would like to have a manager approve or deny adding an additional employee to the department.
    There would be one button for APPROVE. And, one button for DENY.
    The PL/SQL procedure would execute to perform the required DML based upon the selected action (either APPROVE or DENY).
    A sample output would look like this:
    <APPROVE>, <DENY>, John Doe, Accountant
    <APPROVE>, <DENY>, Jane Doe, Accountant
    Is there any way to add a button to a SQL Query based report region where that button executes a stored proc? If so, what is the basic process for doing this?
    Thanks!
    -Reid

    Is there any way to add a button to a SQL Query based report region where that button executes a stored proc? If so, what is the basic process for doing this?Conditional page item? You can associate processes with buttons on a page

  • GO button to execute a query once report parameters are selected.

    I am familiar with the GO button depicted in chapter 10 of the 2 Day Developer manual that does not cause the report to be rendered until a user chooses a value from a select list of values. The GO button is used in conjunction with Null Value Text (ex. -Select-), Null Value (ex. -1), and Default (ex.-1).
    I need an alternative to the above method that will still force the user to pick a value from the List Of Values parameters prior to executing the query and rendering the report. Please provide.
    Thanks, Don From Maine

    Why don't you use a validation process?
    Denes Kubicek

Maybe you are looking for

  • VT Advantage vs. VPN client

    Hi, i have aproblem with cooperations between VT Adv. and VPN client. When i have installed both app. on my computer there is a problem with disconnecting VPN client. When i connect everything works fine but when i want disconnect there is a blue scr

  • WS Proxy and Data Types

    Hello All, JDeveloper 11.1.1.5 In my project we expect to generate many web service proxies for various web services. Some of these services use "common" XML types which share the same definition (including namespace). We want to have only one set of

  • Hiding Reference Fields While creating Customer Master

    Hi, I want to Hide Reference fields While creating customer master, Thanks in advance Thanks seshu

  • Employee Assignment Termination status as 'Terminate Process Assignment'

    hi everybody , can any body tell me what is the API i need to use to terminate an Employee Assignment with the status as 'Terminate Process Assignment' .currentely i am using "hr_assignment_api.actual_termination_emp_asg" but it is terminating the as

  • I want to stop this task from spawning ever again!

    I'm getting this error in my users console.... The sysadmin before me installed some software that relies on messagebus... probably for inter game communications.. com.apple.launchd[1] (org.freedesktop.dbus-system) <Warning>: Throttling respawn: Will