Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorFill state when no results returned from a query
Message
From
27/05/2003 11:30:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
CursorFill state when no results returned from a query
Miscellaneous
Thread ID:
00793134
Message ID:
00793134
Views:
59
What is the expected cursor state when a query via a cursoradapter does not return results (for the case where it shouldn't because there aren't any matching records)? ...and what is the recommended way to check for this condition?

It appears that "most of the time" there a temporary cursor is not created and recCount() will be "0". I have a case, however, where even though reccount() returns 0, there is an empty cursor with EOF = .t. Since I don't want this cursor left laying around, do I need to add a check for its existence and close it?

Thanks,
Pat
Next
Reply
Map
View

Click here to load this message in the networking platform