Hey Athanasius, thank you, I was expecting such a problem. I tried to disable the connect and the disconnect in the sub before I looked for help here but that didnt do the job. I should be able to write to the db from withinn the while loop. I know I did this before...
Could you give a hint please?
Kind regards,
Ton