SEEK command on Integer type index tag
Posted: Fri Aug 14, 2020 5:41 pm
I searched this forum regarding this issue but it looks like no one has this issue reported yet.
Code: Select all
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