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
Title:
Some improvement ideas for CCursor class
Miscellaneous
Thread ID:
00645646
Message ID:
00645646
Views:
46
1. I would like to use filters that are set dinamically in cursors, but there is no built-in method in CCursor class that would allow me to set filters at run-time. How is about adding a SetFilter() method?

2. The CCursor.IsEmpty() method would not work with filtered cursors in the way it is now.
I suggest adding the following code just before "IF EOF()" line

IF NOT Set("Filter") == ""
LOCATE
ENDIF

Just an idea :)
Serge Matsevilo, Seattle, WA, USA
Senior Programmer/Analyst,
iServ Systems, Inc.
e-mail: smatsevilo@iservsystems.com
Next
Reply
Map
View

Click here to load this message in the networking platform