Hi,
What dou you want to delete?
1. all duplicates based on prempl key
2. all records with taxid="SUTATX"
3. all duplicates based on prempl key with taxid="SUTATX"
< snip >
>>
>The table has two indexes, prempl and taxid. I want to delete the second taxid=SUTATX for each prempl. I am just learning FoxPro, so forgive my ignorance. When I run this code, I get some error and I don't know how to figure out what the error is.
>Am I way off with this code?
--sb--