>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement