RddSetDefault("DBFVFP")
USE "TEMP.DBF"
// This table is indexed on SERIES which is an integer. --> INDEX ON SERIES TAG SERIES
SET ORDER TO "SERIES"
SEEK 123 && ---> Throws an Error
SEEK "123" && ---> Does not throw an error, but found() = .F.
LOCATE FOR SERIES = 123 && ---> Ok
I wrote a small test and it seems to work fine here. Can you please post the dbf and index file? There could be something special about it causing the order to fail.