NetTalk Central

Author Topic: NetWebBrowse question, number of rows  (Read 56 times)

jking

  • Full Member
  • ***
  • Posts: 226
    • View Profile
    • Email
NetWebBrowse question, number of rows
« on: May 17, 2019, 10:57:15 AM »
Bruce,

     With a current NT 10 app, I have browses with 10 rows, page loaded.  If there are say 27 records, and the user presses Next, they see records 11-20.  Upon clicking Last, they see records 18 - 27.  I would like Last to display just the last 7 records and not duplicate the display of records 18, 19 and 20.  Some users get confused by this and think there are duplicate records.  I looked at the Browse options tab and see "allow unfilled" and "include blank rows".  In my experimenting these do not seem to help.  Any suggestions?

Thanks,

Jeff
« Last Edit: May 21, 2019, 05:50:57 AM by jking »

rjolda

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • Email
Re: NetWebBrowse question, number of rows
« Reply #1 on: May 23, 2019, 04:35:35 PM »
Hi Jeff,

I feel your pain - end users don't like the surprises - I would suggest that you think about putting a record number as the first field in the line.  This way the end users can see the Id number of the line and can make the mental leap!

On the wild side, the browse box tries to fill all the records - I have not looked at the mechanics and conceptually, if you have a limited number of records, then divide the number of records by 10 and if the result is not a whole number then keep track of which set you are displaying and then when at the last few straggler records, change the number of records in the list box to the number of remaining records.  e.g. 22 records.  you would have 2.2 sets of ten.  If first set, display 10 records, if second set display 10 records but if the 3rd ( partial set) display only 2 records in browse.   Concept is easy, doing the coding to manipulate list box and clicks - probably in javascript - may not be worth the trouble.

FWIW,
Ron Jolda