Warning: session_start() [function.session-start]: open(C:\WINDOWS\TEMP\\sess_a9c68b6cfe5e4efa2ab30e73c7bd9816, O_RDWR) failed: No space left on device (28) in C:\dBaseWebNews\newsgroups.php on line 23

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\dBaseWebNews\newsgroups.php:23) in C:\dBaseWebNews\newsgroups.php on line 23

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\dBaseWebNews\newsgroups.php:23) in C:\dBaseWebNews\newsgroups.php on line 23
Web-News v.1.6.2
Subject Re: rowset.count()
From Marty <mkay11@earthlink.net>
Date Mon, 9 Sep 2019 18:55:39 -0400
Newsgroups dbase.getting-started

On 09/06/19 10:41 AM, Ken Mayer wrote:
> On 9/6/2019 7:33 AM, Vic wrote:
>> Hi, everybody !
>>
>> I do filter rowset (depending on user's wish) through rowset.canGetRow
>> function. rowset is well updated in grid. Still rowset.count() return
>> the same
>> number of rows. doesn't it respect filtering or my code is wrong ? :
>>
>
> No, it doesn't. The count() method returns the full number or rows in
> the table every time. Try using rowset.rowCount() instead.

Rowset.count() is supposed to honor rowset filters set via the filter
property and the cangetrow event.

I just tested this, and count() works correctly for both class rowset()
and class adorowset().

If you can post a test case or a portion of your code where you are
having a problem we can better assist you.

- Marty -

Martin Kay
dBase, LLC




---
This email has been checked for viruses by AVG.
https://www.avg.com



Warning: Unknown: open(C:\WINDOWS\TEMP\\sess_a9c68b6cfe5e4efa2ab30e73c7bd9816, O_RDWR) failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0