Michael,
>
create table AnyTable (Keyval N(5))
>index on keyval tag keyval
>for x = 1 to 100
> insert into AnyTable (keyval) VALUES (x)
>next
>seek 75
>seek "75"
>
>Why doesn't this cause an error on the last line?
As far as I know this is an undocumented feature which has been in the product for at least FPW 2.6 . FoxPro 'sees' that the required index is numeric and converts the string to a numeric value.
Walter,