>>MSDN help says this:
>>
>>FOR lExpression
>>
>>Specifies a condition whereby only records that satisfy the filter expression lExpression are available for display and access; index keys are created in the index file for just those records matching the filter expression.
>>
>>Rushmore optimizes an INDEX ... FOR lExpression command if lExpression is an optimizable expression. For best performance, use an optimizable expression in the FOR clause.
>
>Jess, that means that when constructing the index, the construction of the index will use Rushmore optimization to select the set of records for inclusion in the index. It does not mean that Rushmore will utilize the index when optimizing queries and other operations.
That's exactly what I wanted to express. It is the INDEX Expression that can be optimized but not to reference it as a way of optimizing SCANS, CALC SUM etc.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."