General information
Category:
Coding, syntax & commands
>In one deleted method I count and then go to the record selected and DELETE, but it doesn’t deleted anything. So I got rid of the COUNT and went back to RECCOUNT and all was fine again.
COUNT moves the record pointer to EOF because it looks at every record. So, either store and restore the record pointer before and after the COUNT, or use and SQL SELECT instead, checking the RECCOUNT of the result, or the better yet the _tally system variable.
Previous
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