>Hi all, > >Is there a (sql) command that can calculate the number of unique records of a field into a table with just one command in VFP 5? > >Thanks beforehand.
Selectdistinct yourfield from yourtable intoarray test
?alen(test)
?_tally&& same result