Are you getting any messages? My best guess, is that your referrential integrity is saying "No, you cannot do that". In other words, it isn't allowing you to delete the records. Perhaps because they are parent records, and the delete trigger is set to restrict.
HTH
>Hi.
>How do i zap a table that belongs to a DBC?
>I do this, but doesn´t work.
>
>***********
>mydatabase=datadir+"datos1" && Datadir is the full path to datos1.dbc
>mytable="accounts"
>open data (mydatabase) exclusive
>use (mytable) exclusive
>zap
>close data all
>*****
>
>What am I doing wrong?
Doug Stalter
"According to the proverb, the best things are the most difficult." -Plutarch