>The destination of the select should be a DBF.
>
>Regards
With Boris' code you get all data into separate cursors at once. However, the names of the cursors will not reflect the names of your tables.
Check Help on SQLEXEC command.
If it's not broken, fix it until it is.
My Blog