CAT2 - Limit WBS selection list

Hi,
We are running Timesheets using CAT2.
I am trying to limit the selection of projects (receiver WBS element) via the search help screen so that only released (REL) projects are listed. Can this be achieved in config or will this need to be coded?
Currently, every WBS created in CJ20N is visible, no matter what the system status is: CRTD, REL, TECO, CLSD - even marked for deletion. It is only when I physically delete a WBS  that it disappears from the list.
Obviously these codes will error on the timesheet if specific statuses have been set, so how can I prevent the users seeing them on the selection list if they are not for use?
Any help/advise would be useful.
Thanks in advance.

Hi graeme,
1. One way is using search help exit,
   and restrict the values.
2. Another is using EXIT,
  and checking, if there is any wrong entry  in the time sheet.
3. For that use the enhancement CATS0006 (using smod tcode).
  There u can validate the entire time sheet,
  while saving.
  (if there is any error , u can restrict from saving,
  after giving some message)
regards,
amit m.

Similar Messages

  • Limit on select lists in mru regions

    Has anynone experienced limtits on the number of select_list_lov(s) in multi-row updatable regions?
    I have experienced this using a wizard as well as creating the region manually. The thing is that if I use popup lov(s) it works fine with no errors - but I really want to use htmldb_item.select_list_from_lov(s). The error is:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If anyone knowa how to increase this buffer size or any work around it will be greatly apprceiated.
    Thanks,
    Sabrina

    Hi,
    I cannot believe that 32 k should be the limit. I used the following SQL:
    DECLARE
    v_sql_stmt VARCHAR2 (4000);
    BEGIN
    v_sql_stmt :=
    'SELECT x.del,x.creation_date,x.update_date,x.schaetzer_id,'
    || 'x.team_id,x.leistungsbeschreibung,x.personentage,'
    || 'x.stundensatz,x.betrag,x.kostenart_id,x.user_id,x.sch_id,x.cks '
    || 'FROM (SELECT htmldb_item.checkbox(1,rownum) del,'
    || 'htmldb_item.hidden(2,schaetzungsposition_id)||'
    || 'htmldb_item.hidden(3,schaetzung_id)||'
    || 'wwv_flow_item.display_and_save(4,'
    || 'nvl('
    || 'to_char(creation_date,''DD.MM.YYYY HH24:MI''),'' '')'
    || ') creation_date,'
    || 'wwv_flow_item.display_and_save(5,'
    || 'nvl('
    || 'to_char(update_date,''DD.MM.YYYY HH24:MI''),'' '')'
    || ') update_date, '
    || 'htmldb_item.select_list_from_lov(6,'
    || 'schaetzer_id,''SCHAETZER_LOV'',''style="width: 200px;"'',''YES'') schaetzer_id, '
    || 'htmldb_item.select_list_from_lov(7,'
    || 'team_id,''TEAMS_MIT_KEIN_TEAM'',NULL,''NO'') team_id, '
    || 'htmldb_item.textarea(8,'
    || 'leistungsbeschreibung,2,40) leistungsbeschreibung, '
    || 'htmldb_item.text(9,trim(to_char(personentage,''999990D00'')),10,10,'
    || '''STYLE="text-align:right"'') personentage, '
    || 'htmldb_item.text(10,trim(to_char(stundensatz,''999990D00'')),10,10,'
    || '''STYLE="text-align:right"'') stundensatz, '
    || 'htmldb_item.text(11,trim(to_char(betrag,''999999990D00'')),15,15,'
    || '''STYLE="text-align:right"'') betrag,'
    || 'htmldb_item.select_list_from_lov(12,kostenart_id,''KOSTENARTEN'','
    || 'NULL,''NO'') kostenart_id, '
    || 'wwv_flow_item.display_and_save(13,'
    || 'get_app_user_name(user_id)) user_id, '
    || 'schaetzer_id sch_id, '
    || 'htmldb_item.md5_checksum (creation_date,update_date,schaetzer_id,'
    || 'leistungsbeschreibung,personentage,betrag,'
    || 'kostenart_id,user_id '
    || ') cks '
    || 'FROM schaetzungsposition '
    || 'WHERE schaetzung_id='''||:P35_SCHAETZUNG_ID||''' '
    || 'AND schaetzer_id IN ('
    || 'SELECT a.person_id '
    || 'FROM app_user a '
    || 'WHERE a.person_id in (select s.person_id '
    || ' FROM schaetzer_view s))'
    || 'UNION ALL '
    || 'SELECT htmldb_item.checkbox(1,NULL) del,htmldb_item.hidden(2,NULL)||'
    || 'htmldb_item.hidden(3,NULL)||'
    || 'wwv_flow_item.display_and_save(4,'' '') creation_date,'
    || 'wwv_flow_item.display_and_save(5,'' '') update_date,'
    || 'htmldb_item.select_list_from_lov(6,:P35_DEFAULT_SCHAETZER,''SCHAETZER_LOV'','
    || '''style="width: 200px;"'',''YES'') schaetzer_id,'
    || 'htmldb_item.select_list_from_lov(7,NULL,''TEAMS_MIT_KEIN_TEAM'','
    || 'NULL,''NO'') team_id,'
    || 'htmldb_item.textarea(8,NULL,2,40) leistungsbeschreibung,'
    || 'htmldb_item.text(9,NULL,10,4,''STYLE="text-align:right"'') personentage,'
    || 'htmldb_item.text(10,NULL,10,4,''STYLE="text-align:right"'') stundensatz,'
    || 'htmldb_item.text(11,NULL,15,10,''STYLE="text-align:right"'') betrag,'
    || 'htmldb_item.select_list_from_lov(12,NULL,'
    || '''KOSTENARTEN'',NULL,''NO'') kostenart_id,'
    || 'wwv_flow_item.display_and_save(13,'' '') user_id,'
    || 'NULL sch_id, '
    || 'htmldb_item.md5_checksum (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL'
    || ') cks '
    || 'FROM dual '
    || ') x '
    RETURN v_sql_stmt;
    END;
    This SQ Query (PL/SQL function body) works with abaut 100 records on an Oracle 10g lon Windows. But it didn't work with 0 records on Oracle 10g on Sun solaris.
    Only using
    || 'htmldb_item.select_list_from_lov_XL(6,'
    || 'schaetzer_id,''SCHAETZER_LOV'',''style="width: 200px;"'',''YES'') schaetzer_id, '
    and
    || 'htmldb_item.select_list_from_lov_XL(6,:P35_DEFAULT_SCHAETZER,''SCHAETZER_LOV'','
    || '''style="width: 200px;"'',''YES'') schaetzer_id,'
    worked fine.
    Note:
    schaetzer_id number and :P35_DEFAULT_SCHAETZER has numeric value
    Can someone tell me if there is a bug or what is the difference between the operatiing systems in using HTMLDB 2.0?
    Thanks a lot
    Siegwin

  • Limit selection list for variables

    Hello Experts.
    Is there a way to limit the selection list for variables?  For example, there are many possible currency values for 0CURRENCY, but I want allow the user to choose only one of these choices USD, EUR, or HKD.  I would rather not do a validation check subsequent to the users making their selection.
    I must use 0CURRENCY rather than copying it to another characteristic and entering only those three keys in master data.
    Any ideas?
    Kind regards,
    Aron
    Edited by: Aron Weaver on Oct 1, 2010 1:08 AM

    If you are using the standard info object which is referring to '0CURRENCY' then it mayn't be possible to restrict the 'F4' list to few currencies in the standard BEx environment. There are couple of options to limit the 'F4' selections using the web template /BSP technology.

  • Dynamic select list with more than one value?

    I am creating a simple CRUD component for our company's Joomla site. This component allows our users to create discount bundles for our cart according to shopper group and products.  I've been using Dreamweaver to author the administrator forms and have run into a bit of a problem.  All of my forms work properly, but I need to be able to collect two values from each chosen multi-select listing. 
    Right now, when a user chooses an item under 'products', the site pushes back product_id, one of the variables I need.  I would also like product_parent_id to return with each result as well.  I need to be able to insert product_parent_id after the user has chosen their desired products.  product_parent_id is located in the same table as product_id.
    In the end, I need those two values to be pushed to another table, essentially creating a new entry for each product in the bundle.  Referenced by ID and parent ID.
    Pasted below is the administrator form code.  Any suggestions would be wonderful.
    Thanks!
    <?php require_once('Connections/SQLTest.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO jos_vm_related_products (product_id, related_product_id) VALUES (%s, %s)",
                           GetSQLValueString($_POST['products'], "int"),
                           GetSQLValueString($_POST['products'], "int"));
      mysql_select_db($database_SQLTest, $SQLTest);
      $Result1 = mysql_query($insertSQL, $SQLTest) or die(mysql_error());
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO jos_vm_relations (discount_type, discount, shopper_group_id) VALUES (%s, %s, %s)",
                           GetSQLValueString($_POST['amount_off_total'], "text"),
                           GetSQLValueString($_POST['dollar_amount'], "int"),
                           GetSQLValueString($_POST['shoper_group'], "int"));
      mysql_select_db($database_SQLTest, $SQLTest);
      $Result1 = mysql_query($insertSQL, $SQLTest) or die(mysql_error());
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO jos_vm_relations_messages (discount_message) VALUES (%s)",
                           GetSQLValueString($_POST['discount_message'], "text"));
      mysql_select_db($database_SQLTest, $SQLTest);
      $Result1 = mysql_query($insertSQL, $SQLTest) or die(mysql_error());
    $maxRows_Products = 10;
    $pageNum_Products = 0;
    if (isset($_GET['pageNum_Products'])) {
      $pageNum_Products = $_GET['pageNum_Products'];
    $startRow_Products = $pageNum_Products * $maxRows_Products;
    mysql_select_db($database_SQLTest, $SQLTest);
    $query_Products = "SELECT * FROM jos_vm_product";
    $query_limit_Products = sprintf("%s LIMIT %d, %d", $query_Products, $startRow_Products, $maxRows_Products);
    $Products = mysql_query($query_limit_Products, $SQLTest) or die(mysql_error());
    $row_Products = mysql_fetch_assoc($Products);
    if (isset($_GET['totalRows_Products'])) {
      $totalRows_Products = $_GET['totalRows_Products'];
    } else {
      $all_Products = mysql_query($query_Products);
      $totalRows_Products = mysql_num_rows($all_Products);
    $totalPages_Products = ceil($totalRows_Products/$maxRows_Products)-1;
    mysql_select_db($database_SQLTest, $SQLTest);
    $query_shopper_group = "SELECT * FROM jos_vm_shopper_group";
    $shopper_group = mysql_query($query_shopper_group, $SQLTest) or die(mysql_error());
    $row_shopper_group = mysql_fetch_assoc($shopper_group);
    $totalRows_shopper_group = mysql_num_rows($shopper_group);
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>">
      <p>
        <label for="products"></label>
      Choose the product(s) you would like to add to your new discount bundle.</p>
      <p>
        <select name="products" size="1" multiple="MULTIPLE" id="products">
          <option value=""></option>
          <?php
    do { 
    ?>
          <option value="<?php echo $row_Products['product_id']?>"><?php echo $row_Products['product_name']?></option>
          <?php
    } while ($row_Products = mysql_fetch_assoc($Products));
      $rows = mysql_num_rows($Products);
      if($rows > 0) {
          mysql_data_seek($Products, 0);
      $row_Products = mysql_fetch_assoc($Products);
    ?>
        </select>
      </p>
    <p>
      <input type="hidden" name="hiddenField" id="hiddenField" />
      </p>
      <p>Choose the subscriber group that you would like this discount to apply to.</p>
      <p>
        <select name="shoper_group">
          <?php
    do { 
    ?>
          <option value="<?php echo $row_shopper_group['shopper_group_id']?>"><?php echo $row_shopper_group['shopper_group_name']?></option>
          <?php
    } while ($row_shopper_group = mysql_fetch_assoc($shopper_group));
      $rows = mysql_num_rows($shopper_group);
      if($rows > 0) {
          mysql_data_seek($shopper_group, 0);
      $row_shopper_group = mysql_fetch_assoc($shopper_group);
    ?>
        </select>
      </p>
      <p>Please enter the dollar amount that you would like to adjust.
        <label for="dollar_amount"><br />
        </label>
        <input type="text" name="dollar_amount" id="dollar_amount" />
      </p>
      <p>
        <input name="amount_off_total" type="hidden" id="amount_off_total" value="amount_off_total" />
      </p>
      <p>Enter any message you would like the shopper to view during shopping and checkout when this discount is applied.</p>
      <p>
        <label for="discount_message"></label>
        <textarea name="discount_message" id="discount_message" cols="45" rows="5"></textarea>
      </p>
      <p>
        <input type="hidden" name="MM_insert" value="form1" />
      </p>
      <p>
        <input type="submit" name="submit" id="submit" value="Submit" />
      </p>
    </form>
    <br />
    </body>
    </html>
    <?php
    mysql_free_result($Products);
    mysql_free_result($shopper_group);
    ?>

    Thanks guys for you reply , [Cor Ligthert] I post this in Visual basic section, I appreciate your solution [dbasnett],
    Thanks for that idea of attribute <Flags> [Blackwood] ,
    Dictionary will not work in IF Statement as I want it , also ParamArray tbl() , thanks guys.
    Here is the code
    Module myModule
    <Flags()>
    Enum Table As Integer
    Table1 = 2
    Table2 = 4
    Table3 = 8
    Table4 = 16
    Table5 = 32
    End Enum
    Public Sub MySub(ByVal Table As Table)
    If (Table And Table.Table1) = Table.Table1 Then
    MsgBox((Table And Table.Table1))
    End If
    If (Table And Table.Table2) = Table.Table2 Then
    MsgBox((Table And Table.Table2))
    End If
    If (Table And Table.Table3) = Table.Table3 Then
    MsgBox((Table And Table.Table3))
    End If
    If (Table And Table.Table4) = Table.Table4 Then
    MsgBox((Table And Table.Table4))
    End If
    If (Table And Table.Table5) = Table.Table5 Then
    MsgBox((Table And Table.Table5))
    End If
    End Sub
    End Module
    Class Myclass
    Private sub CallTables()
    MySub(Table.Table1 Or Table.Table2)
    MySub(Table.Table2 Or Table.Table3 Or Table.Table4)
    MySub(Table.Table1 Or Table.Table4 Or Table.Table5)
    MySub(Table.Table1 Or Table.Table2 Or Table.Table4 Or Table.Table5)
    MySub(Table.Table1 Or Table.Table2 Or Table.Table3 Or Table.Table4 Or Table.Table5)
    end sub
    end Class

  • Limit on Select clause

    I am working on Oracle 10g 10.2.0.3 and I cannot select more than 1000 columns using SQL.
    But I could select more than 1000 columns in Oracle 11g R2.
    What is the limit on number of columns that can be selected in a select query on Oracle 11g R2?
    Also, can i get Oracle documentation which specifies this limit for select query?

    Hi,
    I think you can select as many columns you like in both 10g and 11g.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/limits003.htm#i288032
    You cannot however use more than 1000 columns in say create view as ... or create table as ...
    In both cases you will get
    ORA-01792: maximum number of columns in a table or view is 1000
    These limits probably also mean that you cannot use more than 1000 columns in your select list, when this is part of subquery factoring or inline views, or whenever the optimizer feels like treating that query as a view or table.
    In other words, you can:
    select 'n1', 'n2', ..., 'n1001' from dual;But you cannot:
    select * from
    select 'n1', 'n2', ..., 'n1001' from dual
    );My guess is, since you have a query in 11g that will not execute in 10g, it is due to how the optimizer re-writes the query in those two versions.
    Regards
    Peter

  • Select list pagination not working for big tables

    Hi,
    i am trying to view a table with large amount of data using tabular form. the pagination using select list is not working in this page. i have selected select list kind of pagination but it is showing "row range 1-15 16-30(with set pagination)' type of pagination. when i lowered the amount of data in the table the pagination type will automatically change to select list pagination. could you please tell me why this happens and any possible work around if any.
    Thanks,
    Jo

    Hi Jo,
    I don't know what you call a large amount of records, but the effect you describe might be intentional by apex.
    The select list pagination would generate a selection tag with (number of records in table/15) options in your page HTML.
    Although there isn't a hard limit to the number of options a select list can have there certainly is a limit to what your browser/pc can render.
    Think about it
    Let's say you table contains a million rows. this would result to a select list with 66666 options. Which your browser won't handle :)
    I very possible the apex team resolved this by simply reverting to row range pagination when the number of select options would grow to large.
    Geert

  • OnChanger="get_ajax_select_xml(this);" with  select list (query named LOV)

    Hello,
    i used Vikas'example Re: cascading lov for tabular form
    i have a problem with Select list (query based LOV)
    when run tabular form i have the following error:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    the number of rows of the Lov are 900
    the display variable is 70 char
    is there any limit?
    Thank in advance
    Costanti

    Leo,
    Thanks for the response, but I don't think you quite understand my problem. If I go to the Column Attributes screen for the group_id field, I have the "Display As" drop down set to "Select List (query based LOV)", not "Select List (named LOV)". This requires that the sql query be written in the "List of values definition" text area below. Within that text area I have the following query:
    SELECT DISPLAY_NAME, GROUP_ID
    FROM APPLICATION_GROUPS
    WHERE APP_ID = ?????
    ORDER BY 1
    The APP_ID that I need to reference is for the current row of data that is being processed. Therefore, I can't use a :PNNN_APP_ID variable, because that field does not exist on the page.
    Hopefully this explains it a little better.
    Thanks,
    Kris

  • Item(select list) with LOV and Report with link = changed value item

    Hello,
    On one page I have:
    - Item 'P_name' (select list) with LOV to select name of a person;
    - Items 'factory' and Report 'factory'(standard created with 'Form with Report' on the same page).
    Situation:
    All works fine. I selected first a LOV Item 'P_name' (say 'Jane'). But....
    Only when I select a record (to change the values) from the report 'factory' then LOV Item 'P_name' become empty. Report used a link to the same page to fill the report items 'factory' and make also the LOV item empty.
    Question:
    I have made a process that write the name 'Jane' to table.
    I see two possibilities:
    - LOV Item value => fill the LOV item with 'Jane' from the table before region. Is this possible?
    - Report => What is the buttonname of reportlink? I can use this name in the processes.
    Thanks Walter!

    1) what i meant was for you to test this ridiculously huge LOV outside of htmldb, but it occurred to me last night that you could, in fact, be hitting a limit of ours. after some poking around, i have confirmed that. select list items in htmldb are currently limited to 10,000 rows. this was initially done for performance reasons, but they're now opening up the restriction. if you really need to work with that many rows where the user is allowed to pick from a set of values, consider using a popup item type instead. it'd help your app performance as well (in my test cases, it stank to have to wait for my 10k select list rows to come down to my browser).
    2) sorry to not have been more clear about this, but when you set your item's "Source Type" back to "Database Column", you'd have to specify that column in the "Source or value expression" field. also, you can't put a sql query into that "Post Calculation Computation" field. as i said before, "you can take a look at the attribute-level help for that field to see implementation examples."
    3) stick with "Always..." for now if you're using our auto-dml process(es)
    regards,
    raj

  • Size of select-list

    Hi,
    I was told that a select list cannot be bigger than 32K - is this still true or has this bug been fixed for version 3?
    If this is still true, then how do I avoid getting problems if the select-list becomes bigger than 32K?
    Thanks.

    Hello user629987 (please tell us your name, we're a friendly group),
    I'm not sure about the limit but it's entirely possible. I guess I'm wondering how useful a huge 32k+ select list would be? Have you considered using a pop-up LOV?
    Regards,
    John

  • Select list with redirect and save the item to insert row

    On the Form, I want to select from the item (P105_ADMIN_DOMAIN_ID)
    and pop the result on the item (P105_ADMIN_NAME).
    P105_ADMIN_DOMAIN_ID define:
    Display as "select list with redirect"
    Alternate source used "Only when .."
    Source Type "Database Column"
    Source Value or express "ADMIN_DOMAIN_ID"
    P105_ADMIN_NAME define:
    Display as "Text Field"
    Altrenate source used "Only when .."
    Source Type "SQL Query"
    Source Value or express "select party
    from responsible_party
    where logonid
    = :P105_ADMIN_DOMAIN_ID"
    questions:
    1. item P105_ADMIN_DOMAIN_ID DROP DOWN LIST is limited to
    some threadhold, it did not list all the value from
    the LOV which is follow:
    select LOGONID d, LOGONID r
    from RESPONSIBLE_PARTY
    order by 1
    2. I want to insert a row after complete the form.
    But my item P105_ADMIN_NAME is defined
    Source Type "SQL Query" instead of the 'Database
    Column'
    How could I overcome these?
    Thanks so much for your help.

    1) what i meant was for you to test this ridiculously huge LOV outside of htmldb, but it occurred to me last night that you could, in fact, be hitting a limit of ours. after some poking around, i have confirmed that. select list items in htmldb are currently limited to 10,000 rows. this was initially done for performance reasons, but they're now opening up the restriction. if you really need to work with that many rows where the user is allowed to pick from a set of values, consider using a popup item type instead. it'd help your app performance as well (in my test cases, it stank to have to wait for my 10k select list rows to come down to my browser).
    2) sorry to not have been more clear about this, but when you set your item's "Source Type" back to "Database Column", you'd have to specify that column in the "Source or value expression" field. also, you can't put a sql query into that "Post Calculation Computation" field. as i said before, "you can take a look at the attribute-level help for that field to see implementation examples."
    3) stick with "Always..." for now if you're using our auto-dml process(es)
    regards,
    raj

  • Multiple select lists in tabular form

    Hi,
    I created a tabular form with two select lists (Queries are same for both the select list and results around 300 records in the SQL).
    I am getting the following error:
    report error:
    ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If I changed Select list to POP list, I am not getting error.
    Please suggest how to user select list in this case.
    Regards,
    Meda

    LnTInfotech wrote:
    I created a tabular form with two select lists (Queries are same for both the select list and results around 300 records in the SQL).
    I am getting the following error:
    report error:
    ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If I changed Select list to POP list, I am not getting error.
    Please suggest how to user select list in this case.It is not possible. There is a 32K limit on the HTML generated for select list items. (As a type of report, tabular forms are also subject to the 32K limit on the size of a report row.)
    In terms of usability 200 options is about the maximum size I would consider sensible for a select list ( and for select lists in tabular forms, much, much fewer!)
    Use Popup Key LOVs.

  • Too big select lists

    Any advice for what to do when you are using a select list and the dynamic query that it builds upon might some time in the future be too big for it?
    For example I am currently using a select list for all projects registered in a CRM application. What about when this list grows to more than it can hold as a result of the customer adding 300-400 projects (I guess there is a 4000 char limit in total for this page item)?
    Regards
    runski

    Hi
    I suppose that you could use a cascading LOV and then separate your projects by category, even this could lead to lists that are too long to be easily usable though.
    My suggestion would actually be to have a searchable report region of your projects and their attributes with something like a link column that the user can select to to to another page, populating an item with the project id.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Auto find Select List

    I'm using a Select List (with submit) in my application and it's a long list, the available select list search by the first letter (if I pressed two letters it would search for words begins with the second letter)....
    Can we find or create a Select List with more than one letter search facility.
    Regards
    Saad

    This does work in IE7, but you have to type quickly!!
    If you have a list of:
    Andrew
    India
    Martin
    Michael
    Richard
    And type 'M', pause, 'I' you will jump first to Martin and then to India.
    Type 'M','I' and you will jump first to Martin and then to Michael
    There does not seem to be a limit on how many letters you can type - just don't pause.
    Hope this helps,
    Martin

  • Condition that checks the value of an Item derived from a select list

    I want to conditionally display and hide items in a region based on a select list item.
    Some items will display when the select list is at the default (%null%) and others will be displayed when the select list user selects from the select list.
    The display is then updated when the "SAVE" button is pressed and the page processed.
    How do I test the select list item to be null. The condition looks like this;
    Type: PL/SQL Expression
    :P1_SELECT is null
    I also tried, :P1_SELECT is not null and :P1_SELECT = '%nul%'.
    The latter changed the condition to :P1_SELECT = ''
    How can I test the valu in P1_SELECT?
    tia,
    Sam
    Message was edited by:
    After a long day I saw that I did not write the condition correctly. Mea culpa.
    slavanaway

    I had the problem wrong.
    The issue was a second field that could have a Y or N or null. When I checked it in PL/SQL expression as
    :P_YN != 'Y' and :P_SELECT is null
    assuming the null condition would resolve as != 'Y' I had to do an explicit check as
    (:P_YN != 'Y' or :P_YN is null) and :P_SELECT is null
    That fixed it.... I like null and I hate null
    Thanks for the reply

  • Set Default Value of Multi-select list item

    I have a multi-select list item I want to default the value of to '%' (which is really '%null%') and have it selected. I tried setting default value of item, but it doesn't take '%null%'. I also tried a computation with a static of
    :P507_ITEM := '%null%'; How do you get the default value set and selected?

    Hi
    Shijesh is right, you need to change your null return value and use that return value as your default. Try and use something of the same datatype as your real return values if you plan to use '%' to display all as it will make your queries simpler. eg.
    Company A returns 1
    Company B return 2
    % returns 0
    Then your query would be...
    SELECT ...
    FROM ...
    WHERE company_id = DECODE(:P_COMPANY,1,1,2,2,0,company_id)
    Hope this makes sense.
    Cheers
    Ben

Maybe you are looking for