General information
Title:
CursorFill state when no results returned from a query
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only