NetTalk Central

Author Topic: Problem with totalling ii browse  (Read 1740 times)

ianburgess

  • Full Member
  • ***
  • Posts: 119
    • View Profile
    • Email
Problem with totalling ii browse
« on: June 14, 2012, 05:59:26 AM »
I am using Nettalk 5.32 and have ticked the box to total (count) a field in the browse. The browse is "Page Loaded" and the counter only displays the total number of records displayed rather than the total number. Since there are many records and the browse displays 15 records, the counter always shows 15.

What can I do to display the total number of matching records in the browse?

Thanks

Ian

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: Problem with totalling ii browse
« Reply #1 on: June 14, 2012, 07:28:43 AM »
Hi Ian,

at the moment the total only shows the total of what is displayed.
So is really only useful in the "file loaded" case.

that's because totaling is really expensive, and would trigger a whole table re-load on every "page" update. You can of course put in a custom function though for the total if you have an effecient way to calc the total.

cheers
Bruce

ianburgess

  • Full Member
  • ***
  • Posts: 119
    • View Profile
    • Email
Re: Problem with totalling ii browse
« Reply #2 on: June 14, 2012, 01:19:27 PM »
OK thanks. I wasn't sure if it was a bug as this is different behaviour to totalling on a standard browse.

Ian