Limit array selection

I am wondering if there is any way to limit an array control so that the user can only put information into a certain number of spots. What I mean is: I have an array of clusters that ask for certain configuration controls from the user. However there can only be 8 different configurations per array. I can't find a way to keep the user from editing more entries than 8. (This is purely for ease of use, as it is the program will discard anything past the 8th entry).
Attached is a picture of the control that I want to limit the user from selecting 9 or more entries on.
Attachments:
LimitArray.png ‏13 KB

It would be more compact if you were to use an XControl, but you don't have to use an XControl. You could, for example, hide the index display for the array, and provide your own control for selecting the element to edit. You can then use the data range properties on this control to set your limit of 8. When the user selects a specific element you can set the visible element, as mentioned in the previous reply.

Similar Messages

  • Logical 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?
    Edited by: 844063 on Apr 26, 2011 10:53 PM

    Well, then, on a related note, I have at least some tables that do not show all the columns in the column or data views in SQL Developer. I get the first 76 columns for one table that I have in mind. The index build utility also does not show all the available columns in the table.
    "Select *" does show all the columns, and so does the DESCRIBE statement. Is there a setting in preferences (I couldn't find it) that controls this?

  • 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

  • Limit a select statement

    hey everyone
    i was wondering if someone could assist me and tell me how to limit a select statement to just the top 25 outputs. ie: the top 25 employees with the longest years of service.
    any help, i am just learning this stuff
    thanks
    josh

    Assuming the structure of the emp table in the scott schema, something like
    SELECT *
      FROM (SELECT *
              FROM emp
             ORDER BY hiredate desc)
    WHERE rownum < 25Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Limit choice selection?

    Hi! I'm having a problem with the option above. When I save my form as pdf file and open it with adobe reader limit choice doesn't work, I can tick as many answers as I want, even though I made 2 answers as maximum. What am I doing wrong?

    Hi Perry,
    I'm work with the Multiple Choice Field. From field properties I tick Limit Choice Selection and I set min 1 max 2 (or 3, doesn't matter).
    On my pc where I have FormsCentral installed I use Adobe reader X, on my laptop I have Adobe reader XI. Nowhere answer limitation works.

  • Any way to limit POV selections between different dimension?

    Hi,
    For Hyperion Planning:
    My users continuously ask for to limit POV selections between different dimensions.
    For example,
    Dimension Entity: West, South, East, North
    Dimension StoreType: Mega, Super, Normal
    However, the following combinations make sense in current business context.
    West - Mega
    West - Super
    West - Normal
    South - Normal
    East - Normal
    If users select East - Mega, this does not make sense since there is no such combinations in current business context.
    Do any one know a way to limit the wrong selection?
    Thank you in advance.
    Casper H

    This link will give you the answer :- Re: Help in Data forms
    probably not the answer you want to hear though.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • 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.

  • Limit array dimension

    On the front panel is an array of dbl. I want to only allow the user to select four (0-3) using the index display. How can I limit the index display?
    Solved!
    Go to Solution.
    Attachments:
    Array dimensions.vi ‏6 KB

    You can hide the index display, then make a seperate control where you can set entry limits. Use a value change event on it to set the "index values" property to scroll the array. Make the upper limit of the control dependent on the size of the array and the number of elements visible.
    For example, if the array is size=4 and the display is size=3, only allow 0..1 on the control using data entry limits.
    You could even wrap the entire thing into an xcontrol. The advantage of an xcontrol is the fact that is also work in edit mode.
    Message Edited by altenbach on 02-01-2010 09:35 AM
    LabVIEW Champion . Do more with less code and in less time .

  • 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

  • Can i limit the selection in Logical database ?

    hello  ,
    how can i limit the number of records in Logical
                                  database ( my "yyf"  , not standart )   ?
    i get dump on memory  , when i press F4 , becouse i have to many records ,
    so how can i limit the amount of records .
    in se36 ?
    in my program  ( se38 ) ?
    dump description
    &INCLUDE INCL_INSTALLATION_ERROR
    The current program had to be terminated because of an
    error when installing the R/3 System.
    The program had already requested 386785568 bytes from the operating
    system with 'malloc' when the operating system reported after a
    further memory request that there was no more memory space
    available.

    Hi ,
    Hope this helps you .
      SELECT roll name
      FROM tab
      INTO TABLE it_tab.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ROLL'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = 'P_ROLL'
          value_org       = 'S'
        TABLES
          value_tab       = it_tab
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.

  • Limit member selection based on access in running Hyperion Financial Report

    Hi there
    I am wondering, is it possible to limit the member selection in a prompt box based on what access they have when running a Hyperion Financial Report?
    I know its possible to limit the user POV based on the members they have access to (in Preferences) but we have a reporting requirement on the page dimension to prompt the user for what cost centres they want to run the report for. When I used a prompt function the user gets to select any cost centre in the "choices" range regardless of whether they have access or not. We just want it to show what cost centres they have access to.
    Thanks

    If the datasource is ready only and not writeable for the users, then you can use MetaRead filters for cost centre, which will only show the hierarchies the users have access to.
    (You cannot mix Write and MetaRead filters in the same filter, it would be Write and Read).
    Let me know if that's an option.
    Cheers, Iain

  • Javascript hel - how to limit date selection ?

    I  use the following javascript to validate a start and end date, and radio buttons on my form. What I need to do is limit the date selection to 30 days only. Anything more should display an error. So if I enter starting date of 1/1/2009 and ending date of 2/28/2009, then I should get a popup error. How can I do this with my exisintg code :
    <Script language="JavaScript">
      function validateForm()
    if(document.indexForm.startDate.value == "" && document.indexForm.endDate.value == "")
        alert('Start Date and End Date cannot be blank.');
        indexForm.startDate.focus();
        return(false);
    if(document.indexForm.startDate.value > document.indexForm.endDate.value)
        alert('End Date cannot be less than Start Date.');
        indexForm.endDate.focus();
        return(false);
    if(document.indexForm.startDate.value !== "" && document.indexForm.endDate.value == "")
        alert('End Date cannot be blank.');
        indexForm.endDate.focus();
        return(false);
    if(document.indexForm.startDate.value == "" && document.indexForm.endDate.value !== "")
        alert('Start Date cannot be blank.');
        indexForm.startDate.focus();
        return(false);
    myOption = -1;
        for (i=indexForm.region_code.length-1; i > -1; i--) {
        if (indexForm.region_code[i].checked) {
        myOption = i; i = -1;
        if (myOption == -1) {
        alert("Please select a region.");
         return(false);
    myOption = -1;
        for (i=indexForm.reportName.length-1; i > -1; i--) {
       if (indexForm.reportName[i].checked) {
       myOption = i; i = -1;
        if (myOption == -1) {
       alert("Please select a report.");
         return(false);
    return(true);
    </Script>

    Step 1.  Get rid of anything that can be done with a cfinput tag and the built in js that comes with it.
    Step 2 - js is reading strings, not dates from your text boxes.  Convert these to dates before you start comparing the values to each other.

  • Need limit data selection to GL_Period in FDM integration script

    Greetings!
    I am trying to modify an FDM Integration script to limit the data selection to a specific GL period name. The FDM function passes 4 parameters of which one is dblPerKey. My understanding is that this parameter contains the end-date of the requested GL Period and thatthe element is a datetime data type. I have tried several incantations of VB Script to create a period name in MON-YY format and all seem to fail with no data returned. What I am not understanding is what is the content of dblPerKey and can I use it to derive a GL period name? If not, I am open to any and all suggestions.
    My deepest appreciation and thanks for any and all suggestions you may send my way.
    Tom

    Hi Tom
    If you haven't already I'd try posting this in the FDM forum as I think you are more likely to get an answer there.
    Performance Management Applications > Financial Data Management
    Regards
    Stuart

  • Hyperion FR , Planning Details, Limit member selection based on access.

    Hi There
    I am working on a project
    Version 11.1.2.2, FR connected with "Planning Details""
    I want to limit POV "Entity" member selection based on access right and I don't want to set User POV one by one.
    For ex:
    US users don't need to see Canada users' entity.
    I am looking for a solution or workaround that can be easy to manage and save time.
    Highly appreciate and Thanks

    You can actually set the default values in jconsole. jconsole can be started with FRConfig.cmd (normally under C:\Oracle\Middleware\EPMSystem11R1\products\biplus\bin).
    Change the value of "com.hyperion.reporting.HRPrefs.filter_by_security" to true, this way, the the default values will be true for all users who haven't set it in user preference yet.
    This will list only the members which the users has access.
    I believe this is what you are looking for.
    Edited by: Krishna Kumar K P on Sep 14, 2012 9:50 AM

  • How to limit the selection of Ship To Party

    I have a Biz Case:
    "A" user have 2 Ship to party "B" and "C" in the customer master data, when I create a OR order, I found I can use "D" user as the ship to party(of course, A is sold to party).
    So I want to impl this function:
    if sold to party is A user in a sales order, ship to party can only be B or C, how to config it?
    thanks...........

    Hi Zhang,
    You are correct. You can enter ship-to D even though it is not maintained. As described in OSS note 380507 the
    system will accept every ship-to party which you select manually. The ship-to party doesn't have to be associated
    with the sold-to party in the customer master data. It is only required that the selected ship-to party is maintained in the           
    same sales area.                                                                               
    To get the system to work differently a modification is needed.                     
    Some tips for a modification:                                                        
    - table TPACHECK (which checks should be performed)                          
    - function modules SD_PARTNER_SINGLE_MODIFY                                  
      -> SD_PARTNER_CHECK_BEFORE (error messages)                                
      -> SD_PARTNER_CHECK_AFTER (info and warning messages)                                                                               
    Or another option you may consider userexit in MV45AFZZ (maybe        
    userexit_save_document or userexit_save_document_prepare).
    Hope this helps.
    Best regards,
    Ian

Maybe you are looking for

  • Windows AD exception: "There is a naming violation"

    When we try to execute a report in the SQL Reporting service, the following error come out:  System.DirectoryServices.DirectoryServicesCOMException: There is a naming violation.  ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionEx

  • Two maverick issues:

    1. Acrobat, Safari, Chrome and Word keep suddenly crashing - I gues sthey are what I mostlyuse so could be more 2. If my computer goes to screen saver/sleep mode  after leaving it for a while all programs that were open have to be recovered. Bit like

  • TDS_Capability packet difference between 12.5.4 and 15.7

    (SAP Incident 914404 / 2014 ) Hello, We migrated a 12.5.4 server to 15.7 but had to return to 12.5.4 because of different behaviour of the server. We have a query that selects a char(4) column with content 'OK' using JConnect (jconn4). In 12.5.4 the

  • Toolbars for PDF in Internet explorer

    I somehow turned off my Acrobat toolbar (menu)in Internet Explorer. I cannot figure out how to get it turned on again (and actually have looked at the preferences/internet. Any advice? Thanks.

  • Graphics issues in OS X Lion: shift after 10.7.2 update

    Hello. When OS X Lion 10.7.0 first time Installed on notebook I look on cool effects in finder and desktop. Ussualy it's a folder animations on file operations ... After update Clien or Combo from Apple update site 10.7.2 folder animations and other