General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2000 Server
>>Not quite a bug, but a peculiarity of foxpro:
>>if you set the index to seq_no, it first tries to find an index with the _name_ seq_no. If that does not exist it will evaluate seq_no. It will then try to set the index to the result of that expression, in this case the result seems to be 1, so it sets the index to 1
>>if seq_no evaluates to "k_memo" the index will be set to k_memo (if it exists)
>>So, if you use an index name, you better use order "seq_no", if you want is as an expression use (seq_no)
>
>I still think it's a bug. If I want VFP to evaliate the name I would use a name expression.
It's called: backwards compatibility.
Even in fox 2.x it works this way, if they change it a LOT of code will stop working.
Previous
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