>The bug appears is that vfp sql optimizer takes eof() function as constant
>expression and thus refuces to run UPDATE command.
>If EOF() is initially .T., update command runs and updates correct records.
I don't think this is a bug. A WHERE clause creates a filter condition (which is like a constant expression) that will become a yardstick that will be used to determine what records should be included in the result set or acted upon. In this case RCursor was at EOF, and seeing that VFP didn't have to go any further to determine that 0 records would meet the filter condition.
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