_tally = 0
select field from alias where field = value into cursor junk
if _tally > 1
duplicate
endif
if your alias is buffered, uncommitted data then this will fail. select always makes hits on the underlying table. so if data is added to buffered table and no tableupdate is done on new records then this will fail.
if your source is an array, then use the ascan function to scan the array.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.