Control array's scrollbar shows more rows than dimensions

When an array's dimension and Number of Rows property are set to the same value, its vertical scrollbar is shown and implies there is one more row available in the array than the actual array size.
This happen only if the array is a control, not when it is an indicator.  As an indicator, no scrollbar is shown at run time.  In edit mode, a scrollbar is shown when as an indicator.
Is there a way to not have the scollbar appear if the number of rows equals the array size yet have it appear when the number of rows is less than the array size ?
Example vi attached.
Attachments:
Array scroll bar dimension.vi ‏18 KB

Jennifer,
In practice, the number of displayed array rows is restricted so that only enough rows are shown to remain within the bounds of the front panel.  Otherwise as the array size is increased, the array will extend off the bottom of the screen.  My modified version shows this restriction.  But notice that as a control, the array shows one more dimension than it had been allocated to (and is shown as a disabled row).   In fact, clicking on the bottom arrow of the scollbar will continue to add more rows to the array control.
Steve
Attachments:
Array scroll bar dimension.vi ‏22 KB

Similar Messages

  • Why does my exported swf show more content than actually on frame?

    Why does my exported .swf show more content than actually on frame?
    My problem is relatively simple, though, I had some trouble finding a solution to it:
    When I play my exported animation using flash player in Google Chrome, if the window is bigger than the resolution flash document/frame, it shows content not meant to show up on the frame -- like parts of a huge background that aren't supposed to show up yet.
    In other words, how do I constraint the .swf to the white background/document resolution?

    Anyone? I'd appreciate it if someone replied soon -- I am done with my project once this issue is resolved, and I am excited to publish it.
    Please respond if you have any useful knowledge on the matter!
    Thanks!

  • Select-options in Selection Screen to show more rows for entering values

    Hi all,
    In my webdynpro abap  I have added the SELECT-OPTIONS componenet and working fine.
    User need  in the Selection Screen for select options  more rows to show entering values in single time.
    THe Default Rows show only 5 .
    user need to change to 10 or 15 Rows to show.
    Pl help .
    THanks in advance.
    Dev

    Hi,
    Here is the way which I just tested and found working.
    This is the main code which needs to be written.
    TYPES:
        ty_r_vbeln TYPE RANGE OF vbeln,
        ty_s_vbeln TYPE LINE OF ty_r_vbeln.
    data ls_vbeln type ty_s_vbeln.
    field-symbols <fs_range> TYPE INDEX TABLE.
    ASSIGN lt_range->* TO <fs_range>.
    do 10 times.
    APPEND ls_vbeln TO <fs_range>.
    enddo.
    For further refinement, you can create a input field in view for number of lines to be shown as enabled.
    The complete code is as below.
    DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
    lo_cmp_usage =   wd_this->wd_cpuse_select_options( ).
    IF lo_cmp_usage->has_active_component( ) IS INITIAL.
      lo_cmp_usage->create_component( ).
    ENDIF.
    DATA lo_interfacecontroller TYPE REF TO iwci_wdr_select_options .
    lo_interfacecontroller =   wd_this->wd_cpifc_select_options( ).
    DATA lo_r_helper_class TYPE REF TO if_wd_select_options.
    lo_r_helper_class = lo_interfacecontroller->init_selection_screen(  ).
    Creating range table
    DATA lt_range TYPE REF TO data.
    CALL METHOD lo_r_helper_class->create_range_table
        EXPORTING
          i_typename     = 'VBELN'
        RECEIVING
          rt_range_table = lt_range.
    Disabling the global options
    CALL METHOD lo_r_helper_class->set_global_options
      EXPORTING
          i_display_btn_cancel  = abap_false
          i_display_btn_check   = abap_false
          i_display_btn_reset   = abap_false
          i_display_btn_execute = abap_true.
           TYPES:
        ty_r_vbeln TYPE RANGE OF vbeln,
        ty_s_vbeln TYPE LINE OF ty_r_vbeln.
    data ls_vbeln type ty_s_vbeln.
    field-symbols <fs_range> TYPE INDEX TABLE.
    ASSIGN lt_range->* TO <fs_range>.
    do 10 times.
    APPEND ls_vbeln TO <fs_range>.
    enddo.
    Adding the selection field
    CALL METHOD lo_r_helper_class->add_selection_field
        EXPORTING
          i_id                         = 'VBELN'
          I_OBLIGATORY                 = ABAP_TRUE
          I_NO_EXTENSION               = abap_false
          i_value_help_type = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
          it_result                    = lt_range.
    Edited by: Jayanthi Jayaraman on Dec 2, 2010 8:29 AM

  • HT201210 My Music library is showing more songs than I actually have? How do I fix this?

    My actual music library on my phone is showing 100+ more songs than I actually have. But on my computer it's showing a completely different (less) number? Should I restore?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.      

  • CallsAnsweredToHalf shows more calls than CallsHandledToHalf + ReserveCallsToHalf columns

    We're running UCCE 8.5 with CVP 8.0 and UCM 7.5
    When I look at the Agent_Skill_Group_Half_Hour table I see that the
    CallsAnsweredToHalf column equals the sum of the CallsHandledToHalf and the ReserveCallsToHalf columns but only 95% of the time.
    What I mean is that out of the 300+ agents we have for 10 of them it doesn't match.  The CallsAnsweredToHalf column shows 1 more call than in the
    CallsHandledToHalf and ReserveCallsToHalf columns. 
    I have looked and compared at the other columns to see if maybe there's a third column in the mix but it doesn't look like it.
    Does anybody know why of this discrepancy?  a bug maybe?
    thanks

    Hi,
    It wont be same always the CallsAnsweredToHalf and CallsHandledToHalf because with in half hour which are call is answered by the agent is updated in the CallsAnsweredToHalf column but only the calls that have been answered and have completed wrap-up by agents in the skill group during the half-hour interval will be updated in the CallsHandledToHalf column.
    Regards,
    Gnaneswaran.

  • IPad mail icon shows more emails than there actually is?

    My iPad shows more unread emails than there actually is - How do I fix this?

    I figured it out! Clicked on EDIT then clicked on "mark as unread," on the bottom of the page; then clicked "mark as read," and it was fixed.

  • Sender JDBC adapter SELECT / UPDATE issue - updates more rows than selected

    Hi,
    We have configured a Sender JDBC Adapter to poll records from an Oracle table based on a flag field and then update the flag for the selected records. When tested in DEV and QA environments (where test data comes in intermittently and not in huge volumes), itu2019s working fine.
    Both SELECT and UPDATE queries written in the Sender JDBC adapter are getting properly executed and are changing the status of the flag for the selected records from Y to N once read from the database.
    select * from <table> where flag = 'N'.
    update <table> set flag = 'Y' where flag = 'N'.
    But in the PROD environment (with records getting updated in the database every second), after XI executes the SELECT query and just before the UPDATE query is executed, new records come into the Oracle table with status flag 'N". So when the UPDATE query runs just after the SELECT query, then these unselected records also get updated to 'Y'. Thus these records never get into the resultset and hence XI and thus remain unprocessed.
    So when XI does a SELECT and UPDATE on the Oracle DB table and concurrently there is an INSERT happening into the table from the other end, the JDBC sender adapter is picking up a certain number of records but updating the status of more records than it picked up.
    So how does XI deal with such a common scenario without dropping records?
    Thanks,
    Vishak

    The condition being checked is the same for both SELECT and UPDATE statements.
    Initially I tried setting transaction isolation levels on the database to repeatable_read and serializable but it was throwing me a java.sql.SQLException error saying that these transaction levels were not valid.
    I asked for these transaction level permissions for the XI user from my DBA but the DB I am accessing provides only a view into other databases and so it's not possible.

  • BW Query showing more Material than R/3 Query, Why..??

    Hi All,
    I am facing problem when running the query on Inventory cube 0IC_C03.
    I have loaded data from 3 Data Sources 2LIS_03_BX, 2LIS_03_BF and 2LIS_03_UM as mentioned in below link and strictly followed by applying Marker updates after the load
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Now the problem is,
    End User trying to compare BW Inventory Query (Plant Analysis: Stock) values with MC.1 (Plant Analysis: Stock: Selection)
    In R/3 (MC.1) showing the total number of materials are 3755 for the period 01.2008
    In BW Query for the same period (01.2008) total number of materials are 3960
    I am doubting why BW showing more materials?, this resulting the differance value for Valueated Stock value and Valuated Stock Quantity when we compare with R/3.
    When i am comparing material wise in BW query with MC.1, whatever the missing Materials are showing in BW Query as 0 Quantity but some value
    Ex:    Values is =  -£ 51.46 and Quantity is = 0 EA
    Please provide me some inputs, your help will be appreciated.
    Regards,
    Rajesh

    Hi Rajesh,
    Please check the Material numbers which are coming extra in BW not in R/3 whether they are under any material group. If they are all in under the "#" material group then u can restrict the query by filtering the material group "#".
    Just filter Excluding the "#" material group in the query.
    Then you will get the right values.
    Hope this may help you.
    The difference between the BW and R/3 material numbers is because. Some extra materials may get from the UM datasource, so you are getting only values and not the quantities.
    Try the above idea. I hope it works.
    With Regards,
    Ravi Kanth.

  • Query returns more row than expected

    1. select * from view_name where col1 = 'value1' returns 12 rows
    2. select * from (view script) where col1 = 'value1' returns 24 rows
    i have a view called view_name. If i use view_name directly in the query, it returns 12 rows. But if i use the select script directly in from clause, it returns more rows. I am not able to find out why it is happening so. Any pointers will be helpful.

    Are you saying that the SQL for view_name and view_script are identical? Can you post them?

  • Batch input: how to fill in more rows than the ones for the screen's size.

    Hi everybody,
    I am working on a batch input for transaction ME38.
    When, through my abap code, I am filling in the second screen's table, the system stops, telling me there is no field "43" on the screen.
    Here is a summary of the batch input:
    EKET-MENGE(1)               66,000
    RM06E-EEIND(1)     30.06.2009
    EKET-MENGE(31)               66,000
    RM06E-EEIND(31)     30.06.2009
    EKET-MENGE(43)               66,000
    RM06E-EEIND(43)     30.06.2009
    In fact, my screen has 31 lines, but 43 entries must be filled.
    I can program a logic to go to the next screen when entry 31 has been filled, but how to know what is the screen limit?
    Because my program will not always be started by me, and will, most probably, be started in background jobs...
    Do you see a way to process that can help me?
    Is there a way to not be "screen size dependant"?
    Thanks in advance for your help.
    Regards,
    Rudy

    Hi...
    This issue can be resolved by creating a recording in SHDB transaction for 43 records and press add more rows button evytime you do that..
    As the rows will be added to the table during runtime you need not worry about the limit of the table entries.. and it will work fine..
    Hope this helps

  • Reports showing more visits than Google Analytics

    Question:
    I have been receiving significantly high reports on numerous blogs posted across two different sites. When I compare the BC report to Google Analytics it's a massive different in numbers/page views.
    Page views on web pages seems normal. But the blog reporting is significantly higher than what we suspect.
    Answer:
    A couple of things:
    1, Always expect a 10% difference between BC reporting and a JavaScript based solution such as Google Analytics, as roughly 10% of web users browse with JavaScript disabled.
    With this disabled, Google Analytics has a very limited ability for tracking unique user visits, as it can't place a cookie on their system or send data back to the Google servers.
    As BC's tracking is all done server side (ie. not some code snippet you're pasting in), it should be able to more accurately measure these statistics.
    2. Some web crawlers may not bypass BCs filtering and hence be recorded as hits.
    For instance, with your blog you may have more heavily distributed links throughout the web via social media. A whole range of crawlers, archivers and indexers then visit those links to absorb the information and further spread it.
    Most of these automated browsers have JavaScript disabled, so again, your Google Analytics simply won't pick their traffic up.
    BC will record their traffic however, and they actively try to filter these out - but I'm sure some inevitably fall through the cracks  and get marked as legitimate traffic.

    Hi,
    Its just a general thought and I realize you know your application and user community better I do, but do you think your users are going to be very happy when they are presented with a report with more than a hundred columns? Have you considered maybe presenting the data in some sort of rolled up form from which the user can then drill down to the data they are particularly interested in. Also, I'm sure your LAN administrator would be happy not to see 100+ column by x number row reports being regularly shipped across the network.
    Also, 100+ column reports suggests tables with 100+ columns which are probably not designed in a very relationally compliant way. I find that good DB design usually results in applications that have to make less compromises, such as hacking export files in order to fool the API into making ridiculous, unsupported and unsupportable compromises.
    Just a thought..................
    Regards
    Andre

  • IPad 1 on iOS 5.1.1 I want the volume control in my iPad to more linear than logarithmic.

    So I have this iPad 1, and I just recently noticed that the volume control is very quiet throughout most of the range of the volume control and it suddenly gets very loud near the top end of the slider, is there any way to make this change a little more distributed over the entire slider action

    Hi Steve,
    I guess I'm confused.  Are you trying to sync with match? or is match off?
    If you are trying to sync with match on then go to settings>music> and make sure that the show all music toggle is turned on.
    If you are trying to sync with match off and are trying to put files onto your phone without usiing match then uncheck the music tab under your phones information on your computer and then let it sync and take everything off.  Then recheck the music box under the music tab and go to your summary page and make sure that the box that says sync only checked music is selected and resync.  Sometimes you have to take everything off before you can get it to resync and put stuff back on.
    Again, if you talking about what you see with match turned ON, on your ios device then make sure that the toggle for show all music is turned on.
    You cannot sync with your computer and itunes match at the same time.  You have to do one or the other.
    Please let me know if I misunderstood your question or did not answer it properly.

  • If Apple incorrectly showed more bars than it should have... wouldn't most

    phone makers do the same, to make their phone look better?
    I lost two bar after upgrading, but I do seem to have similar service. No dropped calls.

    I wouldnt say that they are throwing at&t under the bus.. It will just keep at&t honest about where the weak spots are. I would say that they are showing a "truer" signal than was previously shown. Granted my personal opinion like in my previous post.. my best dBm level i've ever seen on my BlackBerry was -70dBm which was full 5 bars. but according to apples new software that 70dBm is within the "5 bar" limit. altho its much closer to the 4 bar section. So realistically should the blackberry have shown 4 instead of 5? Im curious to see if any former blackberry users like myself are able to mention if they have ever had lower than a -70dBm reading on their berry and how their new signal on the iPhone 4 matches up. I usually display the same level signal (with 4.0.1) as i did with my bold 9000. There are some locations that i will show 3 bars where it used to be 5 - but its a very reliable 3 (even had data rates in the 4000kbps down/2400kbps up) in the 3 bar range. So i'm very pleased.

  • Sqlldr Loading more rows than expected

    We are trying to load a child table that has the referential integrity constraint with its parent and some triggers on it that is used to change the case of data. We are using the bcp to create a text file that is having the 5 records. The text file generated from BCP is a kind of CSV (~ is used for ,) file. When we are trying to load the reords using sqlldr it is loading 10 records in the database. It happens when 2 last rows are violating the integrity constraint thus the first 3 records are being duplicated and violated records are also loaded. Strange thing is that the same record that was loaded is being pushed in the bad file also. When we disable the trigger everything works fine. To get your help following is the snap of trigger and ctl files along with sample data:
    CREATE OR REPLACE TRIGGER "CMD".RWC_SPCL_HANDLING_INSTRCTNS
    before insert or update on RWC_SPCL_HANDLING_INSTRCTNS
    REFERENCES NEW AS NEW
    for each row
    BEGIN
    :new.ORG_ROADMARK:=upper(:new.ORG_ROADMARK);
    :new.RWC_CD:=upper(:new.RWC_CD);
    :new.SPCL_HANDLING_CD:=upper(:new.SPCL_HANDLING_CD);
    EXCEPTION
    WHEN OTHERS THEN RETURN;
    END;
    ---------CTL FILE-------------
    load data
    infile 'data\rwc_spcl_handling_instrctns.txt'
    into table rwc_spcl_handling_instrctns truncate
    fields terminated by '~'
    trailing nullcols
    (ORG_ROADMARK ,
    RWC_CD ,
    SPCL_HANDLING_CD,
    RWC_SPCL_HNDLNG_INSTRCTN_ID "rwc_sqn.nextval"
    -SAMPLE DATA--------
    GSWR~CARCHTADO1~SLC
    GSWR~CARCHTBUO1~SLC
    GSWR~CARCHTCOO1~SLC
    GSWR~CARSTRCANO~SHL
    GSWR~CARSTRCANO~SLC
    Thanks,
    Ashok

    Why not include the UPPER in the control file
    load data
    infile 'data\rwc_spcl_handling_instrctns.txt'
    into table rwc_spcl_handling_instrctns truncate
    fields terminated by '~'
    trailing nullcols
    (ORG_ROADMARK "UPPER(:ORG_ROADMARK)" ,
    RWC_CD "UPPER(:RWC_CD)" ,
    SPCL_HANDLING_CD "UPPER(:SPCL_HANDLING_CD)" ,
    RWC_SPCL_HNDLNG_INSTRCTN_ID "rwc_sqn.nextval"

  • ALV: multiselect selects more rows than expected

    If I have table with many pages of data and do following actions:
    1) leave lead select in first page as it is
    2) go to next page - with ctrl select 2nd row
    3) go to next page - with ctrl select 1st row
    4) go back to previous page - 2nd row selected as expected
    5) go to next (3rd) page - 1st and 2nd row is selected (expected only 1st row to be selected)
    There is no any select event handler which could cause such behavior.
    I have noticed such error on standard table, too.
    What is causing this error?

    Oskars,
    If you are using
    -- one context node for this table,
    -- you have set the context node's Cardinality to o...n,
    -- and the table UI element that's bind to this context node's property SelectionMode is set to be 'auto' or 'multi',
    then I think this is a bug in your version.  I have tried on my system (SAP ECC 6.0, SAP_ABA 700), and I cannot reproduce the behavior you have describe in this thread.   Check the CSN to confirm if this is a bug indeed.
    regards,
    Tina Yang

Maybe you are looking for