@abiasella maybe you can adapt this example. The collection is done in a temporary database so you would not need to provide a dummy table
You might have to provide an empty table at the catch part of you want to collect tables directly.
You could also check the additional links here:
2 Likes