>IF INDEXSEEK(value,.T., 'mytable','order') > *-- do something >ELSE > *-- do something else >ENDIF >>
? SEEK(value, 'mytable', 'order') && prints .f. ? INDEXSEEK(value,.T., 'mytable','order') && prints .t. ? SEEK(value, 'mytable', 'order') && prints .t. - second time it worksWhat's weird is that if I do the indexseek first then the seek function works also
? INDEXSEEK(value,.T., 'mytable','order') && prints .t. ? SEEK(value, 'mytable', 'order') && prints .t.