× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yeah, that's an unfortunate by-product of using SFLDROP/SFLFOLD. It doesn't 
break anything if the user happens upon it. If the user presses PageDown 
afterwards another page will get built and if they then PageUp all evidence of 
that anomaly is erased. It would be nice if the function key in those keywords 
was optional.

If it still concerns you then you could maybe specify one of the F13 to F24 
function keys that's incontinently located away from any other function keys in 
your application.
  ----- Original Message ----- 
  From: Weber, Richard 
  To: 'RPG programming on the AS400 / iSeries' 
  Sent: Thursday, August 10, 2006 11:22 AM
  Subject: RE: SFLDROP (Subfile Drop) Question


  Peter,

  I tried this and it works.  Only, I can't disable the function key that is
  assigned to the SFLDROP keyword.  It still creates the bug if the user were
  to find it.

  Rick Weber  |  TOYS 'Я' US International 


  -----Original Message-----
  From: Peter Levy [mailto:plevy@xxxxxxxxxxxx] 
  Sent: Wednesday, August 09, 2006 4:24 PM
  To: RPG programming on the AS400 / iSeries
  Subject: Re: SFLDROP (Subfile Drop) Question

  I get that too when using the function key named on the SFLDROP/SFLFOLD DDS
  keywords. It's a "feature" of the operating system because it isn't
  returning to your program. I get around by not using that function key.
  Instead I code a different one for compress/uncompress that returns to the
  RPG program where I can change the subfile mode and properly calculate the
  page to display along with the subfile line on which the cursor should
  appear on.
    ----- Original Message ----- 
    From: Weber, Richard 
    To: rpg400-l@xxxxxxxxxxxx 
    Sent: Wednesday, August 09, 2006 3:32 PM
    Subject: SFLDROP (Subfile Drop) Question


    I have a program with a subfile that displays 12 records at a time.  Each
    time I page down, I add 12 more records.  I use the SFLDROP keyword to let
    the user view a second line of data when an f-key is pressed.  So far,
    nothing out of the ordinary.

     

    Here's then scenario: Program opens by displaying the subfile collapsed, 1
    line for each record, 12 records.  I press the function key to show the
    subfile expanded.  I now see the first 6 records, 2 lines for each record,
    as expected.  I pagedown once, now I see the next 6 records from the
    collapsed screen, 2 lines each, still as expected.  Here's the funny part:
  I
    hit the function key to collapse the subfile again and I see the last 6
    records, one line each, and 6 blank lines following:  Since I haven't
  paged
    down enough yet to add 12 more records to the subfile.  If I page down
  now,
    12 more records get read, and the second full page of 12 records is
    displayed.  

     

    I'd appreciate your suggestions.

     

    Richard L. Weber  |  Senior Systems Analyst, TOYS 'Я' US International  |
    973.617.3497  |  weberr@xxxxxxxxxxx <mailto:weberr@xxxxxxxxxxx> 

     

                         There are only 10 kinds of people in the world:
  Those
    that understand binary and those that do not.

     


    ======================================================================== 
    This email message is for the sole use of the intended recipient (s) and
  may
    contain confidential and privileged information. Any unauthorized review,
    use, disclosure or distribution is prohibited. If you are not the intended
    recipient, please contact the sender by reply email and destroy all copies
    of the original message. To reply to our email administrator directly,
  send
    an email to EmailAdmin@xxxxxxxxxxxx 
    Toys "R" Us, Inc.
    -- 
    This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
    To post a message email: RPG400-L@xxxxxxxxxxxx
    To subscribe, unsubscribe, or change list options,
    visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
    or email: RPG400-L-request@xxxxxxxxxxxx
    Before posting, please take a moment to review the archives
    at http://archive.midrange.com/rpg400-l.

  -- 
  This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
  To post a message email: RPG400-L@xxxxxxxxxxxx
  To subscribe, unsubscribe, or change list options,
  visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
  or email: RPG400-L-request@xxxxxxxxxxxx
  Before posting, please take a moment to review the archives
  at http://archive.midrange.com/rpg400-l.


  ======================================================================== 
  This email message is for the sole use of the intended recipient (s) and may
  contain confidential and privileged information. Any unauthorized review,
  use, disclosure or distribution is prohibited. If you are not the intended
  recipient, please contact the sender by reply email and destroy all copies
  of the original message. To reply to our email administrator directly, send
  an email to EmailAdmin@xxxxxxxxxxxx 
  Toys "R" Us, Inc.

  -- 
  This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
  To post a message email: RPG400-L@xxxxxxxxxxxx
  To subscribe, unsubscribe, or change list options,
  visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
  or email: RPG400-L-request@xxxxxxxxxxxx
  Before posting, please take a moment to review the archives
  at http://archive.midrange.com/rpg400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.