PRB: INDEX ON Expression Var Causes Error and Doesn't EvaluateLast reviewed: July 26, 1995Article ID: Q125656 |
The information in this article applies to:
SYMPTOMSAfter using macro substitution or a name expression to change an index filter in an INDEX ON command, you receive this error:
Variable '<variable value>' not found. CAUSEFoxPro evaluates the macro substitution or a name expression as a variable name instead of a literal value. A variable used in an INDEX ON command as an Index Filter cannot be evaluated to its underlying value in the resulting index expression when you use macro substitution or a name expression.
STATUSThis behavior is by design. The variable used in the Index Filter must always be present before using that index. Note that macro substitution or name expression will function as expected to the left of the equal sign of the INDEX ON command.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |