|
Jay, Use a "Page-at-a-time" style subfile. Each time the user presses page-up or page-down, you bump your "cursor begin position" value and reload the subfile from your array(g_CurBegin). Since you only load a single page, your display loads quickly... This method also allows you to include search or locate functions, top and bottom shortcuts, and so forth... It's certain that loading all 15000 records would be not be very user-friendly. Giving the users features to let them filter and/or locate-to the data they want is the best approach, imo... hth, Eric -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Jay Vaughn Sent: Monday, November 20, 2006 1:17 PM To: rpg400-l@xxxxxxxxxxxx Subject: sflrcdnbr issue Ok, I am currently loading entries from an array defined with 15000 entities into my subfile. I allow the user a cmdkey to go straight to the bottom for totals using the sflrcdnbr keyword... HOWEVER, the sflrcdnbr keyword will only allow a variable defined 4s0 or less, not 5s0... What am I to do??? Thanks, Jay Vaughn iSeries Senior Programmer/Analyst RateWatch jayv@xxxxxxxxxxxxxx 251-633-8929
As an Amazon Associate we earn from qualifying purchases.
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.