>ótima ideia !
>
>vou mesclar a sua ideia com a do Hilmar !
>
>muito obrigado
Acho que verificar se termina com ".TMP" é mais simples do que verificar o directorio. Para uma tavela DBF, o arquivo tem a extensão .DBF.
Também pode ussar justext(dbf()).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)