> ...I really don't know how to make an index act like a filter.
In VFP, right?
INDEX ON MyField TAG MyTag
FOR MyField = "S"or:
INDEX ON MyField TO TempIndexFile
FOR MyField = "S"The bold part specifies that only records that match the condition will be included in the index.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)