>> if right(dbf(), 3) <> 'DBC')
>
>All of these lines have an extra ). Are you sure you're using the release version of SDT? I can't imagine something like that getting by Doug and I don't run into those errors with it here.
Confirming ... It works fine for me too. You can get a free upgrade to version 5.1b at the Stonefield website at
http://www.stonefield.com/Or you can ask Doug the question directly at his site and typically get a next day response.
Bob