Hi Cavin,
Not sure, that I understand, what are you looking for, but if you want to check the whole file record by record, use scan ... endscan, e.g.
local lnAge
if not used('MyTable')
use MyTable in 0
endif
select myTable
scan
if age<>lnAge
flag=.f.
endif
endscan
>Dear all :
> i have a .dbf file. I need a write a program to check the file. i want to compare a variable by itself, how can i do it.
> Example : A = age
>
>flag =.t.
>if A < > A
> flag =.f.
>endif
>do while .t.
>
>This method is right ?
>Thank You !!!
If it's not broken, fix it until it is.
My Blog