>Naomi
>
>About your code
>
>I used the code to append from .DBFs of former folder
>and it worked fine
>
>But in another folder which has less tables, a message appears after
>processing some tables:
>
>"Subscript is outside defined range"
>
>Do you think that's because the folder has less .dbf files,
>and have to do with the number of tables inside the array ?
I think there was a bug in my code. Make sure you always use
laTables[m.lnI,
1] in all the references. I think I missed the second parameter somewhere.
use (laNewTables[m.lnI]) exclusive in 0 alias NewData should be re-written to:
use (laNewTables[m.lnI,1]) exclusive in 0 alias NewData
If it's not broken, fix it until it is.
My Blog