>You can use SYS(3054,11) to check optimization level. My tests show that VFP is "smart" enough to match join condition to the index expression in this case.
Thanks - it seems that this is the exact answer I was looking for.
Hilmar.
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)