Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some improvement ideas for CCursor class
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00645646
Message ID:
00657939
Views:
33
>Serge,
>
>OK...let's say for argument sake that I implement it this way:
>

Kevin,

This is perfect!

I have also found that IsEmpty() method needs to be modified to support filtered cursors. I am using the code below (for now) just before IF EOF() statement:

*------------------------------------------------
*-- If a filter is used and the record pointer is inside of
*-- filtered records, then we need to move from that record
*------------------------------------------------
IF NOT Set("Filter") == ""
LOCATE
ENDIF

IF EOF()
*--- If at EOF and RECNO() = 1, the cursor must be empty
Serge Matsevilo, Seattle, WA, USA
Senior Programmer/Analyst,
iServ Systems, Inc.
e-mail: smatsevilo@iservsystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform