Adrian Klaver wrote:
> <Snip>
>
> Are you sure the problem is not in "$datefield" = "*" . That the script that
> formats the data file is not correctly adding "*" to the right file. Seems
> almost like sometimes the second CMD is being run against the table that the
> first CMD should be run on. In other words it is not doing a complete
> delete , but a date based one, and you then import duplicate records.
>
>
Thanks for your reply. The file containing the tables list is static -
it doesn't change from one run to the next (unless I edit it personally).
Herouth